Looping in mathcad
Looping in mathcad
(OP)
Hi,
I am relatevly new in mathcad maybe my question is a very basic one.
I am performing calculations on the array of numbers. The result of the calculations will be array as well. Some of calculations include integration and mathcad does not like me using array variables in the formula under integral. Programming in VB I would simply write a "for" loop like:
for i = 1
S[i] = function(x[i])
next i
I could not figure out how to accomplish it using "for" loop in programming options of mathcad.
thank you very much for your help!
I am relatevly new in mathcad maybe my question is a very basic one.
I am performing calculations on the array of numbers. The result of the calculations will be array as well. Some of calculations include integration and mathcad does not like me using array variables in the formula under integral. Programming in VB I would simply write a "for" loop like:
for i = 1
S[i] = function(x[i])
next i
I could not figure out how to accomplish it using "for" loop in programming options of mathcad.
thank you very much for your help!
RE: Looping in mathcad
http://collab.mathsoft.com/~Mathcad2000
Also, you might look for examples in the Mathsoft library:
http://www.mathcad.com/resources/mathcad_files/
TTFN