import numpy as np import scipy import sympy import matplotlib.pyplot as plt