integrateIt: Creates an object of class 'Candidate'

Usage Arguments

Usage

1
integrateIt(Rule, x, y, a, b)

Arguments

Rule

Which rule, either 'Trap' or 'Simp', one would like to use to estimate the integral

x

A vector of values

y

A vector of evaluated values

a

Lower bound of the integral

b

Upper bound of the integral

An object of either class ‘Trapezoid’ or class 'Simpson' that contains

Estimates the integral of a mathematical funciton using either the trapezoidal rule or Simpson's rule

integrateIt("Trap", 1:25, (1:25)^2, 4, 22)

Jacob H. Hample: jacob.hample@wustl.edu


jacobhample/integrateIt_Hample documentation built on May 18, 2019, 9:04 a.m.