#890. 二分法求函数的零点

二分法求函数的零点

No submission language available for this problem.

Background

Special for beginners, ^_^

Description

有函数:f(x)=x515x4+85x3225x2+274x121f(x)=x^5-15x^4+85x^3-225x^2+274x-121

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

Format

Input

Output

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

Samples

Limitation

1s, 1024KiB for each test case.