how do i approximate pi using queation of arctan(1)=4*arctan(1/5)-arctan(1/239) ?
1 次查看(过去 30 天)
显示 更早的评论
here is my thought:
step 1: use build in function taylor to expand arctan(x) to 10th truncation order.
step 2: create a function using the expansion outcome from step 1, and then plug into 1/5 and 1/239? I have not idea about it. Help!
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!