Welcome![Sign In][Sign Up]
Location:
Downloads Other resource
Title: pi Download
 Description: A matlab algorithm for PI matlab. Background: take a square white paper with a length of 1 square meter, and draw a circle with a diameter of 1 meter in the interior of the white paper, as shown in the figure below. The circle is tangent to the four sides of the square, and its area is PI * (1/2) ^ 2 = PI / 4, then, you can take a bundle of sesame, a grain by a grain casually thrown onto the paper. You can ask a friend for help in the wheat field: how many times have you thrown it? How many times is it in the circle? After the experiment, you only have to divide the number of "sesame seeds in the circle" by "the number of times you toss" and the result is the area of the circle. PI is the area of the circle *4 Of course, the more times you throw, the more accurate the results!
 To Search: pi matl pi matlab
File list (Check if you may need any files):

CodeBus www.codebus.net