Question
Rewrite the second-order differential equation
$$y'' = x + y - y^2, \qquad y(0) = -1, \quad y'(0) = 1$$
as a system of first-order ODEs, letting $y' = v$ with initial conditions $y(0) = -1$ and $v(0) = 1$. Then, using Python, solve the system numerically and graph the solution curve. On the same axes, graph the Taylor polynomials of degree 3, 5, 7, 9 and 11, and comment on the result.