2041: 【信息学奥赛一本通】二分法求函数的零点

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:26 Solved:22

Description

有函数:f(x)=x5−15x4+85x3−225x2+274x−121

已知f(1.5)>0,f(2.4)<0且方程f(x)=0 在区间[1.5,2.4] 有且只有一个根,请用二分法求出该根。

Input

(无)

Output

该方程在区间[1.5,2.4]中的根。要求四舍五入到小数点后6位。

Sample Input Copy

(无)

Sample Output Copy

(无)