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.
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)
- What is a? And b?arrow_forwardMinistry of Higher Education & Scientific Research Babylon University College of Engineering - Al musayab Automobile Department Subject :Engineering Analysis Time: 2 hour Date:27-11-2022 کورس اول تحليلات تعمیر ) 1st month exam / 1st semester (2022-2023)/11/27 Note: Answer all questions,all questions have same degree. Q1/: Find the following for three only. 1- 4s C-1 (+2-3)2 (219) 3.0 (6+1)) (+3+5) (82+28-3),2- ,3- 2-1 4- Q2/:Determine the Laplace transform of the function t sint. Q3/: Find the Laplace transform of 1, 0≤t<2, -2t+1, 2≤t<3, f(t) = 3t, t-1, 3≤t 5, t≥ 5 Q4: Find the Fourier series corresponding to the function 0 -5arrow_forward3. Construct a triangle in the Poincare plane with all sides equal to ln(2). (Hint: Use the fact that, the circle with center (0,a) and radius ln(r), r>1 in the Poincaré plane is equal to the point set { (x,y) : x^2+(y-1/2(r+1/r)a)^2=1/4(r-1/r)^2a^2 }arrow_forwardn. g. = neutral geometry <ABC = angle ABC \leq = less or equal than sqrt{x} = square root of x cLr = the line in the Poincaré plane defined by the equation (x-c)^2+y^2=r^2 1. Find the bisector of the angle <ABC in the Poincaré plane, where A=(0,5), B=(0,3) and C=(2,\sqrt{21})arrow_forward2. Let l=2L\sqrt{5} and P=(1,2) in the Poincaré plane. Find the uniqe line l' through P such that l' is orthogonal to l.arrow_forwardLet A, B and C be three points in neutral geometry, lying on a circle with center D. If D is in the interior of the triangle ABC, then show that m(<ABC) \leq 1/2m(<ADC).arrow_forwardиз Review the deck below and determine its total square footage (add its deck and backsplash square footage together to get the result). Type your answer in the entry box and click Submit. 126 1/2" 5" backsplash A 158" CL 79" B 26" Type your answer here.arrow_forwardIn the graph below triangle I'J'K' is the image of triangle UK after a dilation. 104Y 9 CO 8 7 6 5 I 4 3 2 J -10 -9 -8 -7 -6 -5 -4 -3 -21 1 2 3 4 5 6 7 8 9 10 2 K -3 -4 K' 5 -6 What is the center of dilation? (0.0) (-5. 2) (-8. 11 (9.-3) 6- 10arrow_forwardSelect all that apply. 104 8 6 4 2 U U' -10 -8 -6 4 -2 2 4 6 10 -2 V' W' -4 -6 -8 -10 W V Select 2 correct answerts! The side lengths are equal in measure. The scale factor is 1/5. The figure has been enlarged in size. The center of dilation is (0.0) 8 10 Xarrow_forwardIn the graph below triangle I'J'K' is the image of triangle UK after a dilation. 104Y 9 CO 8 7 6 5 I 4 3 2 J -10 -9 -8 -7 -6 -5 -4 -3 -21 1 2 3 4 5 6 7 8 9 10 2 K -3 -4 K' 5 -6 What is the center of dilation? (0.0) (-5. 2) (-8. 11 (9.-3) 6- 10arrow_forwardQll consider the problem -abu+bou+cu=f., u=0 ondor I prove atu, ul conts. @ if Blu,v) = (b. 14, U) + ((4,0) prove that B244) = ((c- — ob)4;4) ③if c±vbo prove that acuius v. elliptic.arrow_forwardQ3: Define the linear functional J: H₁(2) R by ¡(v) = a(v, v) - L(v) Л Let u be the unique weak solution to a(u,v) = L(v) in H(2) and suppose that a(...) is a symmetric bilinear form on H(2) prove that 1- u is minimizer. 2- u is unique. 3- The minimizer J(u) can be rewritten under 1(u) = u Au-ub, algebraic form 1 2 Where A, b are repictively the stiffence matrix and the load vector Q4: A) Answer 1- show that the solution to -Au = f in A, u = 0 on a satisfies the stability Vullfll and show that ||V(u u)||||||2 - ||vu||2 2- Prove that Where lu-ul Chuz - !ull = a(u, u) = Vu. Vu dx + fu. uds B) Consider the bilinea forta Л a(u, v) = (Au, Av) (Vu, Vv + (Vu, v) + (u,v) Show that a(u, v) continues and V- elliptic on H(2)arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
- 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