A. 练46.1 求π的值

    Type: Default 1000ms 256MiB

练46.1 求π的值

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

According to the formula: $arctan(x)=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+...$ and π=6arctan(13)π=6arctan(\frac{1}{\sqrt{3}}).
Define the function arctan(x)arctan(x) and find the value of ππ when the last term is less than 10610^{-6}.

Input Format

None

Output Format

The value of ππ rounded to 10 decimal places.

Sample

None
None

20251025B班作业(4)

Not Claimed
Status
Done
Problem
4
Open Since
2025-10-25 0:00
Deadline
2025-11-2 23:59
Extension
24 hour(s)