How do you use Buffon's Needle and return the probability?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!