Skip to main content
1-Visitor
April 14, 2011
Solved

Looping on a variable number of functions

  • April 14, 2011
  • 1 reply
  • 2292 views

I'm writing a program that needs to perform operations on a variable number of equations which will be named g1(X), g2(X),....,gm(X) . I tried to use a for loop to cycle through the functions, but mathcad ends up looking for a function called gi(X), which doesn't exist. Is there any work around for this. See the attached file for the relevant chunk of the code. Thanks

Best answer by RichardJ

You need a ilttle indirection

1 reply

RichardJ19-TanzaniteAnswer
19-Tanzanite
April 14, 2011

You need a ilttle indirection