您好,欢迎访问三七文档
当前位置:首页 > 医学/心理学 > 药学 > Matlab在力学中的应用
clearallfplot('0.05*cos(8*pi*t+pi/3)',[0,1]);t=[0,1];x=[0,0];line(t,x);(65),,,,,Matlab(,678000):Matlab,,,,Matlab:Matlab;;:O3:A:1008-6587(2008)02-045-02Matlab,,,Matlab1.,,,,,:x=Acos(t+!)xt?,,,,,Matlab,fplot():fplot(function,limits),function,limits,limits=[xmin,xmax],x:x[xmin,xmax],limits=[xmin,xmax,ymin,ymax],xy:x[xmin,xmax]y[ymin,ymax]1:x=0.05cos(8t+/3),Matlab:::1fplot()t01x=0.05cos(8t+/3),2.comet,,20083Mar.,2008272JournalofBaoshanTeachersCollegeVol.27No.2MatlabinmechanicsapplicationBaoZhenDuShan(BaoshanTeacherCollege,Boashan,Yunnan,678000)Abstract:TheMatlabcomputationandthecartographyfunctioncanbeusedtosimplifysomedifficultmathematicsinferentialreasoninginthephysicalteachingofabstractphysicalprocess.Thisarticleintro-ducesseveralwaysofsimpleapplicationsofMatlabinmechanicsteachingKeyword:Matlab;order;transferform:2008-01-02:19clearallA1=4;A2=2;w1=2*pi;w2=4*pi;o1=pi/4;o2=pi/6;t=-30:0.005:30;n=length(t);x=A1*sin(w1*t+o1);y=A2*sin(w2*t+o2);comet(x,y,0.1)4627,:comet(y)//ycomet(xy)//xycomet(axeshandle,)//p*length(y),0.1comet(),2,x=4sin(2!t+!4);x=2sin(4!t+!6)Matlab.:::,comet(x,y,0.1),x=A1*sin(w1*t+o1),y=A2*sin(w2*t+o2),A1=4,A2=2,o1=pi/4,o2=pi/6,tt=-30:0.005:303.,,Matlab,dsolve,:dsolve('dequa1','dequa2','condi1','condi2''var1','var2')'dequa','condi',,'var',,,,,:F=-GMmr2u=1r:mu2h2(d2ud2+u)=-F(u)d2ud2+u=GMh2:u=Acos+GMh2r=h2/GM(Ah2/GM)cos+1P=h2/GM,e=Ah2/GMr=P1+ecos,,,Matlab,:d2ud2+u=GMh2t,dsovle(),:u=dsovle('D2u=G*M/(h^2)-u','t'):u=G*M/(h^2)+C1*sin(t)+C2*cos(t),:u=Acos+GMh2,Matlab,,,,,,:[1],,.Matlab[M].:,2004,4.[2].Matlab[M].:,2005,7.[3],,.[M].:,2000,1.[4],,.MATLAB7.0[M].:,2005,7.
本文标题:Matlab在力学中的应用
链接地址:https://www.777doc.com/doc-4658518 .html