flyingpig
- 2,574
- 1
Homework Statement
I've been trying to plot
Plot[x^2/4 - ln[x]/2, {x, 0, 5}]
And it keeps showing me a blank graph. I did it on Wolframalpha and it worked.
The discussion centers on a common issue encountered in Mathematica when attempting to plot the function Plot[x^2/4 - ln[x]/2, {x, 0, 5}]. Users reported receiving a blank graph due to the incorrect use of the natural logarithm function. The correct syntax for the logarithm in Mathematica is Log[x], not ln[x]. The corrected command Plot[x^2/4 - Log[x]/2, {x, 0, 5}] successfully generates the desired plot.
PREREQUISITESStudents, educators, and researchers using Mathematica for mathematical modeling and visualization who need to troubleshoot plotting issues.