Alternative Equation Formats

The equation on this page is available in multiple formats. Depending on your browser, some formats might not render correctly.

MathML

y={12(xi+xi+1)ifj=1iwj=pWxi+1ifj=1iwj<pW<j=1i+1wj

MathML rendered with MathJax

y={12(xi+xi+1)ifj=1iwj=pWxi+1ifj=1iwj<pW<j=1i+1wj

Math as LaTeX Source

\[ y = \begin{cases} \frac{1}{2} \left( x_ i + x_{i+1} \right) & \mbox{if} \displaystyle \sum _{j=1}^ i w_ j = pW \\ x_{i+1} & \mbox{if} \displaystyle \sum _{j=1}^ i w_ j < pW < \displaystyle \sum _{j=1}^{i+1} w_ j \end{cases} \]