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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

LOOP IN A TWO PARAMETERS FUNCTION

beginner
4-Participant

LOOP IN A TWO PARAMETERS FUNCTION

Hi everybody, Smiley Very Happy

 

my question is about, how can I programming a loop for a list of values in a 3d function. I'll try to explain myself. I have a 3d surface equation and it works fine with a single values like this:single value.jpg

but I want to repeat the calculation in a loop for a pair of list of values, something like this:

list for loop.jpg

What I'm doing wrong?. Mathcad reports "This variable is undefined. Check that the label is set correctly".

Any idea?

Thanks and congratulations.Woman Wink

 

Note: equations was obtained from thread "T-stub method" in this forum. Thanks unknown member.

 

3 REPLIES 3

Like so:

 

2params.PNG

 

Alan

Looks like a sheet I created for someone here quite some time ago.

 

Here is a slightly different approach using one of the two flavours of the root command (either with a guess or with a range as argument) and a vectorized function call instead of using a range variable.

 Bild.PNG

beginner
4-Participant
(To:Werner_E)

Thank you everybody!

It works fine!. Mathcad is awesome. Surprise me everyday

 

Thanks again.

Top Tags