![McDougal Littell Jurgensen Geometry: Student Edition Geometry](https://www.bartleby.com/isbn_cover_images/9780395977279/9780395977279_largeCoverImage.gif)
To modify the program again so that another pair of starting number is used and the first thirty terms are computed. RUN the program and conclude the results.
![Check Mark](/static/check-mark.png)
Explanation of Solution
Given:
The sequence
Calculation:
The first two numbers for the new sequence are 3 and 11.
Hence the modified Fibonacci sequence will be
The following computer program computes the first 25 terms of the modified Fibonacci sequence shown above and finds the ratio of any term to its preceding term.
Let A, B, N, D, E, F, G and C be the variables used in program. Where A and B stand for the first two numbers in the sequence, N stands for the number of terms, D, E, F and G are used to find the ratio up to four decimal places, C stands for the next term in the sequence which is actually the sum of A and B. Consider the program below
Program:
'Print this statement "TERM NO. TERM RATIO" on output screen.
10 PRINT "TERM NO.", "TERM", "RATIO"
'Assign the first two terms to A and B
20 LET A=5
30 LET B=7
40 PRINT “1”, A,”-“
50 FOR N=2 TO 25
60 LET D=B/A
70 LET E=10000
80 LET F=INT (E)
90 LET G=F/10000
100 PRINT N, B, G
110 LET C=B+A
120 LET A=B
130 LET B=C
140 NEXT N
'End of Program
150 END
Sample Output:
TERM NO. TERM RATIO
1 5 -
2 7 1.4
3 12 1.7142
4 19 1.5833
5 31 1.6315
6 50 1.6129
7 81 1.62
8 131 1.6172
9 212 1.6183
10 343 1.6179
11 555 1.618
12 898 1.618
13 1453 1.618
14 2351 1.618
15 3804 1.618
16 6155 1.618
17 9959 1.618
18 16114 1.618
19 26073 1.618
20 42187 1.618
21 68260 1.618
22 110447 1.618
23 178707 1.618
24 289154 1.618
25 467861 1.618
26 757015 1.618
27 1224876 1.618
28 1981891 1.618
29 3206767 1.618
30 5188658 1.618
Output Explanation:
Print the heading line for the table
TERM NO. TERM RATIO
Print the first term in the Fibonacci sequence
1 5 -
Print the remaining terms starting from term number 2 to term number 30
2 7 1.4
3 12 1.7142
4 19 1.5833
5 31 1.6315
6 50 1.6129
7 81 1.62
8 131 1.6172
9 212 1.6183
10 343 1.6179
11 555 1.618
12 898 1.618
13 1453 1.618
14 2351 1.618
15 3804 1.618
16 6155 1.618
17 9959 1.618
18 16114 1.618
19 26073 1.618
20 42187 1.618
21 68260 1.618
22 110447 1.618
23 178707 1.618
24 289154 1.618
25 467861 1.618
26 757015 1.618
27 1224876 1.618
28 1981891 1.618
29 3206767 1.618
30 5188658 1.618
As the terms become larger, the ratio converges to the value 1.618
Chapter 7 Solutions
McDougal Littell Jurgensen Geometry: Student Edition Geometry
Additional Math Textbook Solutions
A Problem Solving Approach To Mathematics For Elementary School Teachers (13th Edition)
Algebra and Trigonometry (6th Edition)
Thinking Mathematically (6th Edition)
Elementary Statistics: Picturing the World (7th Edition)
Elementary Statistics (13th Edition)
- In the figure below, m₁ || m² and ms ms. 42° m₁ A m3 m4 to What is the value of x? 'ms •m₂ ○ A. 42 ○ B. 48 ○ C. 138 ○ D. 158arrow_forwardIn the figure below, m₁ || m² and ms ms. 42° m₁ A m3 m4 to What is the value of x? 'ms •m₂ ○ A. 42 ○ B. 48 ○ C. 138 ○ D. 158arrow_forwardanswer the question in image.arrow_forward
- Question 2 Calculate the Moment about the point A in Nx m B 500 N A 2 m 300 N 10 E 1.2 m 0.5 m D 0.8 m 200 N Carrow_forwardQuestion 3 Calculate the Moment about the point B in Nxm A 300 N 2 m 500 N 4 B с 0.8 m 1.2 marrow_forwardQuestion 5 Calculate the Moment about the point B in Nx m B 500 N A 2 m 1.2 m 0.8 m 300 N 7arrow_forward
- Question 1 Calculate the Moment about the point A in Nx m A 300 N 2 m 500 N 4 B C 0.8 m 1.2 marrow_forwardWhat is the area of this figure? 22 mm 5 mm 3 mm 3 mm 7 mm 4 mm Write your answer using decimals. Use 3.14 for л. Submit square millimetersarrow_forwardThis figure is made up of a rectangle and parallelogram. What is the area of this figure? Enter your answer in the box. Do not round any side lengths.arrow_forward
- Elementary Geometry For College Students, 7eGeometryISBN:9781337614085Author:Alexander, Daniel C.; Koeberlein, Geralyn M.Publisher:Cengage,Elementary Geometry for College StudentsGeometryISBN:9781285195698Author:Daniel C. Alexander, Geralyn M. KoeberleinPublisher:Cengage Learning
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337614085/9781337614085_smallCoverImage.jpg)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781285195698/9781285195698_smallCoverImage.gif)