#H917. 求π的值
求π的值
题目描述
根据公式:
和
定义函数 ,求当最后一项小于时的值。
输入格式
无。
输出格式
的值。保留到小数点后位。
无
无
根据公式:
arctanx(x)=x−3x3+5x5−7x7+...和π=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.