matlab求方程问题,
问题描述:
matlab求方程问题,
-1=cos(0.5*pi./2)./((x.^0.5)*0.01)+x.^0.5*0.01*cos(0.5*pi./2)这个方程,用
solve('cos(0.5*pi./2)./((x.^0.5)*0.01)+x.^0.5*0.01*cos(0.5*pi./2)+1','x')怎么解不出来呢?
答
solve不能用数组运算,所以指令应该是
>>solve('cos(0.5*pi/2)/((x^0.5)*0.01)+x^0.5*0.01*cos(0.5*pi/2)+1','x')
Warning:Explicit solution could not be found.
ans =
[ empty sym ]
解方程也没有找到解析解
所以是空解
你看看方程给错没