solve the differential equation d^2y/dx^2 + 2dy/dx + y = x cosx code example Example: solve the differential equation xdx + y(x-1)dy=0 dx + y(x-1)dy=0