Estimate Pi as described in the following link: http://www.people.virginia.edu/~teh1m/cody/Pi_estimation2.pdf
I do not feel the solution set matches the Challenge definition. The solution appears to use the delta from Pi instead of the defined estimate differential delta.
The correct answers are:
9 3.1415917732 delta=4.16658e-7
6 3.1415266183 delta=3.2042972e-5
12 3.1415926414 delta=5.693e-9
Appears the expected solution can be achieved if use T(n+1)-Tn instead of the problem definition of t(n+1)-tn. The scale factor makes a significant difference.
The error noted above has been corrected.
Elapsed time is -0.005204 seconds.
frame of the matrix
Saving MATLAB session to a file
03 - Matrix Variables 3
Linear system solve
Pi Estimate 1
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office