今天是:2025年9月16日 星期二
  • >
  • >

        试用计算软件完成下列各题:
        (2) 已知方程

在区间内有一实根,求其近似值(精确到)。

重复实验

        实验代码

f(x):=3^(-x)+x*sin(2*x);
wxplot2d(f(x),[x,-2,6]);

 

find_root(f(x),x,2,4);

 

find_root(f(x),x,0,2);

 

find_root(f(x),x,4,6);

 

fpprintprec:4$
x:makelist(2+0.1*k, k, 0, 20),numer;
f(x),numer;

 

fpprintprec:4$
x:makelist(3.1+0.01*k, k, 0, 10),numer;
f(x),numer;

 

fpprintprec:4$
x:makelist(3.13+0.001*k, k, 0, 10),numer;
f(x),numer;
        执行结果

点评:0