Learn R Programming

bvpSolve (version 1.0)

bvpSolve-package: Solvers for Boundary Value Problems (BVP) of Ordinary Differential Equations

Description

Functions that solve boundary value problems of a system of stiff ordinary differential equations (ODE) The functions provide an interface to the FORTRAN code twpbvp written by J.R. Cash and M.H. Wright. and also implements a shooting method

Arguments

Details

ll{ Package: bvpSolve Type: Package Version: 1.0 Date: 2009-06-12 License: GNU Public License 2 or above } The system of ODE's is written as an Rfunction, similar as the initial value problems that are solved by integration routines from package deSolve.

References

J.R. Cash and M.H. Wright, (1991) A deferred correction method for nonlinear two-point boundary value problems: implementation and numerical evaluation, SIAM J. Sci. Stat. Comput. 12, 971-989.

See Also

bvptwp, a MIRK method to solve two-point boundary value problems (Cash and Wright, 1991). bvpshoot, a shooting method, using solvers from packages deSolve and rootSolve.

Examples

Run this code
## show examples (see respective help pages for details)
example(bvptwp)
example(bvpshoot)

## open the directory with examples
browseURL(paste(system.file(package = "bvpSolve"), "/examples", sep = ""))

## show package vignette with how to use bvpSolve
## + source code of the vignette
vignette("bvpSolve")
edit(vignette("bvpSolve"))

## show directory with source code of the vignette
browseURL(paste(system.file(package = "bvpSolve"), "/doc", sep = ""))

Run the code above in your browser using DataLab