I'm trying to input a second order differential equation to solve into matlab over x = 0 to x =1. I can't figure out how. Here's the equation:
$\displaystyle y'' = 1 + 0.1 \sqrt{1+(y')^2}$
with initial conditions at zero.
|
I'm trying to input a second order differential equation to solve into matlab over x = 0 to x =1. I can't figure out how. Here's the equation: $\displaystyle y'' = 1 + 0.1 \sqrt{1+(y')^2}$ with initial conditions at zero. |
||||
|
|
|
MATLAB doesn't support second order differential equations outright; it's your job to turn your problem into a system of first order differential equations, as mentioned here. To wit, first construct the appropriate
and, using |
|||
|
|