#P79. 练14.4 计算多项式的值
练14.4 计算多项式的值
Description
For the polynomial and given values of , , , , and , calculate the value of , rounded to 7 decimal places.
Input Format
Input consists of a single line with 5 real numbers: , and the parameters , , , and . Each number is a double-precision floating-point number with an absolute value not exceeding 100. The numbers are separated by spaces.
Output Format
Output a real number representing the value of , rounded to 7 decimal places.
Sample
2.31 1.2 2 2 333.0838692