cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Very simple for loop question - worksheet attached!

ptc-4451268
7-Bedrock

Very simple for loop question - worksheet attached!

Hi!

I am still learning programming for mathcad. I have attached my workbook. Here is an image of what I have and what I need:

Capture1.JPG

Any help would be appreciated!!!!

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ptc-4451268)

Find attached a few possibilities to achieve what you are after.

Plots are over time, change t to i if not wanted.

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:ptc-4451268)

Which time would you like to plot v over? i, or is t[i:=i*Delta_t?

If v should denote velocity and Delta_t a time difference, it seems there is something wrong with your iteration formula. You would try add length per time and length^2 per time!.

I think instead of time, I want to just graph each value of v. so v0,v1,v2,v3,v4 etc. not explicitly time.

Werner_E
25-Diamond I
(To:ptc-4451268)

Find attached a few possibilities to achieve what you are after.

Plots are over time, change t to i if not wanted.

I think this is exactly what I want. Thank you very much!!!

Announcements

Top Tags