#5904. 练46.1 求π的值
练46.1 求π的值
Description
根据公式:$arctanx(x)=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+...$和。 定义函数 ,求当最后一项小于时的值。
Input Format
无
Output Format
的值。保留到小数点后位。
无
无
根据公式:$arctanx(x)=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+...$和π=6arctanx(31)。 定义函数 arctanx(x),求当最后一项小于10−6时π的值。
无
π 的值。保留到小数点后10位。
无
无
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.