Info

This question is closed. Reopen it to edit or answer.

Write a function madhavapi.m that takes N as input and returns an approximation for pi.

2 views (last 30 days)
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

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!