How to solve this ODE in SMath?