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?

回答(1 个)

KSSV
KSSV 2017-11-29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by