请高手解答matlab 问题 5
symsRmkpVxyz;lm=sym('2*pi*m*R^2+pi*R^2*((1-m)^2+k^2)^(1/2)+pi*R^2*(m^2-1)/((1-m)^2+k^...
syms R m k p V x y z;
lm=sym('2*pi*m*R^2+pi*R^2*((1-m)^2+k^2)^(1/2)+pi*R^2*(m^2-1)/((1-m)^2+k^2)^(1/2)+1/3*p*pi*R^3*k*(2*m+1)');
lk=sym('pi*R^2*(1+m)*k/((1-m)^2+k^2)^(1/2)+1/3*p*pi*R^3(1+m+m^2)');
lp=sym('1/3*pi*R^3*h(1+m^2+m)-V');
[x,y,z]=solve(lm,lk,lp,'m','k','p')
出现如下提示:
??? Error using ==> solve
Unable to find closed form solution.
Error in ==> sym.solve at 49
[varargout{1:max(1,nargout)}] = solve(S{:});
这个方程组应该怎么解呢??? 展开
lm=sym('2*pi*m*R^2+pi*R^2*((1-m)^2+k^2)^(1/2)+pi*R^2*(m^2-1)/((1-m)^2+k^2)^(1/2)+1/3*p*pi*R^3*k*(2*m+1)');
lk=sym('pi*R^2*(1+m)*k/((1-m)^2+k^2)^(1/2)+1/3*p*pi*R^3(1+m+m^2)');
lp=sym('1/3*pi*R^3*h(1+m^2+m)-V');
[x,y,z]=solve(lm,lk,lp,'m','k','p')
出现如下提示:
??? Error using ==> solve
Unable to find closed form solution.
Error in ==> sym.solve at 49
[varargout{1:max(1,nargout)}] = solve(S{:});
这个方程组应该怎么解呢??? 展开
2个回答
展开全部
syms R m k p V x y z;
lm=sym('2*pi*m*R^2+pi*R^2*((1-m)^2+k^2)^(1/2)+pi*R^2*(m^2-1)/((1-m)^2+k^2)^(1/2)+1/3*p*pi*R^3*k*(2*m+1)');
lk=sym('pi*R^2*(1+m)*k/((1-m)^2+k^2)^(1/2)+1/3*p*pi*R^3(1+m+m^2)');
lp=sym('1/3*pi*R^3*h(1+m^2+m)-V');
[x,y,z]=solve(lm,lk,lp,'m','k','p')
Warning: Explicit solution could not be found.
> In solve at 81
x =
[ empty sym ]
y =
[]
z =
[]
但是,mathematic给出不同的结果
见图
追问
那这个程序是怎么写的呢?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询