3886 - 4.25 计算PI的值
使用下面的数列可以近似计算
:
<img src="http://tk.hustoj.com:80/attached/image/20151015/20151015052537_32013.jpg" alt="" />
编写程序,屏幕输入i时,<span>计算</span><img src="http://sspu.acmclub.comhttp://tk.hustoj.com:80/attached/image/20151015/20151015052451_37540.jpg" alt="" />值。
Input
屏幕输入一个大于1的整数i
Output
利用公式

<p class="MsoNormal" style="text-align:justify;">
计算<img src="http://sspu.acmclub.com/attached/image/20151015/20151015052451_37540.jpg" alt="" />值,并输出结果。
</p>
Examples
Input
10000
Output
3.1416926435905346