Skip to main content
1-Visitor
November 24, 2017
Question

LOOP IN A TWO PARAMETERS FUNCTION

  • November 24, 2017
  • 2 replies
  • 2128 views

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.

 

2 replies

19-Tanzanite
November 24, 2017

Like so:

 

2params.PNG

 

Alan

25-Diamond I
November 24, 2017

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

beginner1-VisitorAuthor
1-Visitor
November 27, 2017

Thank you everybody!

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

 

Thanks again.