Home / Expert Answers / Computer Science / in-matlab-the-following-method-of-computing-pi-is-due-to-archimedes-1-let-a-1-and-pa991

(Solved): IN MATLAB The following method of computing \( \pi \) is due to Archimedes: 1. Let \( A=1 \) and \( ...



IN MATLABThe following method of computing \( \pi \) is due to Archimedes:
1. Let \( A=1 \) and \( N=6 \)
2. Repeat 10 times, say:
Rep

The following method of computing \( \pi \) is due to Archimedes: 1. Let \( A=1 \) and \( N=6 \) 2. Repeat 10 times, say: Replace \( N \) by \( 2 N \) Replace \( A \) by \( \left.\left[2-\sqrt{(} 4-A^{2}\right)\right]^{1 / 2} \) Let \( L=N A / 2 \) Let \( U=L / \sqrt{1-A^{2} / 2} \) Let \( P=(U+L) / 2( \) estimate of \( \pi) \) Let \( E=(U-L) / 2 \) (estimate of error) Print \( N, P, E \)


We have an Answer from Expert

View Expert Answer

Expert Answer


Given The following method of computing?is du
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe