如何用matlab求解下面的一元非线性方程?
方程如下:(1899392341*sin(a))/600745-(55375870*cos(a))/120149-47944874479/240298其中a在0到pi/2...
方程如下:
(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298
其中a在0到pi/2之间。
我用solve,结果显示无解析解。用fsolve,初始值设定为0,也不行
结果如下:No solution found.
fsolve stopped because the problem appears regular as measured by the gradient,
but the vector of function values is not near zero as measured by the
default value of the function tolerance.
<stopping criteria details>
ans =
1.7155
方程为:(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298=0 展开
(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298
其中a在0到pi/2之间。
我用solve,结果显示无解析解。用fsolve,初始值设定为0,也不行
结果如下:No solution found.
fsolve stopped because the problem appears regular as measured by the gradient,
but the vector of function values is not near zero as measured by the
default value of the function tolerance.
<stopping criteria details>
ans =
1.7155
方程为:(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298=0 展开
1个回答
展开全部
ezplot('(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298',[0 pi/2])
%你自己看这个图,在0到pi/世雀2之间全铅返尘部都小于0,怎么会有实解
A=solve('(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298=0')%得到2个复数解槐禅
double(A)
%你自己看这个图,在0到pi/世雀2之间全铅返尘部都小于0,怎么会有实解
A=solve('(1899392341*sin(a))/600745 - (55375870*cos(a))/120149 - 47944874479/240298=0')%得到2个复数解槐禅
double(A)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询