Maple function dsolve


  • administrators

    You can use maple to solve differential equations but this gives coefficients like _C1 and _C2. Often you want to rename these to C and D. Here's a simple way of doing this in Maple T.A.

    $m=maple("
    expr := diff(x(t), t, t) = 2*x(t);
    sol:=dsolve(expr, x(t));
    subs({_C1 = C, _C2 = D}, sol)
    ");
    

    This results in