Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Presents strategies for solving boundary value problems in ODEs and PDEs: shooting, finite difference, collocation, and eigenvalue methods.
96% 100%+4 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 22 of 23 without it.
I'm working on a second-order nonlinear differential equation y'' + sin(y) = 0 over the domain x from 0 to 1, with boundary conditions y(0) = 0 and y(1) = 0.5. Could you set up and run a numerical boundary-value solver to find the solution curve across this interval and evaluate y at x = 0.5?
uses solve_bvp to compute the solution for the boundary value problem
3 of 3 safety checks passed
Use this skill when working on boundary-value-problems problems in odes pdes.
Problem Classification
Shooting Method
scipy.integrate.solve_ivp + root findingFinite Difference Method
sympy_compute.py linsolve "tridiagonal_matrix" "boundary_vector"Collocation/BVP Solver
scipy.integrate.solve_bvp(ode, bc, x, y_init)Eigenvalue Problems
sympy_compute.py eigenvalues "sturm_liouville_matrix"Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.