Quantcast
Channel: PTC Community: Message List - Scalar fields: partial derivatives, grad f and |grad f|
Viewing all articles
Browse latest Browse all 10

Re: Scalar fields: partial derivatives, grad f and |grad f|

$
0
0

Rosanella di-Costanzo wrote:

 

Thank you Alan for the corrected worksheet

 

Question: I've noticed that MathC does not return a scalar for | grad f | . Should it not return a scalar value instead of a vectorial value, as I'm not working out | grad f |  in the direction of its unit vector   grad f   / | grad f |   ?

It does return a scalar value.  However, to see this more clearly it's probably best to define ep as a function and then insert specific values when it is called.  For example:

 

Grad.PNG

(Actually, ep need only be defined as a function of x and y.  I've included z above, but it's superfluous).

 

Alan


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>