preview

The Golden Ratio And Fibonacci

Satisfactory Essays

INTRODUCTION
In this report I will discuss the Golden Ratio and the Fibonacci sequence .I will provide work done on the exercises and give data and information from the exercises. This report will be based on 3 exercises given to me :
(1) Get Golden Ratio with derived Formula.
(2) Get Golden Ratio using successive approximation technique.
(3) Get Golden Ratio from Fibonacci series.
[1]The Golden Ratio according to Hom.E(2013) “is a special number found by dividing a line into two parts so that the longer part divided by the smaller part is also equal to the whole length divided by the longer part.”
[1]“This special number has a unique symbol of phi which is a Greek letter.”
[1]“The value of this number is 1.618.The golden ratio is often displayed or …show more content…

The program had to compute y=x^2-x-1 for x = -2 to x=+2
Assumptions made were that a u shaped graph would appear due to the type of equation given.
Exercise 3
The problem to be solved in this exercise is to get the Fibonacci sequence in the right order to get the first 50 values.
The relationship given in order for us to get the sequence was :
“fn=fn-1+fn-2”
“f0=0 and f1=1”
The program had to generate the first 50 values for the sequence.
Input/Output data (Exercise 1)
The data type necessary for this exercise is Float as we will expect decimal places and not whole numbers.
The Output data for this =“Phi”.
For this exercise there was no input data needed as we were given all the values.
There was a data range of a number between 1-2.
Exercise 2
The data type used for this exercise was double float
The Output = y .Due to the range of -2 to 2 the value of y will have 5 different values.
There was a range of -2 to 2 when substituting x.
Exercise 3
The data type used was integer
The Output = Fn. The Input = F2=F1+F0,n=1.

Table 1 (Exercise 1)
Variable Data Type Value Range Description X Float 1 – 2 This is “Phi”
Table 2 (Exercise

Get Access