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
- :
- making a graph for a projectile trajectori

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

07-07-2015
04:50 AM

07-07-2015
04:50 AM

making a graph for a projectile trajectori

Hi there.

i am trying to graph a projectiles trajectori with air ressistance.

I have been trying to program a while loop, which for a small increment in time will figure out the X and Y coordinates of the projectile.

I think i have done that part correctly, but keep in mind i am a rookie in mathcad.

My biggest problem is thus after the loop has come to an end, how do I store the data points and graph them?

i have attached my mathcad document, any hints,points or solutions would be much appreciated.

2 REPLIES 2

Highlighted
##

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

07-07-2015
10:56 AM

07-07-2015
10:56 AM

Re: making a graph for a projectile trajectori

I've changed your program so that it builds an array of your calculation as it goes.

Recognize that there are lots better ways to do this in Mathcad; you can create functions and use units.

Search this web site, there have been a lot of submissions on trajectories.

Highlighted
##

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

07-07-2015
11:20 AM

07-07-2015
11:20 AM

Re: making a graph for a projectile trajectori

Simon Pedersen wrote:

Hi there.

i am trying to graph a projectiles trajectori with air ressistance.

I have been trying to program a while loop, which for a small increment in time will figure out the X and Y coordinates of the projectile.

I think i have done that part correctly, but keep in mind i am a rookie in mathcad.

My biggest problem is thus after the loop has come to an end, how do I store the data points and graph them?

i have attached my mathcad document, any hints,points or solutions would be much appreciated.

Here's another way, calculating the individual vectors within the program. It's a lot messier than Fred' way, but is purely a method demo. It's also (as shown) often useful to include a simpler model to test the structure of a program.

Stuart