Skip to main content
15-Moonstone
Jun 4, 2026 5:58 AM UTC
Solved

max function to choose between values regardless ( negative or positive )

Hi there , 

I’m using mathcade prime 11

I need to get the max values using max function regardless if there are positive or negative , how ever when I use [ I x I] I get different numbers , how can I get the max ? 

Thanks 

Werner_E
Werner_EAnswer
25-Diamond I
Jun 4, 2026 10:45 AM UTC

how ever when I use [ I x I] I get different numbers , how can I get the max ? 

You don’t show what you are doing o how should we know?

Chances are that you need to vectorize as otherwise |x| will give you the magnitude of vector x.

 

5 replies

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
Jun 4, 2026 10:45 AM UTC

how ever when I use [ I x I] I get different numbers , how can I get the max ? 

You don’t show what you are doing o how should we know?

Chances are that you need to vectorize as otherwise |x| will give you the magnitude of vector x.

 

Translate
Werner_E
25-Diamond I
Jun 4, 2026 11:57 AM UTC

I tried to edit my post above to add a picture, but the forum did not let me do so. So I try it here:

Failed again :-(

Hmm, neither cop & paste nor saving the picture and adding it using the “Insert Image” icon in the toolbar worked.

Try to attach the picture but that can’t be a satisfactory permanent solution

 

Translate
23-Emerald V
Jun 4, 2026 5:27 PM UTC

This forum (like the previous) allows to copy an expression and simply paste it into the message box.

One expression at a time.

PTC and the forum software developer are not into making things easy for users…

If you want all in one picture, then grab a screenshot and paste the interesting portion of that:

Note that this is a limitation of Prime, because from Mathcad I can do it without intermediate steps:

Luc

Translate
23-Emerald V
Jun 4, 2026 5:19 PM UTC

Oops

Translate