And now for something completely different ....
The first two Fibonacci numbers are
F0=1,
F1=1,
and the higher Fibonacci numbers are found using the
recursion relation
FN = FN-1 + FN-2,
where N=2,3,4,.... So F2=F1 +
F0=1+1=2 and F3=F2 +
F1=2+1=3, etc.
Use a formula in Excel to generate the first twenty-five
Fibonacci numbers. Make a plot of FN
versus N and fit it to an exponential.
Now look at the syntax of the IF function
IF(A1<0.5,1,0)
The IF function has three arguments, the first is
a condition, something that may be true or false,
the second argument is the value the function takes
on if the condition is true, the third argument is
the value the function takes on if the condition is
false.