The value of 1t can be estimated from the expression: 2/ = 2/2 . 2 + 2/2

Question:

The value of 1t can be estimated from the expression:
2/π = √2/2 . √2 + √2/2 . √2/ + √2 + √2/2, …..
Write a MATLAB program in a script file that determine 1t for any number of terms. The program asks the user to enter the number of terms, and then calculates the corresponding value of 1t. Execute the program with 5, 10, and 40 terms. Compare the result with pi. (Use format long.)
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: