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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Looping on a variable number of functions

belsherj
1-Newbie

Looping on a variable number of functions

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

1 ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:belsherj)

You need a ilttle indirection

View solution in original post

1 REPLY 1
RichardJ
19-Tanzanite
(To:belsherj)

You need a ilttle indirection

Top Tags