Script 1 syms x(t) 2 DX = 3 D2X = 4 % Set condb1 for 1st condition 5 condb1 = 6 % 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 = LCCDE Direct Method 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 +8x+3x= cos3t+41² dt2 dt Total Response: TRes Natural Response: NRes Force Response: FRes

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 3.9CP
icon
Related questions
Question

MATLAB CODES ONLY

Script
1 syms x(t)
2
DX =
3 D2X =
4 % Set condb1 for 1st condition
5 condb1 =
6 % 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 =
Transcribed Image Text:Script 1 syms x(t) 2 DX = 3 D2X = 4 % Set condb1 for 1st condition 5 condb1 = 6 % 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 =
LCCDE Direct Method
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
+8x+3x= cos3t+41²
dt2
dt
Total Response: TRes
Natural Response: NRes
Force Response: FRes
Transcribed Image Text:LCCDE Direct Method 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 +8x+3x= cos3t+41² dt2 dt Total Response: TRes Natural Response: NRes Force Response: FRes
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage