Group Abstract Group Abstract

Message Boards Message Boards

0
|
301 Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Create a VectorPlot3D using a parametric equation

Posted 3 days ago

Hi;

I am trying to create a VectorPlot3D of a vector field that is not actually given. However, I am given a parametric representation of the path, which I should be able to use to create the vector - see attached notebook.

In any event, I am thinking that someone in the community, that has more knowledge than what I have, can help me understand what I am doing incorrectly.

Thanks,

Mitch Sandlin

Attachments:
POSTED BY: Mitchell Sandlin
2 Replies

You can always resort to graphic primitives:

f[x_, y_, z_] := {x + y, y - z, x^2 + 2 z};
r[t_] := {Sin[t], 0, Cos[t]};
Graphics3D[Table[Arrow[Tube[{r[t], r[t] + f @@ r[t]}]],
  {t, 0, 2 Pi, Pi/10}]]
POSTED BY: Gianluca Gorni

Thanks so much for your response, it was a great help. However, I do not understand where the vector function came from on the 1st line of your solution - {x + y, y - z, x^2 + 2 z}, and the Pi/10 as your last entry.

Thanks again. It is apparent that you have an excellent knowledge of both mathematics and the programming language. I certainly appreciate your help.

Mitch Sandlin

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