3 Fascinating Ways To Approximate Pi in Python

  Рет қаралды 1,955

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 11
@ionut.666
@ionut.666 Ай бұрын
for the monte carlo simulation you can actually generate x and y between 0 and 1 to be able to use less number of steps
@Oodle-ox2vf
@Oodle-ox2vf Ай бұрын
A nice bit of light entertainment, thank you. I have been a nerd for 72 years, so this is fun. 🙂
@y2ksw1
@y2ksw1 Ай бұрын
If Montecarlo is computed for a completely filled surface and thus an infinity of points, then the surface difference between circle and square multiplied by 4 should be Pi, too. Just reasoning ...
@Roboballs42
@Roboballs42 29 күн бұрын
Yes because you'd have an infinite accuracy on your estimation of pi. But how do we calculate these infinite points?
@murphygreen8484
@murphygreen8484 Ай бұрын
Technically, for the first method, more terms does not necessarily mean closer to pi as the distance from pi goes up and down as the terms plus and minus. Yes, overall a lot of terms will get you closer, but the very next term might actually be further away.
@andiglazkov4915
@andiglazkov4915 Ай бұрын
Thanks ☺️
@JNET_Reloaded
@JNET_Reloaded Ай бұрын
term for that would be quarter circle! @7:25 Mins
@dipeshsamrawat7957
@dipeshsamrawat7957 Ай бұрын
Thank you 😊
@KrishnajithCVinod
@KrishnajithCVinod Ай бұрын
For Monte Carlo no need to consider the whole circle just a quarter and values from 0 to 1 also does the trick
@thiagoporto7879
@thiagoporto7879 Ай бұрын
this was fun
@philtoa334
@philtoa334 Ай бұрын
Thx_.
Build Your Own News Hub in Python - RSS Feed Aggregator
22:25
NeuralNine
Рет қаралды 4 М.
10 weird algorithms
9:06
Fireship
Рет қаралды 1,2 МЛН
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 11 МЛН
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 49 МЛН
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 3,4 МЛН
Scientists Just Discovered A New Formula For Pi Accidentally
9:46
MindYourDecisions
Рет қаралды 508 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 1,1 МЛН
Bresenham's Line Algorithm - Demystified Step by Step
16:10
NoBS Code
Рет қаралды 35 М.
Real Estate Data Visualization Using Map in Python
15:10
NeuralNine
Рет қаралды 6 М.
New Recipe for Pi - Numberphile
14:29
Numberphile
Рет қаралды 401 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 520 М.
One second to compute the largest Fibonacci number I can
25:55
Sheafification of G
Рет қаралды 287 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 150 М.
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 11 МЛН