Montecarlo experiment
Hello to everyone i am trying to solve Montecarlo experiment. i just started learn how to use this program. i am trying to figure out how can I write how many points lie inside of the unit circle out of 10. I know if the point lies on the quadrant due to Pythagoras theorem but I do not know how to write how many points lie on the quadrant out of 10. If i sum them I will get only their sum but not actually the number of them.Can someone give me a hint
Is there any part of the book which explain how to do it
Thank you
|