Clear Filters
Clear Filters

How do you use Buffon's Needle and return the probability?

3 views (last 30 days)
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?

Answers (1)

KSSV
KSSV on 29 Nov 2017

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!