ode1.EulerScheme: Euler scheme for first order ODEs

Description Usage Arguments Details Value

View source: R/ode1EulerScheme.R

Description

One dimensional first order ODE solver.

Usage

1
ode1.EulerScheme(dynamics, y0, t0 = 0, tn = 1, n = 1000)

Arguments

dynamics

the function of t and y in the explicit ODE y'=f(t,y)

y0

the initial value

t0

the initial value input

tn

the terminal value input

n

the number of sub-intervals to use, defaults to 1000

Details

f must be a function of time and the state variable y

Value

data.frame of the time grid and solution grid


shill1729/odeSolveR documentation built on March 31, 2021, 10:52 a.m.