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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education