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={x1if w1>pW12(xi+xi+1)ifj=1iwj=pWxi+1ifj=1iwj<pW<j=1i+1wj

MathML rendered with MathJax

y={x1if w1>pW12(xi+xi+1)ifj=1iwj=pWxi+1ifj=1iwj<pW<j=1i+1wj

Math as LaTeX Source

\[ y = \left\{ \begin{array}{cl} x_1 & \mbox{if} \ w_1 > pW \\ \frac{1}{2} ( x_ i + x_{i+1} ) & \mbox{if} \sum _{j=1}^{i} w_ j = pW \\ x_{i+1} & \mbox{if} \sum _{j=1}^{i} w_ j < pW < \sum _{j=1}^{i+1} w_ j \end{array} \right. \]