1562: 方程f(x)的根
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:10
Solved:10
Description
求方程f(x)=2x+3x-4x=0在[1,2]内的根。
提示:2x可以表示成exp(x*ln(2))的形式。
Input
[1,2]的区间值
Output
方程f(x)=0的根,x的值精确到小数点10位。
Sample Input Copy
1 2
Sample Output Copy
1.5071105957