Group Abstract Group Abstract

Message Boards Message Boards

How do I plot purely symbolic functions?

GROUPS:
Hello,
I need to plot the following function:
x(t) = A * (wo*Sin(w*t) - w*Sin(wo*t))

Is there a way to plot the function without substituting values for the constants?
POSTED BY: Chris Cantrell
Answer
7 months ago
How do I plot purely symbolic functions?
POSTED BY: Simon Schmidt
Answer
7 months ago
How do you imagine a purely symbolic plot to look?

Not being able to grasp the concept of a purely symbolic plot, here is a Manipulate that explicitly substitute values:
 x[a_, wo_, w_, t_] := a (wo Sin[w t] - w Sin[wo t])
 
 Manipulate[
  Plot[
   x[a, wo, w, t], {t, 0, 100},
   PlotRange -> {Automatic, {-2, 2}}
   ],
  {{a, 1}, -1, 1},
  {{wo, 1}, -1, 1},
{{w, .1}, -1, 1}]

POSTED BY: Simon Schmidt
Answer
7 months ago
Thanks Simon, I didn't know that it was possible to write a loop like that.  I've seen my textbook's plots of functions who's amplitudes are made up of undefined constants; the textbook then shows a plot who's vertical axis' units are multiples of the undefined amplitude of the function.  So the first tic mark on the plot would read F/mw, the second tic would read 2F/mw, the third tic would read 3F/mw, etc.  The author of the book stated that the plots in the book were made using MathCad, so I'm not assuming Mathematica can do this also.  Thanks for the reply!
POSTED BY: Chris Cantrell
Answer
7 months ago