在MATLAB中如何将一个复杂表达式方程用式中其它字符表示一个字符?
方程为:-r*μ*[cos(δ+μ)*cos(40φ)*cosφ*sinλ*ω*cosλ-sin(δ+μ)*sinφ*cosλ*ω*sinλ-r*μ*40ω*cosλ-ω...
方程为:-r*μ*[cos(δ+μ)*cos(40φ)*cosφ*sinλ*ω*cosλ-sin(δ+μ)*sinφ*cosλ*ω*sinλ-r*μ*40ω*cosλ-ω*sinφ*cos(δ+μ)*cos(40φ)*e*cosλ^2-ω*cosφ*sin(δ+μ)*cos(40φ)*e+ω*cosφ*sin(δ+μ)*cos(40φ)*e*cosλ^2-cos(δ+μ)*cosφ*40ω*sinλ-sin(δ+μ)*cosλ^2*cosφ*ω*e+sinλ*ω*cosφ*sin(δ+μ)*sin(40φ)+cos(δ+μ)*cosλ^2*sinφ*ω*e-sinλ*ω*sinφ*cos(δ+μ)*sin(40φ)-r*μ*cos(40φ)*ω-sin(δ+μ)*sinφ*40ω*sinλ-r*μ*cosλ^2*ω-cos(δ+μ)*cosφ*cosλ*ω*sinλ+ω*sinφ*cos(δ+μ)*cos(40φ)*e+sin(δ+μ)*cos(40φ)*sinφ*sinλ*ω*cosλ+r*μ*cos(40φ)*ω*cosλ^2]
=0
如何在MATLAB中求出 u=其他字母表示即 u=……?谢谢 展开
=0
如何在MATLAB中求出 u=其他字母表示即 u=……?谢谢 展开
1个回答
展开全部
此题无显示解的。
程序如下:e如果是自然对数的底,则 e=exp(1);
syms r u d g y w e
solve(-r*u*(cos(d+u)*cos(40*g)*cos(g)*sin(y)*w*cos(y)-sin(d+u)*sin(g)*cos(y)*w*sin(y)-r*u*40*w*cos(y)-w*sin(g)*cos(d+u)*cos(40*g)*e*cos(y)^2-w*cos(g)*sin(d+u)*cos(40*g)*e+w*cos(g)*sin(d+u)*cos(40*g)*e*cos(y)^2-cos(d+u)*cos(g)*40*w*sin(y)-sin(d+u)*cos(y)^2*cos(g)*w*e+sin(y)*w*cos(g)*sin(d+u)*sin(40*g)+cos(d+u)*cos(y)^2*sin(g)*w*e-sin(y)*w*sin(g)*cos(d+u)*sin(40*g)-r*u*cos(40*g)*w-sin(d+u)*sin(g)*40*w*sin(y)-r*u*cos(y)^2*w-cos(d+u)*cos(g)*cos(y)*w*sin(y)+w*sin(g)*cos(d+u)*cos(40*g)*e+sin(d+u)*cos(40*g)*sin(g)*sin(y)*w*cos(y)+r*u*cos(40*g)*w*cos(y)^2)==0,u)
程序如下:e如果是自然对数的底,则 e=exp(1);
syms r u d g y w e
solve(-r*u*(cos(d+u)*cos(40*g)*cos(g)*sin(y)*w*cos(y)-sin(d+u)*sin(g)*cos(y)*w*sin(y)-r*u*40*w*cos(y)-w*sin(g)*cos(d+u)*cos(40*g)*e*cos(y)^2-w*cos(g)*sin(d+u)*cos(40*g)*e+w*cos(g)*sin(d+u)*cos(40*g)*e*cos(y)^2-cos(d+u)*cos(g)*40*w*sin(y)-sin(d+u)*cos(y)^2*cos(g)*w*e+sin(y)*w*cos(g)*sin(d+u)*sin(40*g)+cos(d+u)*cos(y)^2*sin(g)*w*e-sin(y)*w*sin(g)*cos(d+u)*sin(40*g)-r*u*cos(40*g)*w-sin(d+u)*sin(g)*40*w*sin(y)-r*u*cos(y)^2*w-cos(d+u)*cos(g)*cos(y)*w*sin(y)+w*sin(g)*cos(d+u)*cos(40*g)*e+sin(d+u)*cos(40*g)*sin(g)*sin(y)*w*cos(y)+r*u*cos(40*g)*w*cos(y)^2)==0,u)
追问
这样求但是求不出来,结果提示是 u= empty syms
追答
是呀。 此题无显式解的。
检查题目吧!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询