Question: Using MATLAB There are many formulae for computing ? (the ratio of a circles circumference to its diameter). The simplest is pi/4 = 1 -
Using MATLAB
There are many formulae for computing ? (the ratio of a circles circumference to its diameter). The simplest is
pi/4 = 1 - 1/3 + 1/5 - 1/7 + 1/9 - ....
Write a program to compute ? using the Equation. Use as many terms in the series as your computer will reasonably allow (start modestly, with 100 terms, say, and
rerun your program with more and more each time). You should find that the series converges very slowlyit takes a lot of terms to get fairly close to ?.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
