Aproximating pi by randomly filling a square with pts; the pts which lie inside of a radius equal to half the width or height, divided by the total number of pts times four will aproximate pi...
No comments:
Post a Comment