CodingTrain / CodingTrain/Suggestion-Box

Pi by "throwing darts" at a Gaussian rather than a circle

Open
#1,255 1 comment 0 reactions 0 assignees View on GitHub
Pi Day
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Since the area of a Gaussian is sqrt(pi) _(or sqrt(pi)/2 if from 0 to infinity)_ you can redo the standard "dart" challenge but instead of checking if they are within a circle, you check for random (x,y) that y

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.