34.8: Difference between revisions

From testwiki
Jump to navigation Jump to search
 
 
Line 14: Line 14:
! scope="col" style="position: sticky; top: 0;" | Numeric<br>Mathematica
! scope="col" style="position: sticky; top: 0;" | Numeric<br>Mathematica
|-  
|-  
| [https://dlmf.nist.gov/34.8.E2 34.8.E2] || [[Item:Q9773|<math>\cos@@{\theta} = \frac{j_{1}(j_{1}+1)+j_{2}(j_{2}+1)-j_{3}(j_{3}+1)}{2\sqrt{j_{1}(j_{1}+1)j_{2}(j_{2}+1)}}</math>]]<br><syntaxhighlight lang="tex" style="font-size: 75%;" inline>\cos@@{\theta} = \frac{j_{1}(j_{1}+1)+j_{2}(j_{2}+1)-j_{3}(j_{3}+1)}{2\sqrt{j_{1}(j_{1}+1)j_{2}(j_{2}+1)}}</syntaxhighlight> || <math></math> || <syntaxhighlight lang=mathematica>cos(theta) = (j[1]*(j[1]+ 1)+ j[2]*(j[2]+ 1)- j[3]*(j[3]+ 1))/(2*sqrt(j[1]*(j[1]+ 1)*j[2]*(j[2]+ 1)))</syntaxhighlight> || <syntaxhighlight lang=mathematica>Cos[\[Theta]] == Divide[Subscript[j, 1]*(Subscript[j, 1]+ 1)+ Subscript[j, 2]*(Subscript[j, 2]+ 1)- Subscript[j, 3]*(Subscript[j, 3]+ 1),2*Sqrt[Subscript[j, 1]*(Subscript[j, 1]+ 1)*Subscript[j, 2]*(Subscript[j, 2]+ 1)]]</syntaxhighlight> || Failure || Failure || <div class="toccolours mw-collapsible mw-collapsed">Failed [300 / 300]<div class="mw-collapsible-content"><syntaxhighlight lang=mathematica>Result: .2305430189-.3969495503*I
| [https://dlmf.nist.gov/34.8.E2 34.8.E2] || <math qid="Q9773">\cos@@{\theta} = \frac{j_{1}(j_{1}+1)+j_{2}(j_{2}+1)-j_{3}(j_{3}+1)}{2\sqrt{j_{1}(j_{1}+1)j_{2}(j_{2}+1)}}</math><br><syntaxhighlight lang="tex" style="font-size: 75%;" inline>\cos@@{\theta} = \frac{j_{1}(j_{1}+1)+j_{2}(j_{2}+1)-j_{3}(j_{3}+1)}{2\sqrt{j_{1}(j_{1}+1)j_{2}(j_{2}+1)}}</syntaxhighlight> || <math></math> || <syntaxhighlight lang=mathematica>cos(theta) = (j[1]*(j[1]+ 1)+ j[2]*(j[2]+ 1)- j[3]*(j[3]+ 1))/(2*sqrt(j[1]*(j[1]+ 1)*j[2]*(j[2]+ 1)))</syntaxhighlight> || <syntaxhighlight lang=mathematica>Cos[\[Theta]] == Divide[Subscript[j, 1]*(Subscript[j, 1]+ 1)+ Subscript[j, 2]*(Subscript[j, 2]+ 1)- Subscript[j, 3]*(Subscript[j, 3]+ 1),2*Sqrt[Subscript[j, 1]*(Subscript[j, 1]+ 1)*Subscript[j, 2]*(Subscript[j, 2]+ 1)]]</syntaxhighlight> || Failure || Failure || <div class="toccolours mw-collapsible mw-collapsed">Failed [300 / 300]<div class="mw-collapsible-content"><syntaxhighlight lang=mathematica>Result: .2305430189-.3969495503*I
Test Values: {theta = 1/2*3^(1/2)+1/2*I, j[1] = 1/2*3^(1/2)+1/2*I, j[2] = 1/2*3^(1/2)+1/2*I, j[3] = 1/2*3^(1/2)+1/2*I}</syntaxhighlight><br><syntaxhighlight lang=mathematica>Result: -.4524696831-.2139368486*I
Test Values: {theta = 1/2*3^(1/2)+1/2*I, j[1] = 1/2*3^(1/2)+1/2*I, j[2] = 1/2*3^(1/2)+1/2*I, j[3] = 1/2*3^(1/2)+1/2*I}</syntaxhighlight><br><syntaxhighlight lang=mathematica>Result: -.4524696831-.2139368486*I
Test Values: {theta = 1/2*3^(1/2)+1/2*I, j[1] = 1/2*3^(1/2)+1/2*I, j[2] = 1/2*3^(1/2)+1/2*I, j[3] = -1/2+1/2*I*3^(1/2)}</syntaxhighlight><br>... skip entries to safe data</div></div> || <div class="toccolours mw-collapsible mw-collapsed">Failed [300 / 300]<div class="mw-collapsible-content"><syntaxhighlight lang=mathematica>Result: Complex[0.23054301905722518, -0.39694955022903244]
Test Values: {theta = 1/2*3^(1/2)+1/2*I, j[1] = 1/2*3^(1/2)+1/2*I, j[2] = 1/2*3^(1/2)+1/2*I, j[3] = -1/2+1/2*I*3^(1/2)}</syntaxhighlight><br>... skip entries to safe data</div></div> || <div class="toccolours mw-collapsible mw-collapsed">Failed [300 / 300]<div class="mw-collapsible-content"><syntaxhighlight lang=mathematica>Result: Complex[0.23054301905722518, -0.39694955022903244]

Latest revision as of 13:15, 28 June 2021


DLMF Formula Constraints Maple Mathematica Symbolic
Maple
Symbolic
Mathematica
Numeric
Maple
Numeric
Mathematica
34.8.E2 Failed to parse (LaTeXML (experimental; uses MathML): Invalid response ("") from server "http://latexml:8080/convert/":): {\displaystyle \cos@@{\theta} = \frac{j_{1}(j_{1}+1)+j_{2}(j_{2}+1)-j_{3}(j_{3}+1)}{2\sqrt{j_{1}(j_{1}+1)j_{2}(j_{2}+1)}}}
\cos@@{\theta} = \frac{j_{1}(j_{1}+1)+j_{2}(j_{2}+1)-j_{3}(j_{3}+1)}{2\sqrt{j_{1}(j_{1}+1)j_{2}(j_{2}+1)}}
Failed to parse (LaTeXML (experimental; uses MathML): Invalid response ("") from server "http://latexml:8080/convert/":): {\displaystyle }
cos(theta) = (j[1]*(j[1]+ 1)+ j[2]*(j[2]+ 1)- j[3]*(j[3]+ 1))/(2*sqrt(j[1]*(j[1]+ 1)*j[2]*(j[2]+ 1)))
Cos[\[Theta]] == Divide[Subscript[j, 1]*(Subscript[j, 1]+ 1)+ Subscript[j, 2]*(Subscript[j, 2]+ 1)- Subscript[j, 3]*(Subscript[j, 3]+ 1),2*Sqrt[Subscript[j, 1]*(Subscript[j, 1]+ 1)*Subscript[j, 2]*(Subscript[j, 2]+ 1)]]
Failure Failure
Failed [300 / 300]
Result: .2305430189-.3969495503*I
Test Values: {theta = 1/2*3^(1/2)+1/2*I, j[1] = 1/2*3^(1/2)+1/2*I, j[2] = 1/2*3^(1/2)+1/2*I, j[3] = 1/2*3^(1/2)+1/2*I}

Result: -.4524696831-.2139368486*I
Test Values: {theta = 1/2*3^(1/2)+1/2*I, j[1] = 1/2*3^(1/2)+1/2*I, j[2] = 1/2*3^(1/2)+1/2*I, j[3] = -1/2+1/2*I*3^(1/2)}

... skip entries to safe data
Failed [300 / 300]
Result: Complex[0.23054301905722518, -0.39694955022903244]
Test Values: {Rule[θ, Power[E, Times[Complex[0, Rational[1, 6]], Pi]]], Rule[Subscript[j, 1], Power[E, Times[Complex[0, Rational[1, 6]], Pi]]], Rule[Subscript[j, 2], Power[E, Times[Complex[0, Rational[1, 6]], Pi]]], Rule[Subscript[j, 3], Power[E, Times[Complex[0, Rational[1, 6]], Pi]]]}

Result: Complex[-0.452469682834994, -0.2139368483368131]
Test Values: {Rule[θ, Power[E, Times[Complex[0, Rational[1, 6]], Pi]]], Rule[Subscript[j, 1], Power[E, Times[Complex[0, Rational[1, 6]], Pi]]], Rule[Subscript[j, 2], Power[E, Times[Complex[0, Rational[1, 6]], Pi]]], Rule[Subscript[j, 3], Power[E, Times[Complex[0, Rational[2, 3]], Pi]]]}

... skip entries to safe data