Approximation of Pi (Leibniz formula)

버전 1.0.0 (1.41 KB) 작성자: Dr. Kelsey Joy
Convergence with while loops; Sigma (sum) without symsum formula
다운로드 수: 101
업데이트 날짜: 2021/11/27

라이선스 보기

This code is explained in the following YouTube Video:
pi approximation video: https://youtu.be/O_3AokCoh6k
In this video I cover how to code while loops in MATLAB and running totals (recursion) for the purpose of creating a solution with convergence. The develop a code to find the approximation of pi within a user-defined tolerance (input) based on the Leibniz formula for pi.
For more of my YouTube Videos, check out my MATLAB tutorial playlist: https://youtube.com/playlist?list=PLmB_c16LoAcWz_5qK1XpBlP0DiD6cgU-r
Also subscribe to my channel (Engineering with Dr. Kelsey Joy): https://www.youtube.com/channel/UCmZl7PfanvCILyiQ5R9rONA

인용 양식

Dr. Kelsey Joy (2025). Approximation of Pi (Leibniz formula) (https://kr.mathworks.com/matlabcentral/fileexchange/102659-approximation-of-pi-leibniz-formula), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0