Question: Write a MATLAB function called [ r , crossings ] = BuffonSquaresRootTwo ( width , length,throws ) where r = the estimate of 2 ;

Write a MATLAB function called
[r,crossings]= BuffonSquaresRootTwo(width,length,throws)
where r = the estimate of
2; crossings = the number of cracks (between floorboards) that cross two consecutive sides of a square.
BuffonSquaresRootTwo is a modified version of BuffonSquaresPi which drops squares to estimate
2 rather than \pi . Use the formula developed
in: Statistical estimation of some irrational numbers using an extension of Buffons needle experiment, S. Velasco, F.L. Roman, A. Gonzalez,
J.A. White, International Journal of Mathematical Education in Science and Technology, vol. 37, no.6, pp.735-740,2006.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!