10-23-2011, 02:53 AM
|
#25
|
smoke wheat hail satin
![FFR Simfile Author FFR Simfile Author](../images/icons/usergroups/ffr_simfile_author.png)
Join Date: Sep 2006
Location: LA baby
Age: 36
Posts: 5,704
|
Re: THE project euler thread
Thanks OP for giving me something to do with my brain while I'm in between jobs. This is awesome. I'll be programming in MATLAB/Octave. I just did the first two problems as a bit of a warm up and it was a lot of fun.
Problem 1
Problem 2
Had to first write a function to calculate the numbers in the Fibonacci sequence given any input:
I then implemented that function in the script file below to find the solution:
Last edited by foilman8805; 10-23-2011 at 03:14 AM..
|
|
|