bernstein
Bernstein polynomial approximating a function
Calling Sequence
Parameters
Description
Examples
bernstein(n, f, x)
n
-
integer
f
function (specified as a procedure or operator)
x
algebraic expression
This procedure returns the nth degree Bernstein polynomial in x approximating the function f(x) on the interval . Note that f must be a function of one variable specified as a procedure or operator.
Bernstein polynomials arise in the Stone-Weierstrass approximation theorem of analysis that says any continuous function (R->R) can be uniformly approximated on a closed interval by a sequence of polynomials. The Bernstein polynomials are one such set for doing this.
Given Bernstein is defined to be
f := proc(t) if t < 1/2 then 4*t^2 else 2 - 4*t^2 end if end proc:
See Also
binomial
polynomials
Download Help Document