TheBestLinks.com
TheBestLinks.com
Illustration of the shooting method, GNU Octave, Boundary value problem, Netlib ... Print friendly version | Tell a friend
 
Navigation
Search
Toolbox

Illustration of the shooting method

From TheBestLinks.com

Here is an illustration of the shooting method.

A boundary value problem is given as follows by Stoer and Bulirsch (Section 7.3.1).

<math> w''(t) = \frac{3}{2} w^2, \quad w(0) = 4, \quad w(1) = 1 <math>

The initial value problem

<math> w''(t) = \frac{3}{2} w^2, \quad w(0) = 4, \quad w'(0) = s<math>

was solved for s = -1, -2, -3, ..., -100, and F(s) = w(1;s) - 1 plotted in the first figure. Inspecting the plot of F, we see that there are roots near -8 and -36. Some trajectories of w(t;s) are shown in the second figure.

Solutions of the initial value problem were computed by using the LSODE algorithm, as implemented in the mathematics package GNU Octave.

Stoer and Bulirsch state that there are two solutions, which can be found by algebraic methods. These correspond to the initial conditions w'(0) = -8 and w'(0) = -35.9 (approximately).

Reference: Josef Stoer and Roland Bulirsch, Introduction to Numerical Analysis. New York: Springer-Verlag, 1980.

External link: Brief Description of ODEPACK (http://www.netlib.org/odepack/opks-sum) (at Netlib; contains LSODE)



Image:Shooting_method_error.png The function F(s) = w(1;s) - 1.


Image:Shooting_method_trajectories.png Trajectories w(t;s) for s = w'(0) equal to -7, -8, -10, -36, and -40 (red, green, blue, cyan, and magenta, respectively). The point (1,1) is marked with a red diamond.


Related links


Top visited 0 of 0 links

[no links posted yet]

>> place link >>

Discussion

Last posted 0 of 0 messages

[no messages posted yet]

>> post message >>

Watch

You can add this article to your own "watchlist" and receive e-mail notification about all changes in this page.
 
   
Innovate it
This page was last modified 18:54, 20 Jun 2004.
  Content is available under GNU Free Documentation License 1.2.
Powered by MediaWiki