Bernsteinpolynomials
Bernstein polynomials are a set of functions used in approximation theory and computer-aided design. They form a basis for the vector space of polynomials. For a given non-negative integer n, the Bernstein basis polynomials of degree n are defined as B_{i,n}(x) = \binom{n}{i} x^i (1-x)^{n-i} for i = 0, 1, ..., n. Here, \binom{n}{i} represents the binomial coefficient.
Any polynomial of degree up to n can be expressed as a unique linear combination of these
A key application of Bernstein polynomials is in the definition of Bézier curves. A Bézier curve of
Bernstein polynomials possess several useful properties. They are non-negative on the interval [0, 1]. Their sum