rk_shooter(numer) Numerical Analysis rk_shooter(numer)
NAME
rk_shooter - Object that performs one cycle of a shooting
method for the boundary value problem.
DESCRIPTION
This object is used in conjunction with a function object
that computes the right side of the system of ordinary
differential equations. For details on shooting method see
Numerical Recipes in C, by W.H.Press, et all, Cambridge
University Press, 1988, p. 602.
SUPERCLASS
rkqc_solver
MESSAGES
shoot! this method performs one cycle of shooting method.
It solves the initial problem three times and
changes initial conditions according to Newton-
Raphson procedure. See pp. 603-605 of the previously referenced book.
EXAMPLE
/* this script requires green data file mohawk4 for golf
green elevation data */
golf_green new: agreen
green_file= mohawk4
prefix= mohawk4
flip = -1
elevations!
normals!
;
rk_shooter new: shooter1
function= bv0
start = 0 end = 30
eps = .01
min_step = .00001
speed_guard = 0.2
data_capacity = 300
data_min_step = .001
guess_step = .01
;
bv_slider new: bv0
surface = agreen
eps = 0.05
delta = (.01, .01)
friction = .16
init_speed = 10
init_angle = 90
init_position = (30,40,2)
final_position = (50,70,3)
;
shooter1 shoot!;
SEE ALSO
golf_green, bv_slider, rkqc_solver
Please send comments and suggestions toconsult@rpi.edu