Gold 10

From LaTeX CAS translator demo
Revision as of 13:34, 1 September 2021 by Admin (talk | contribs) (Redirected page to wmf:Privacy policy)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Legendre polynomials

Gold ID
10
Link
https://sigir21.wmflabs.org/wiki/Legendre_polynomials#math.60.57
Formula
1|xx|=1r2+r22rrcosγ==0rr+1P(cosγ)
TeX Source
\frac{1}{\left| \mathbf{x}-\mathbf{x}' \right|} = \frac{1}{\sqrt{r^2+{r'}^2-2r{r'}\cos\gamma}} = \sum_{\ell=0}^\infty \frac{{r'}^\ell}{r^{\ell+1}} P_\ell(\cos \gamma)
Translation Results
Semantic LaTeX Mathematica Translation Maple Translations
Yes No -

Semantic LaTeX

Translation
\frac{1}{|\mathbf{x} - \mathbf{x} '|} = \frac{1}{\sqrt{r^2+{r'}^2-2r{r'}\cos\gamma}} = \sum_{\ell=0}^\infty \frac{{r'}^\ell}{r^{\ell+1}} \LegendrepolyP{\ell}@{\cos \gamma}
Expected (Gold Entry)
\frac{1}{|\mathbf{x} - \mathbf{x} '|} = \frac{1}{\sqrt{r^2+{r'}^2-2r{r'}\cos\gamma}} = \sum_{\ell=0}^\infty \frac{{r'}^\ell}{r^{\ell+1}} \LegendrepolyP{\ell}@{\cos \gamma}


Mathematica

Translation
Expected (Gold Entry)
Divide[1, Abs[x - x\[Prime]]] == Divide[1, Sqrt[r^2+(r\[Prime])^(2)-2*r*r\[Prime] Cos[\[Gamma]]]] == Sum[Divide[(r\[Prime])^(\[ScriptL]), r^(\[ScriptL]+1)]*LegendreP[\[ScriptL], Cos[\[Gamma]]], {\[ScriptL], 0, Infinity}]


Maple

Translation
Expected (Gold Entry)