I'm plotting something trivial; the solution to an underdamped harmonic oscilator:
$$x(t) = A_{0} \cos(\omega t) e^{-t/\tau}$$
In MM speak I say:
xOft[A0_, v_, T_, t_] = A0 Cos[2 Pi v t] Exp[-t/T]
Plotting with:
Plot[xOft[1.4*10^-8, 29616123, 441, t],{t,0,1000}]
produces,
Can anyone explain why MM produces such a strange plot for such a simple function? In the example above I scaled the $y$-axis with $10^{8}$ to check if it was a scaling issue...seemingly not. I want to make sure that this model is stable in MM before I do other things to it.
So I'd like to check:
- If this is just a plot issue, why and how can we get rid of it?
- If it is a real representation of the function, why is MM producing this result?
Thanks
PlotPoints
. $\endgroup$ – Henrik Schumacher Feb 10 '19 at 20:44MaxRecursion
option:MaxRecursion -> 12, PlotPoints -> 100
$\endgroup$ – Bob Hanlon Feb 10 '19 at 22:22