Numerical Methods, Mathematics, Engineering, Python, Chemical Engineering.
np.linspace(0, 1, 50) ax.plot(x, problem_1.interpolate(x)[0], color="indigo", alpha=0.5, linestyle=":") ax.plot(problem_1.x, problem_1.y[0], color="indigo", marker=".", label="OC", linestyle=" ") ax.plot(res_scipy1.x, res_scipy1.y[0], color="green", alpha=0.5, linestyle=":", label="scipy")