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...


MATLAB can solve differential equations using the dsolve command.<br>dsolve Symbolic solution of ordinary differential equations.<br>Example:<br>syms y(x)<br>Dy (x) = diff(y)<br>D2y (x) = diff(y,2)<br>yGS1 = dsolve (D2y+2*Dy+y==0)<br>yGs2 = dsolve(D2y+2*Dy+y==0, y(8)==1, y(8) ==2)<br>Problems: Solve the following differential equations, using the initial conditions when applicable<br>1. yı

Extracted 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;

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here