CodingTrain / CodingTrain/Suggestion-Box

Pi Day -- Calculate pi in 3 ways (that I know of)

Open
#883 2 comments 2 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

Here's one way to do it:

![tex2img_1521029740](https://user-images.githubusercontent.com/21979673/37402806-24c48980-278d-11e8-8c30-9d27167fb25c.jpg)

But here are my favorite ones:

![687474703a2f2f7777772e736369776561766572732e6f72672f646f776e6c6f61642f54657832496d675f313532303934343937312e6a7067](https://user-images.githubusercontent.com/21979673/37349569-0e8b6956-26d7-11e8-8173-3f0445e6782a.jpg)

or:

![687474703a2f2f7777772e736369776561766572732e6f72672f646f776e6c6f61642f54657832496d675f313532303934363639352e6a7067](https://user-images.githubusercontent.com/21979673/37349609-1ee84a4e-26d7-11e8-9f72-8045778e5692.jpg)

where:

![687474703a2f2f7777772e736369776561766572732e6f72672f646f776e6c6f61642f54657832496d675f313532303934363036352e6a7067](https://user-images.githubusercontent.com/21979673/37349632-27991c5e-26d7-11e8-8b2f-0a7ae1db0a21.jpg)

and p(n) gives the nth prime. A prime is a number that cannot be divided by anything other than 1 and itself without a remainder.

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.