#P1553. 方程f(x)的根

方程f(x)的根

Description

求方程f(x)=2<sup>x</sup>+3<sup>x</sup>-4<sup>x</sup>=0在[1&#44;2]内的根。

提示:2<sup>x</sup>可以表示成exp(x*ln(2))的形式。

Input Format

[1,2]的区间值

Output Format

方程f(x)=0的根,x的值精确到小数点10位。

1 2

1.5071105957

Hint


Source

分治 玄级