How do you use Buffon's Needle and return the probability?
1 次查看(过去 30 天)
显示 更早的评论
I understand conceptually that the needle only intersects a line when
x<=(a/2)*sin(theta)
But how do I create a function that calculates the probability of that intersection, given the inputs a,x, and theta?
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!