#T47. 求π的值
求π的值
Description
According to the formula:
$arctan(x) = x - \frac{x^3}{3} + \frac{x^5}{5} - \frac{x^7}{7} + ...$
and
$\pi = 6 \cdot arctan\left(\frac{1}{\sqrt{3}}\right)$,
define the function and compute the value of when the last term is less than .
Input Format
(None)
Output Format
The value of , rounded to 10 decimal places.
(无)
(无)