# Math Help - Bernstein polynomial of a function

1. ## Bernstein polynomial of a function

Let be $f: \: [o,\pi]\rightarrow\mathbb R$ $x\rightarrow \sin x$
Calculate the Bernstein polynomial of degree n and degree 2 of the f function.

Any help would be appreciated!

2. Use $\sin x=\frac{e^{ix}-e^{-ix}}{2i}$ and binomial theorem.

3. Originally Posted by girdav;QUOTE629051
Use $\sin x=\frac{e^{ix}-e^{-ix}}{2i}$ and binomial theorem.
Correcting girdav's LaTex.