Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Mathematica and expressions' topicStudent Support Forum > General > "Mathematica and expressions"

Next Comment >Help | Reply To Topic
Author Comment/Response
Alix
03/18/12 09:40am

Hey !

I've a question about the comportement of mathematica with expression whitch is a litle weird sometimes.

For exemples, why this code works :

Needs["VectorAnalysis`"]
Take[Grad[5 x^2 y^3 , Cartesian[x, y, z]], 2]
// The result is {10 x y^3, 15 x^2 y^2}

VectorPlot[{10 x y^3, 15 x^2 y^2}, {x, -3, 3}, {y, -3, 3}]

And not this one ?

Needs["VectorAnalysis`"]
VectorPlot[Take[Grad[5 x^2 y^3 , Cartesian[x, y, z]], 2], {x, -3, 3}, {y, -3, 3}]


Thanks for your help,

Alix

URL: ,

Subject (listing for 'Mathematica and expressions')
Author Date Posted
Mathematica and expressions Alix 03/18/12 09:40am
Re: Mathematica and expressions jf 03/18/12 9:00pm
Re: Re: Mathematica and expressions Alix 03/19/12 11:40am
Next Comment >Help | Reply To Topic