11193: 4.25 计算PI的值

Memory Limit:128 MB Time Limit:3.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

使用下面的数列可以近似计算

   编写程序,屏幕输入i时,计算值。

Input

屏幕输入一个大于1的整数i

Output

利用公式

计算值,并输出结果。

Sample Input Copy

10000

Sample Output Copy

3.1416926435905346