如何在matlab中求解tan(x)-x=-17.18741575,这个方程,急,
来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/07/13 22:41:08
如何在matlab中求解tan(x)-x=-17.18741575,这个方程,急,
正确的答案好像是17.几
正确的答案好像是17.几
有无穷个解,可以采用图解法
如果求在某区域内的解,可以用fsolve
fsolve(@(x)tan(x)-x+17.18741575,-5,5)
Warning: Struct field assignment overwrites a value with class "double".
See MATLAB 7.0.4 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning for details.
> In createOptionFeedback at 32
In fsolve at 353
Equation solved.
fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
<stopping criteria details>
ans =
-7.8140
再问: 怎么利用数形结合来做呢
再答: 可以画图后,用 ginput取交点,要精确的话 放大后取点
如果求在某区域内的解,可以用fsolve
fsolve(@(x)tan(x)-x+17.18741575,-5,5)
Warning: Struct field assignment overwrites a value with class "double".
See MATLAB 7.0.4 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning for details.
> In createOptionFeedback at 32
In fsolve at 353
Equation solved.
fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
<stopping criteria details>
ans =
-7.8140
再问: 怎么利用数形结合来做呢
再答: 可以画图后,用 ginput取交点,要精确的话 放大后取点
如何在matlab中求解tan(x)-x=-17.18741575,这个方程,急,
matlab求解方程log(x)=tan(x),
【急】如何在matlab中求解x+arctan(x)-π/2=0?
求教:如何用matlab求解超越方程tanh(x)=tan(x),
matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(
matlab 求解tan(x)*x-1.0
怎么在matlab中求解 x+0.8*sinx-pi=0 这个方程的解?用s=solve()无法求解
如何用matlab解方程x*tan(x)=285.71,
matlab中fzero函数求解方程:cos(x)=x*(e^x)
怎么在matlab中求解方程1+cosx*chx=0(需要方程前十个x值较小的解,ch函数在matlab中是cosh)
用MATLAB求解方程cos(x)*cosh(x)=-1,在1.8附近的精确解.
如何在MATLAB中对二阶方程x ’-0.3x ’+1.4x=0.5u(t)建模仿真,