Package tools.singlevariable
Class TaylorSeries
Object
TaylorSeries
public class TaylorSeries
extends Object
The methods in
TaylorSeries
produce Taylor Series for functions.-
Method Summary
Modifier and Type Method Description static GeneralFunction
makeTaylorSeries(GeneralFunction function, int degree)
Returns a Maclaurin series of the specified function of a given degreestatic GeneralFunction
makeTaylorSeries(GeneralFunction function, int degree, double center)
Returns a Taylor series of the specified function at the specified center of a given degree
-
Method Details
-
makeTaylorSeries
Returns a Maclaurin series of the specified function of a given degree- Parameters:
function
- the function whose Maclaurin series is being founddegree
- the degree of the Maclaurin polynomial- Returns:
- a Maclaurin series of the specified function
-
makeTaylorSeries
public static GeneralFunction makeTaylorSeries(GeneralFunction function, int degree, double center)Returns a Taylor series of the specified function at the specified center of a given degree- Parameters:
function
- the function whose Taylor series is being founddegree
- the degree of the Taylor polynomialcenter
- where the Taylor series is centered- Returns:
- a Taylor series of the specified function
-