Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. ( Recursively Defined Seguences). (i) Study the following program for a scientific calcula tor for calcula ting the terms of the sequence (pn) recur

image text in transcribed

2. ( Recursively Defined Seguences). (i) Study the following program for a scientific calcula tor for calcula ting the terms of the sequence (pn) recur sivdy defined by pn=pn1f(pn1)f(pn1)f(pn2)pn1pn2 for all n2, where p0=1andp1=0.8 and where the function f is given by f(x)=xsin(0.35x)0.17 (replace p0 and p1 in the program with the corresponding values given above, and replace f(I) and f(Y) with correct expressions representing the values of the function f given above; 5ay, f(I) should be replaced with Iain(0.35I)=0.17 Prior to studying the above program, it is a good idea to start with creating your own program for calculating the terms pn in a familiar programming language, and/or in Excel (OpenOffice), and then to compare your program with the program for a sci calcula tor. (ii) Execute the program for a sci calcula tor to get the terme p2,p3,,p10 of the sequence ( pn ) (make 5 ure that your calcula tor is in it RADIAN mode). Present the results of your calcalations in a table of the form All terms pk must be rounded to eight decimal places a fter the period. (iii) It can be shown that in fact the sequence (pn), generated by the 50 -called Secant Method for root finding problem 5 , converges to ~ of by executing the command aolrex*ain(0.35x)=0.17in[0.1] at the website (click on the CMore digits button on the output page in order to get all ten digits of ~ if necessar y ). (iv) Find the rela tive err or RE(~p10) in the a pproximation of z by the term p10 you have found in (ii)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Vi Special Issue On Database And Expert Systems Applications Lncs 7600

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2012th Edition

ISBN: 3642341780, 978-3642341786

More Books

Students also viewed these Databases questions