Home /
Expert Answers /
Advanced Math /
nbsp-nbsp-homogeneous-differential-equation-with-constant-coefficients-matlab-can-solve-dif-pa344
(Solved):
Homogeneous Differential Equation with Constant Coefficients MATLAB can solve dif ...
Homogeneous Differential Equation with Constant Coefficients 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. 3?-3y? + 2y? = 0, y?(1) = 1, y,(1) = 4 3. 33" + 8y? + 17y3 = 0 4. y + 8y + 16y? = 0 5. yy-729y? = 0 Monah 18
Script e L 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; OY Fak 7 %Solve the equation y"-3y +2y=0, y_2(1)-1, y_2' (1)-4. 8 9 %Solve the equation y"+8y +17y=0. Save your answer as y3; B Save your answer as y2; 11 %Solve the equation y^{IV} + 8y" + 16y=0. Save your answer as y4; 13 %Solve the equation y^{VI}-729y=0. Save your answer as y1; I