tag:blogger.com,1999:blog-6098017984327938939.post2519929781062433995..comments2024-03-15T22:19:41.521-07:00Comments on Viz Panda: How to get approximate value of pi with PythonVizPandahttp://www.blogger.com/profile/05069820810195454217noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6098017984327938939.post-75001885773389894262017-01-27T12:47:17.857-08:002017-01-27T12:47:17.857-08:00Hi Eva
Interesting question. I have a doubt in t...Hi Eva <br /><br />Interesting question. I have a doubt in the line<br />pi_value = 4*inside_circle/number_of_balls<br /><br />Here are we calculating the fraction of the balls inside the circle (i.e. the probability) and multiplying it by the area of the square? (i.e. 4)<br />Anonymousnoreply@blogger.com