Second Order Differential Equation Python