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.
The pdf file link is broken.
It seems that the formula is an infinite sum of factorial(n)^2/factorial(2*n+1) (starting at zero) multiplied by
9/(2*sqrt(3)), When (current sum - previous sum) < 10^-n then we should stop the infinite sum. One expected output is the number of summands and the other is our estimated value for pi (rounded to 10 decimal places) in this order. Good luck for anyone trying.
Reverse the Words (not letters) of a String
Project Euler: Problem 9, Pythagorean numbers
We love vectorized solutions. Problem 1 : remove the row average.
Is it a number?
Length of a short side
Pi Estimate 1
Linear system solve
Find the treasures in MATLAB Central and discover how the community can help you!
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