Write a function madhavapi.m that takes N as input and returns an approximation for pi.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I am trying to write a function that takes N as an input and returns an approximation for pi by using the following equation that Madhava developed. Please help with step by step equation and/or code and/or explanation.
4 Comments
Azzi Abdelmalek
on 23 Oct 2013
Following equation?
KayLynn
on 23 Oct 2013
KayLynn
on 23 Oct 2013
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!