Numerical Methods, Mathematics, Engineering, Python, Chemical Engineering.
6 # Create problem problem_1 = OrthogonalCollocation(fun_1, bc_1, n_points, 1, x0=0.0, x1=1.0) # Initial estimation y01 = np.zeros([1, n_points + 1]) # Collocation using scipy.optimize.root in backend problem_1.collocate(y01, args=k, method="hybr", tol=1e-6) It is ready now! The collocation points