Numerical Methods, Mathematics, Engineering, Python, Chemical Engineering.
make it more challenging. And the same second step… problem_2 = OrthogonalCollocation(fun_2, bc_2, n_points, 1, x0=0.0, x1=1.0) y02 = np.zeros([2, n_points + 1]) problem_2.collocate(y02, args=(k1, k2), method="hybr", tol=1e-6) And now it looks like this: Collocation for Example 2. (Image by the