Numerical Methods
Maple's dsolve capability allows ordinary differential equations of many types to be solved analytically or numerically; the input format is very similar to the mathematical representation. Maple is capable to find closed form solutions for a single ODE or system of ODEs, including initial value problems and boundary value problems. Special option allows one to compute formal solution for a linear ODE with polynomial coefficients. There are multiple other options that can be used; these include the ability to include initial and/or boundary conditions.
We demonstrate maple's capability to determined solutions of systems of ODEs numerically with several examples.
(a*b)/c+13*d \[ {\frac {ab}{c}}+13\,d \]
sys := (t^2 + 1)*diff(x(t), t) = -t*x(t) + y(t) - signum(t), (t^2 + 1)*diff(y(t), t) = -x(t) - t*y(t) + t*Heaviside(t)
ic := x(0) = 1/2, y(0) = 2
dsolve({ic, sys})
num1 := dsolve({ic, sys}, numeric, output = listprocedure)
x_sol := num1[2]
x_sol := rhs(x_sol)
y_sol := num1[3]
y_sol := rhs(y_sol)
plot(x_sol(t), t = 0 .. 5, thickness = 4, color = "SteelBlue", title = "x(t)")
plot([x_sol(t), y_sol(t), t = 0 .. 15], thickness = 4, color = red)
(a*b)/c+13*d
ur code
another line
- Reference 1
- Reference 2