- Lccde On Responses With Initial Conditions Set To Zero Solve The Natural Response And Total Response Of The Following Pr 1 (37.23 KiB) Viewed 30 times
LCCDE on Responses with initial conditions set to zero Solve the natural response and total response of the following pr
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
LCCDE on Responses with initial conditions set to zero Solve the natural response and total response of the following pr
Solutions > Save C Reset MATLAB Documentation ▶ Run Script ?
LCCDE on Responses with initial conditions set to zero 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. All conditions are Zero. d²x +8dx +3x= cos3t+41² d₁² Total Response: TRes Natural Response: NRes Force Response: FRes Script> 1 syms x(t) 2 DX = 3 D2x = 4 % Set condb1 for 1st condition 5 condb1 = % Set condb2 for 2nd condition 7 condb2 = 8 conds = [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 NRes = 15 TRes= 16 % Set FRes for the Forced Response Equation 17 FRes = My