用matlab求解方程
求解出方程的w,w/(2*3.14)=c/(2*l)*(15.68-wp.^2/(w.^2+irw)),出w之外其余都为已知量i虚数单位...
求解出方程的w, w/(2*3.14)=c/(2*l)*(15.68-wp.^2/(w.^2+irw)),出w之外其余都为已知量i虚数单位
展开
展开全部
>> syms w c p r
>> s=solve('w/(2*3.14)-c/(2*l)*(15.68-w*p^2/(w^2+i*r*w))')
s =
1.0*r*i
-(3.14*10^(-33)*(- 7.84*10^33*c + 159235668789808917197452229299366.0*l*r*i + 7.84*10^33*(c^2 - 0.0051812938876317457959395899267025*c*l*p^2 + 0.040621344079032887040166385025348*c*l*r*i - 0.00041252339869679504744741958015147*l^2*r^2)^(1/2)))/l
(3.14*10^(-33)*(7.84*10^33*c - 159235668789808917197452229299366.0*l*r*i + 7.84*10^33*(c^2 - 0.0051812938876317457959395899267025*c*l*p^2 + 0.040621344079032887040166385025348*c*l*r*i - 0.00041252339869679504744741958015147*l^2*r^2)^(1/2)))/l
>> s=solve('w/(2*3.14)-c/(2*l)*(15.68-w*p^2/(w^2+i*r*w))')
s =
1.0*r*i
-(3.14*10^(-33)*(- 7.84*10^33*c + 159235668789808917197452229299366.0*l*r*i + 7.84*10^33*(c^2 - 0.0051812938876317457959395899267025*c*l*p^2 + 0.040621344079032887040166385025348*c*l*r*i - 0.00041252339869679504744741958015147*l^2*r^2)^(1/2)))/l
(3.14*10^(-33)*(7.84*10^33*c - 159235668789808917197452229299366.0*l*r*i + 7.84*10^33*(c^2 - 0.0051812938876317457959395899267025*c*l*p^2 + 0.040621344079032887040166385025348*c*l*r*i - 0.00041252339869679504744741958015147*l^2*r^2)^(1/2)))/l
追问
clear all;
W = sym('W','real');
Pi=3.1415926;
c=3e8;
l=70*10^(-6);
wp=64.43e12;
r=0.314e12;
s=solve('W/(2*Pi)-c/((2*l*sqrt(15.68-wp^2/(i*r*W+W^2)))','W')
为什么我这么求就算不出来
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |