Question: in programming language C, write a code using madhava series to approximate pi 4.2 The Madhava Series The Madhava series (Mdhava of Sangamagrma, c. 1340

in programming language C, write a code using madhava series to approximate pi
in programming language C, write a code using madhava series to approximate

4.2 The Madhava Series The Madhava series (Mdhava of Sangamagrma, c. 1340 - c. 1425) is also related to tan1x, k=02k+1(3)k=3tan131=12 but it gives us a more rapidly converging series, given by: p(n)=12k=0n2k+1(3)k=12[213n1((1)n(31,1,n+23)+3n+21)]. Which leaves us with the problem of calculating 12. You may be thinking: "Can't I just use the library?" The answer, of course, is no, you will need to compute 12 on your own. Do you need to worry about ? No, you just need to understand that in the limit, the term (called the Lerch transcendent) goes to zero and that the remaining term 23n13n+21=23=12

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!