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
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
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 3.9CP
Related questions
Question
MATLAB CODES ONLY
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage