Calculating Pi by Leibniz's formula|Series Calculation|Coding in Python beginners|Coding Pi Part 2

preview_player
Показать описание
In this Video I showed you , How we can calculate approximate value of Pi using Leibniz's Pi formula , also known as Gregory's Pi series and was first discovered by indian mathematician madhava but was named after Leibniz.

previous video :

00:09 Intro
00:30 Leibniz's Pie Formula
00:56 3b1b's Animation
1:48 Algorithm
4:12 Algorithm in work
5:27 coding part

useful links:
1.Pi hiding in primes by 3b1b
2.Fermat's Christmas theorem: Visualising the hidden circle in pi/4 = 1-1/3+1/5-1/7+...
3.Coding Challenge #140: Pi Approximation with Leibniz Series

Stay Tuned for next video !

#Pi #Leibniz #Maths #Coding #formula

Intro music :
Рекомендации по теме
Комментарии
Автор

At 5:38, There is one small mistake made by me, There should be only S + (-1)**i / (2*i+1) but what I wrote is 1/ (-1)**i / (2*i+1) while writing code and I am sorry for that but we still get same answer right? Why?
Because 1/(-1)^i and (-1)^i have same effect on plus and minus sign. So it's just don't matter whether you write 1/(-1)^i or (-1)^i both will be positive for even values of i and negative for odd values of i.

00:09 Intro
00:30 Leibniz's Pie Formula
00:56 3b1b's Animation
1:48 Algorithm
4:12 Algorithm in work
5:27 coding part

Don't forget to read description !
Thanks for watching ✌️

pathikpathik
Автор

great work! thanks for sharing ! hope you visit my place!

NinjaGameSquad