Question: P#8. write matlab code to find how many terms are needed for the series goro to converge to the value 2, within an error tolerance
P#8. write matlab code to find how many terms are needed for the series goro to converge to the value 2, within an error tolerance of 1x105. The reciprocal of powers of 2 produce a convergent series: This means you need to keep adding terms one-by one, computing the sum, and verifying until(error -T-2l tolerance), where 2 is the true value. If for any reason the error tolerance condition is not complied, and the number of iterations increases beyond 300 terms we need the program to stop. Program reports the last result and the number of terms added P#8. write matlab code to find how many terms are needed for the series goro to converge to the value 2, within an error tolerance of 1x105. The reciprocal of powers of 2 produce a convergent series: This means you need to keep adding terms one-by one, computing the sum, and verifying until(error -T-2l tolerance), where 2 is the true value. If for any reason the error tolerance condition is not complied, and the number of iterations increases beyond 300 terms we need the program to stop. Program reports the last result and the number of terms added
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
