Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.4K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Defining a function (Derivative) as a variable

Posted 11 years ago
2 Replies

If you are only interested in doing the calculation, without being worried if the differential symbols can or cannot be used, one possible way to circumvent this is by using rules. This may not be what you really expect, but it may be a starting point for what you want.

dp1 = \[DifferentialD]Subscript[P, 1]/\[DifferentialD]x -> 3;
dp2 = \[DifferentialD]Subscript[P, 2]/\[DifferentialD]x -> 8;
\[DifferentialD]P/\[DifferentialD]x == \[DifferentialD]Subscript[P, 
    1]/\[DifferentialD]x + \[DifferentialD]Subscript[P, 
    2]/\[DifferentialD]x /. {dp1, dp2}

The code above was supposed to look like:

enter image description here

Thank you sir. It was a great help.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard