SL.area: SL.area

Description Usage Arguments Value Examples

Description

an example function calculating integrals by Recursive method

Usage

1
SL.area(f, a, b, eps = 1e-06, lim = 10)

Arguments

f

the integrand function

a

the lower limit of integral

b

the upper limit of integral

eps

accurancy

lim

upper bound between partitions

Value

the result of integrals

Examples

1
2
f <- function(x) 1/x
quad<-SL.area(f,1,5); quad

Shulei95/Statcomp18046 documentation built on May 5, 2019, 11:06 p.m.