Can someone please describe how to code infinite products for pi/2?
2 次查看(过去 30 天)
显示 更早的评论
The value of π/2 can be written as the infinite product π/2 =(2/1)(2/3)(4/3)(4/5)(6/5)(6/7)(8/7)(8/9)... If we let a1= 2/1, a2=2/3, a3=4/3, a4=4/5, . . . , determine the number of factors n in the product needed to estimate the value of π/2 that is accurate to 10^-4.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!