Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Vector Field Plots in 2D for Mathcad 15 and Prime...

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-01-2013
03:50 PM

03-01-2013
03:50 PM

Vector Field Plots in 2D for Mathcad 15 and Prime 2

Motivated by a thread (http://communities.ptc.com/message/198454#198454) about vector fields and their missing in Prime 2, I started to develop a small routine which creates a vector of complex numbers, which can easily be used to plot vector fields in 2D plots. That way you not only have vector fields at your disposal in Prime but as they are 2-dimensional they are quite useful in Mathcad 15, too. Especially plotting the slope field of a first order differential equation along with one or more solutions is much easier now than doing it in a 3D graph.

The sheet was developed with Mathad 15 and then converted to Prime format - formatting was sometimes lost that way.

The worksheet consists of four areas, the first one includes the necessary routines, while the remaining three contain examples: a simple vector field the poster in the thread mentioned above had asked for, a gradient field of a function in two variables (I didn't know that Prime does not support the gradient operator) and the slope field of a first order differential equation along with the graphs of some solutions. I had to completely rewrite that part of the sheet in a very uncomfortable way to get the solutions plotted. The way it was done in MC15 didn't work - don't know why.

I include the version for Mathcad 15 and the edited one for Prime 2 along with a pdf of what the MC15 version looks like.

Comments and improvements welcome.

3.3.2013: Updated MC15 version (and pdf) to allow easier selection of arrow shapes

Labels:

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-01-2013
10:54 PM

03-01-2013
10:54 PM

Re: Vector Field Plots in 2D for Mathcad 15 and Prime 2

Great work! Keep pushing for a better Mathcad Prime 3.0 Walter Lewin in edX MIT 8.02x recently cited Maxwell's drawing of electric field lines and perpendicular equipotential lines.

It would be super if we could constuct such graphs in 3D from static charge distributions. I offer this as a challenge for Prime 3.) developers.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-01-2013
11:06 PM

03-01-2013
11:06 PM

Re: Vector Field Plots in 2D for Mathcad 15 and Prime 2

Absolutely amazing...

Top Tags