Message Boards Message Boards

0
|
9780 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How do I plot purely symbolic functions?

Posted 11 years ago
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
3 Replies
Posted 11 years ago
How do I plot purely symbolic functions?
POSTED BY: Simon Schmidt
Posted 11 years 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
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
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract