-->
当前位置:首页 > 题库

PROGRAMMING:Calculation accumulation formula

Luz5年前 (2021-05-10)题库403
Input x, program to calculate $$1 - \ frac {x ^ {2} {3!}+\ frac{x^{4}}{5!}-\ frac{x^{6}}{7!}+...$$ The precision is 0.00000 1
###Input format:
Enter a number.
###Output format:
Output the value corresponding to the formula, and keep 7 decimal places.
###Input example:
Here is a set of inputs. For example:
```in
one point two
```
###Output example:
The corresponding output is given here. For example:
```out
zero point seven seven six six nine nine two
```







answer:If there is no answer, please comment