isconsin edud2tMeloont entST2257rviewContent4370721Niew Home
     isconsin edu/d2tMeloont ent/ST2257rviewContent/4370721Niew Home AnalystalMethods Eng. Tatte of Contents Projects pwoyect2 Project 2 Save your m-file. You wimDe modiyimp file part. l, Modity your prior code and save the new m file afermodiscaliers, thenset tspan to 101 and solve: .24 -14, -los o vih oto-t,ve)- open new werd derument and type your namr at far copy your m file and Matlab figure into it and type year easervatien. a 2 Resonance function dvde order2 (t, y dydt zeros (size Lyn) Given an equation the m 2.13 2, K-25, with initial oonditions yfW-I and yo)-1 Alao tapaa 1.2 t): dydt (1) dydt (2) for undamped case Notice that Modify your prior code (rosce you toconventhe priv ODE isla the fomer ODE with the several times with the valart fire and the of this aoc-5 and use an -03 anduse an appropri el -005 and an tiene open file and Matlab figure  
  
  Solution
This question more related to \'deifferenciation\' in Mathematics of matlab(comp. Q)
Please find the ans.; please let me know if any quesitons related -
function dydt = order2(t,y)
dydt = zeros(size(y));
 a=2.4;
 b=1.44;
 r=10*t*e*(-1.2*t);
 dydt(1)=y(2);
 dydt(2)=r-a*Y(2)-b*y(1);
===============
dydt = order2(t,y)
 dydt=> (a)= 2.4+1.44*r
 => 2.4+1.44*-(a*Y92)-b*y(1)
 =>3.84*-92aY-b*y(1)
 substituting for y(1), dydt(size(y))
 => 3.84*-92aY-b*1
 =>3.84*-92aY-b

