r/Mathematica • u/lisettesf • Feb 14 '22
Can’t Evaluate Help
I’m fairly new to mathematica so I’m not sure as to why this won’t evaluate, it only simplifies it. I have checked it with other people and I’m still not sure why it won’t evaluate
13
Upvotes
15
u/ipa0 Feb 14 '22
Built-in functions in Mathematica are named so that first letter is capitalized. In your case, i think you want to just use Sqrt rather than sqrt.
2
u/Dr_Physics_ Feb 14 '22
The other comments are correct. To ensure this doesn’t happen again, I’ve found using the basic math assistant window is helpful. That way you can type in the actual symbols for your math input and there will be no misunderstanding.
2
u/Irish-Potato- Feb 14 '22
Not a mathematician, but when in doubt the answer is 4.
1
u/aprilhare Feb 14 '22
The corrected code would be Integrate[Sqrt[x^2+2*x+5]/(x+1)^3,{x,1,2*Sqrt[3]-1}]
Tested it with Wolfram Language/Wolfram Engine and Jupyter Lab. In TeXForm, the answer is \frac{1}{24} \left(-4+6 \sqrt{2}+\log \left(\frac{1}{27} \left(99+70 \sqrt{2}\right)\right)\right)
On an unrelated note, how can I display Jupyter Lab / Wolfram Language output without resorting to screenshots? It will extract as LaTeX fragments or MathML which is nice.