MATLAB can solve differential equations using the dsolve command. dsolve symbolic solution of ordinary differential equations. Example: syms y(x) Dy (x) = diff(y) Dzy (x) - diff(y,2) YGS1 = dsolve(D2y+2*Dy+y==®) yGs2 - dsolve(02y+2*Dy+y==®, y(@)==1, y(@)==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. yz" – 3y, + 2y2 = 0, y2( 1) = 1, y,(1) = 4 3. y"+ 8y, + 17y) = o 4. y + 8y! + 16y4 = 0 5. y – 729ys = 0 Script e A Save CReset MATLAB Documen 1 Xsolve the given Homogeneous Differential Equations with constant Coefficients 2 XInitialize the variables 4 5 Xsolve the equation y"+8y'+16y=0, y(e)=1, y'(@)=e. save your answer as y1; 7 Xsolve the equation y"-3y'+2y=0, y_2(1)=1, y_2'(1)=4. save your answer as y2; 9 X5olve the equation y"+8y'+17y=e. Save your answer as y3; 10 11 Xsolve the equation y^{IV} + 8y" + 16y=e. Save your answer as y4; 12 13 XSolve the equation y^{VI}-729y=e. Save your answer as y1;

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Solve by Matlab

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(8)==1, y(8) ==2)
Problems: Solve the following differential equations, using the initial conditions when applicable
1. yı"+8y, + 16y1 = 0, yı(0) = 1, y,(0) = 0
2. y2" – 3y, + 2y2 = 0, yz(1) = 1, y,(1) = 4
3. ys"+ 8y, + 17y3 = 0
4. y + 8y! + 16y4 = 0
5. y" – 729ys = 0
Script e
A Save
CReset
E MATLAB Documentation
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' (8)=0.
Save your answer as y1;
7 %Solve the equation y"-3y'+2y=0, y_2(1)=1, y_2' (1)=4. Save your answer as y2;
9 %Solve the equation y"+8y'+17y=0. Save your answer as y3;
10
11 %solve the equation y^{IV} + 8y" + 16y=8. Save your answer as y4;
12
13 %Solve the equation y^{VI}-729y=0. Save your answer as y1;
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(8)==1, y(8) ==2) Problems: Solve the following differential equations, using the initial conditions when applicable 1. yı"+8y, + 16y1 = 0, yı(0) = 1, y,(0) = 0 2. y2" – 3y, + 2y2 = 0, yz(1) = 1, y,(1) = 4 3. ys"+ 8y, + 17y3 = 0 4. y + 8y! + 16y4 = 0 5. y" – 729ys = 0 Script e A Save CReset E MATLAB Documentation 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' (8)=0. Save your answer as y1; 7 %Solve the equation y"-3y'+2y=0, y_2(1)=1, y_2' (1)=4. Save your answer as y2; 9 %Solve the equation y"+8y'+17y=0. Save your answer as y3; 10 11 %solve the equation y^{IV} + 8y" + 16y=8. Save your answer as y4; 12 13 %Solve the equation y^{VI}-729y=0. Save your answer as y1;
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY