0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
4325: 方程f(x)的根
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:6
Solved:6
Submit
Submit Record
Statistics
ShowOff!
Description
求方程f(x)=2
x
+3
x
-4
x
=0在[1,2]内的根。
提示:2
x
可以表示成exp(x*ln(2))的形式。
Input
[1,2]的区间值
Output
方程f(x)=0的根,x的值精确到小数点10位。
Sample Input
Copy
1 2
Sample Output
Copy
1.5071105957
Source/Category
信息学奥赛一本通
分治法
Submit
Submit Record
Statistics
ShowOff!