Answer:
Check the explanation
Step-by-step explanation:
from scipy.integrate import solve_ivp
import numpy as np
import matplotlib.pyplot as plt
def ode(x,y):
return (50*x**2-10*y)/3
t=np.arange(0,5.01,.01)
sol = solve_ivp(ode, [0, 5], [0], t_eval = t)
plt.plot(sol.t,sol.y.T)
plt.show()
plt.title('ode')
plt.ylabel('y')
plt.xlabel('x')
plt.grid()