Skip to main content
1-Visitor
September 30, 2013
Solved

Very simple for loop question - worksheet attached!

  • September 30, 2013
  • 1 reply
  • 1618 views

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!!!!

Best answer by Werner_E

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

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

1 reply

25-Diamond I
September 30, 2013

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!.

1-Visitor
September 30, 2013

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_E25-Diamond IAnswer
25-Diamond I
September 30, 2013

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

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