CodingTrain / CodingTrain/Suggestion-Box
Pi day approximation
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 570
- Fork
- 85
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi Daniel, for Pi day this year, I was thinking you can try approximating pi by randomly generating pairs of natural numbers and checking the proportion that are relatively prime. It should be around 6/PI^2, so by inverting the experimental proportion, multiplying it by six, and taking its square root, you should get an approximation of pi. The inverse of Euler’s prime product works out to 6/PI^2 when s=2, and it’s equivalent to the probability that two randomly chosen natural numbers are both not both multiples of 2, not both multiples of three, not both multiples of five, etc. Mathologer has a great video about this:
https://www.youtube.com/watch?v=LFwSIdLSosI
I’m looking forward to seeing it if you’re interested!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia esaminando il testo dell'issue e il video di Mathologer collegato per comprendere l'approssimazione proposta. L'issue non indica un punto di ingresso, file, test o un deliverable definito; chiarisci il formato e l'ambito previsti prima dell'implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- content
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100