ve Symbolic solution of ordinary di ble: y (x) ) = diff(y)

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

please follow the format of the script given. thank you 

 

 

MATLAB can solve differential equations using the dsolve command.
dsolve Symbolic solution of ordinary differential equations.
Example:
syms y(x)
Dy (x) = diff(y)
D2y(x) = diff(y, 2)
yGS1 = dsolve (D2y+2*Dy+y==0)
yGS2 = dsolve (D2y+2*Dy+y==0, y(0)==1, y(0)==2)
Problems: Solve the following differential equations, using the initial conditions when applicable
1. y₁" + 8y₁ + 16y₁ = 0, y₁ (0) = 1, y₁ (0) = 0
2. y₂" - 3y₂ + 2y₂ = 0, y₂(1) = 1, y₂ (1) = 4
3. Y3" + 8y₂ + 17y3 = 0
4. y + 8y + 16y4 = 0
5. y-729y5 = 0
Transcribed Image Text:MATLAB can solve differential equations using the dsolve command. dsolve Symbolic solution of ordinary differential equations. Example: syms y(x) Dy (x) = diff(y) D2y(x) = diff(y, 2) yGS1 = dsolve (D2y+2*Dy+y==0) yGS2 = dsolve (D2y+2*Dy+y==0, y(0)==1, y(0)==2) Problems: Solve the following differential equations, using the initial conditions when applicable 1. y₁" + 8y₁ + 16y₁ = 0, y₁ (0) = 1, y₁ (0) = 0 2. y₂" - 3y₂ + 2y₂ = 0, y₂(1) = 1, y₂ (1) = 4 3. Y3" + 8y₂ + 17y3 = 0 4. y + 8y + 16y4 = 0 5. y-729y5 = 0
1 %Solve the given Homogeneous Differential Equations with Constant Coefficients
2 %Initialize the Variables
3
4
5 %Solve the equation y"+8y'+16y=0, y(0)=1, y'(0)=0. Save your answer as y1¹;
6
7 %Solve the equation y"-3y'+2y=0, y_2(1)=1, y_2¹ (1)=4. Save your answer as y2;
8
9 %Solve the equation y"+8y'+17y=0. Save your answer as y3;
10
11 %Solve the equation y^{IV} + 8y" + 16y=0. Save your answer as 4;
12
13 %Solve the equation y^{VI}-729y=0. Save your answer as y1¹;
14
15
16
Transcribed Image Text:1 %Solve the given Homogeneous Differential Equations with Constant Coefficients 2 %Initialize the Variables 3 4 5 %Solve the equation y"+8y'+16y=0, y(0)=1, y'(0)=0. Save your answer as y1¹; 6 7 %Solve the equation y"-3y'+2y=0, y_2(1)=1, y_2¹ (1)=4. Save your answer as y2; 8 9 %Solve the equation y"+8y'+17y=0. Save your answer as y3; 10 11 %Solve the equation y^{IV} + 8y" + 16y=0. Save your answer as 4; 12 13 %Solve the equation y^{VI}-729y=0. Save your answer as y1¹; 14 15 16
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
LUP Decomposition
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
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