怎样用MATLAB或lingo解隐函数?方程为2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5,求h为多少时,使得l最大!要实根!2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5=20.晕.忘了.I服了YOU.我
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/15 05:46:55
怎样用MATLAB或lingo解隐函数?方程为2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5,求h为多少时,使得l最大!要实根!2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5=20.晕.忘了.I服了YOU.我
怎样用MATLAB或lingo解隐函数?
方程为2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5,求h为多少时,使得l最大!要实根!
2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5=20.晕.忘了.I服了YOU.我对你的敬仰有如滔滔江水,连绵不绝.
怎样用MATLAB或lingo解隐函数?方程为2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5,求h为多少时,使得l最大!要实根!2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5=20.晕.忘了.I服了YOU.我
【2】补充:方程等于20啊?图形像个石头或凸轮.dh就是h的导数,导数等于0,有极值.结果有2个实根.(运行时间比较长,耐心等待)
f='2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5-20'
ezplot(f,[-20 20 -20 20]),grid
dh=diff(f,'h')
[h,l]=solve(dh,f,'h,l')
运行结果:
f =
2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5-20
dh =
4400/(.25*l^2+42.25+h^2)^1.5-13200.0*h^2/(.25*l^2+42.25+h^2)^2.5+4400/(2.25*l^2+42.25+h^2)^1.5-13200.0*h^2/(2.25*l^2+42.25+h^2)^2.5
h =
-3.7182635208719701493612582525932-23.610104704055473984294705665102*i
-3.7182635208719701493612582525932-23.610104704055473984294705665102*i
-.80975130974849367454606656961407-1.3369722394933204247341279656252*i
-.80975130974849367454606656961407-1.3369722394933204247341279656252*i
-.42862101220171458277041958121547+1.8345273524894709659836686707523*i
-.42862101220171458277041958121547+1.8345273524894709659836686707523*i
13.525599737996416332065262113311+8.4741971412314379599376482451745*i
13.525599737996416332065262113311+8.4741971412314379599376482451745*i
-.42862101220171458277041958121547-1.8345273524894709659836686707523*i
-.42862101220171458277041958121547-1.8345273524894709659836686707523*i
-3.7182635208719701493612582525932+23.610104704055473984294705665102*i
-3.7182635208719701493612582525932+23.610104704055473984294705665102*i
2.1875626049073064344029054951566-.99436388682263877080376715521353e-1*i
2.1875626049073064344029054951566-.99436388682263877080376715521353e-1*i
-.80975130974849367454606656961407+1.3369722394933204247341279656252*i
-.80975130974849367454606656961407+1.3369722394933204247341279656252*i
-6.7994912978082305926011304938649*i
-6.7994912978082305926011304938649*i
13.525599737996416332065262113311-8.4741971412314379599376482451745*i
13.525599737996416332065262113311-8.4741971412314379599376482451745*i
7.4148749589187392433368279090145
7.4148749589187392433368279090145
2.1875626049073064344029054951566+.99436388682263877080376715521353e-1*i
2.1875626049073064344029054951566+.99436388682263877080376715521353e-1*i
l =
-20.099037533848002718053428791828+6.6041797790562149783038637741567*i
20.099037533848002718053428791828-6.6041797790562149783038637741567*i
-.66301318203460733843270378294461-5.2577654857429167209135500370017*i
.66301318203460733843270378294461+5.2577654857429167209135500370017*i
-1.4079552596810162990056563825832-4.8354663802143830431454330070003*i
1.4079552596810162990056563825832+4.8354663802143830431454330070003*i
-10.323153533440574522948456357620+6.8199626551428190480442094348668*i
10.323153533440574522948456357620-6.8199626551428190480442094348668*i
-1.4079552596810162990056563825832+4.8354663802143830431454330070003*i
1.4079552596810162990056563825832-4.8354663802143830431454330070003*i
-20.099037533848002718053428791828-6.6041797790562149783038637741567*i
20.099037533848002718053428791828+6.6041797790562149783038637741567*i
-1.4539635446438740902981778591031+6.3673585946744362904190417021274*i
1.4539635446438740902981778591031-6.3673585946744362904190417021274*i
-.66301318203460733843270378294461+5.2577654857429167209135500370017*i
.66301318203460733843270378294461-5.2577654857429167209135500370017*i
-22.817094572020881851737212885052*i
22.817094572020881851737212885052*i
-10.323153533440574522948456357620-6.8199626551428190480442094348668*i
10.323153533440574522948456357620+6.8199626551428190480442094348668*i
-14.613005732711826605154703268747
【1】方程等于什么啊?
先用这个看看图形(matlab)
ezplot('2*2200*h/(0.25*l^2+42.25+h^2)^1.5+2*2200*h/(2.25*l^2+42.25+h^2)^1.5')