Home : Map : Chapter 4 : Java : Tech : Physics :
Boundary Value Problems
JavaTech
Course Map
Chapter 4

Introduction
Inheritance
  Demo 1
Overriding
  Demo 2a
  Demo 2b
this,super
MoreConstructors
  Demo 3
Abstraction
Interface 
  Demo 4
Casting References
MoreAboutArrays
Object class
Class Summary
Exercises

    Supplements
Override/Overload
Annotation-J2SE5.0
Java Security
Class Loading
Class Verifier
SecurityManager
     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

Thus far we have only discussed initial value problems. In the projectile problems, for example, we fixed the initial position and velocity and integrated over the variables up to a final position and velocity.

But there are many ODE problems in which two or more points are fixed and solutions of the ODE must be found that satisfy these constraints. Such boundary value problems can be solved with two approaches:

  1. Shooting Method
  2. Finite difference method

The finite difference method works only with linear ODEs. A grid of points is defined over the intervals between the initial and final values of the independent variable. Then derivatives are substituted with difference equations between the grid points, resulting in a set of algebraic linear equations. The end points are known from the boundary conditions while the values at the inner points must be solved . The equations can be solved with relaxation methods. (See the references for more about the finite difference methods.)

Here we will focus on the shooting method since it works with either linear or non-linear equations.

 

References & Web Resources

 

            Tech
MoreComplexClass
ImprovedHistogram
JavaRandomNums
Vectors & Matrices
Exercises

           Physics
Runge-Kutta 2nd
  Demo 1
Runge-Kutta 4th
  Demo 2
BoundaryVal.Prob
Shooting Method
  Demo 3
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.