Differentiation

  To do power calculations, we are going to need the velocity and acceleration functions of the destroyer. We can obtain velocity by differentiating position. Although you could probably do this quite easily by yourself, let's see how Maple does it:

EXECUTEvel := diff(position(t), t);

Thus, the diff built-in function takes two arguments, an expression and a variable, and differentiates the expression with respect to the variable. Why do we differentiate position(t) instead of position?

Click here for the answer


Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah