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

LOOP IN A TWO PARAMETERS FUNCTION

Highlighted
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

Re: LOOP IN A TWO PARAMETERS FUNCTION

Like so:

 

2params.PNG

 

Alan

Re: LOOP IN A TWO PARAMETERS FUNCTION

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

Re: LOOP IN A TWO PARAMETERS FUNCTION

Thank you everybody!

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

 

Thanks again.

Announcements