Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Confused by Maple

  1. Feb 1, 2008 #1

    I was set the problem to differentiate the following streamfunction in order to find its x and y velocities:


    Being the lazy sort I am, I called in Maple.

    dpsi/dx worked out perfectly (in that I got the same answer by hand)

    dpsi/dy, however, threw up the following:


    the last term D(k)... makes no sense to me. How can differentiating introduce a new variable?

    I know I'm probably being a moron, and I'm certainly no expert in using maple, but anyone who can shine a light in my general direction would be muchly appreciated.
  2. jcsd
  3. Feb 1, 2008 #2

    George Jones

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Should be k*(y-v*t). Maple has to be told explicitly about multiplication.

    Maple applied the chain rule. It interpreted the brackets as saying that k is a function evaluated at argument y-v*t.
  4. Feb 4, 2008 #3
    That makes perfect sense. Thank you.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Confused Maple Date
Matlab: It is confusing Jun 19, 2012
[Mathematica] Confusion with Return[] Dec 2, 2010
Confused about for loop Oct 31, 2010
Very confusing problem in Mathematica Oct 28, 2009