Calculation of Pi
iOS Universel / Education
Using the area of the square and the area of the inscribed circle, the method of finding π in the Monte Carlo simulation, the method of using the Length of side of regular polygon inscribed and circumscribed in the circle, the method of Buffon's needle (also Monte Carlo simulation), each is displayed by this application. The data to be displayed is calculated sequentially by the CPU, and in the method using the regular polygon, we calculate it by using the Pythagorean theorem repeatedly. Each calculation method is on the internet. It is interesting that the numerical value converges to π.
If you use it when teaching π in school, it will enhance students' interests of interest.
Quoi de neuf dans la dernière version ?
Corrected the wording in the app. "The radius fo circle is 1" -> "The diameter fo circle is 1".Modified so that models with broken layouts are displayed normally. Rebuilt with the latest Xcode.