Problems Description
<p class="MsoNormal" style="text-indent:18.0pt;"> 求方程f(x)=2<sup>x</sup>+3<sup>x</sup>-4<sup>x</sup>=0在[1,2]内的根。 </p> <p class="MsoNormal"> 提示:2<sup>x</sup>可以表示成exp(x*ln(2))的形式。 </p>
Input格式
[1,2]的区间值
Output格式
方程f(x)=0的根,x的值精确到小数点10位。
Sample
Sample Input 1
1 2
Sample Output 1
1.5071105957
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪