Message Boards Message Boards

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

Differentiating wrt time

Posted 10 years ago

i have to differentiate a*cos(alpha) wrt time. alpha is a function of time whereas a is not. If i use Dt function in-built in Mathemtica, it will automatically give assume a to be also a function of time. How to get around this problem?

POSTED BY: SS Shri
2 Replies

I usually find it easiest to put the dependency on t into the object or not as in

In[1]:= a Cos[alpha[t]]

Out[1]= a Cos[alpha[t]]

In[2]:= D[%, t]

Out[2]= -(a Sin[alpha[t]] alpha'[t])

But you can also just define the derivative of a to be zero with respect to t before you do anything.

Posted 10 years ago

That helps a lot. Thanks.

POSTED BY: SS Shri
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