Skip to content

Based on Joma Tech's favorite interview question

Notifications You must be signed in to change notification settings

LaloCo/calculate-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Given the ability to get random numbers between 0 and 1, can you calculate the value of pi?

Joma Tech's favorite question, awesome explanation in his YT channel.

Very quick maths to demonstrate (to myself) the pithagorean theorem (like I haven't used it millions of times before), and to calculate the ratio used in the code: IMG_0887

Quick demo of the results: screenshot

About

Based on Joma Tech's favorite interview question

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages