- Classical Method With Conditions Solve The Natural Response And Total Response Of The Following Problems Using Classical 1 (36.71 KiB) Viewed 28 times
Classical Method with conditions Solve the natural response and total response of the following problems using classical
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Classical Method with conditions Solve the natural response and total response of the following problems using classical
Solutions > C Reset MATLAB Documentation
Classical Method with conditions Solve the natural response and total response of the following problems using classical methods and the given initial conditions. Using MATLAB Coding. Store your answer in the indicated Variables per problem. d²x+2dx + 2x=5e-2t +1 x(0) = 2; dx (0) = 1 d₁² dt Total Response: TResb Natural Response: NResb Force Response: FResb Script> 1 syms x(t) Dx = diff(x,t); 3 D2x = diff(x,t, 2); 4 % Set condb1 for 1st condition. 5 condb1 = 6 % Set condb2 for 2nd condition 7 condb2 = 8 condsb = [condb1, condb2]; 9 % Set eq1 for the equation on the left hand side of the given equation 10 eq1 = 11 % Set eq2 for the equation on the right hand side of the given equation 12 eq2 = 13 eq = eq1==eq2; 14 NResb = dsolve (eq1,condsb,t); 15 TResb= dsolve (eq,condsb, t) 16 % Set FResa for the Forced Response Equation 17 FResb = Save My