matlab Error using ==> solve is not a valid expression or equation.syms x l r n b kf1=('cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2)/(2*r*(x+sqrt(k.^2-r.^2)))');[a]=solve(f1)Error using ==> solve' cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 22:22:41
matlabErrorusing==>solveisnotavalidexpressionorequation.symsxlrnbkf1=(''cos(pi/2-l/bn)=(r.^2+(x+sqrt(

matlab Error using ==> solve is not a valid expression or equation.syms x l r n b kf1=('cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2)/(2*r*(x+sqrt(k.^2-r.^2)))');[a]=solve(f1)Error using ==> solve' cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2
matlab Error using ==> solve is not a valid expression or equation.
syms x l r n b k
f1=('cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2)/(2*r*(x+sqrt(k.^2-r.^2)))');
[a]=solve(f1)
Error using ==> solve
' cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2)/(2*r*(x+sqrt(k.^2-r.^2))) ' is not a valid expression or equation.

matlab Error using ==> solve is not a valid expression or equation.syms x l r n b kf1=('cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2)/(2*r*(x+sqrt(k.^2-r.^2)))');[a]=solve(f1)Error using ==> solve' cos(pi/2-l/bn)=(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2
童鞋你好,请用如下程序:
syms x l r n b k
f1=cos(pi/2-l/(b*n))-(r.^2+(x+sqrt(k.^2-r.^2)).^2-k.^2)/(2*r*(x+sqrt(k.^2-r.^2)));
[a]=solve(f1==0)
-------------------------------------------------------------------
希望对你有帮助,满意请采纳,有问题请追问, (^_^)谢谢
---【Matlab爱好者】团队真诚为你解答