bvp {cmna}R Documentation

Boundary value problems

Description

solve boundary value problems for ordinary differential equations

Usage

bvpexample(x)

bvpexample10(x)

Arguments

x

proposed initial x-value

Details

The euler method implements the Euler method for solving differential equations. The codemidptivp method solves initial value problems using the second-order Runge-Kutta method. The rungekutta4 method is the fourth-order Runge-Kutta method.

Value

a data frame of x and y values

Examples

bvpexample(-2)
bvpexample(-1)
bvpexample(0)
bvpexample(1)
bvpexample(2)
## (bvp.b <- bisection(bvpexample, 0, 1))
## (bvp.s <- secant(bvpexample, 0))


[Package cmna version 1.0.5 Index]