Boundary Value Problem Calculator (Shooting Method)

Solve y″ = f(x, y, y′) with boundary conditions y(a) = α and y(b) = β by the shooting method, and get y at any…

Results

Enter your details and click Calculate to see your results.
About This Calculator

Guess y′(a), solve the initial value problem, compare y(b) with the target and adjust the guess with the secant method until it hits.

Example

Example: y″ = −y, y(0) = 0, y(π/2) = 1 → y(π/4) = 0.707106807068 (sin π/4).

Assumptions

RK4 with 2,000 steps per shot.

Frequently Asked Questions

Do boundary value problems always have a solution?

No — some have none or infinitely many (e.g. y″ = −y with y(0) = 0, y(π) = 1).

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile