Skip to main content
1-Visitor
May 9, 2015 3:07 AM UTC
Solved

Function Variable with Condition Statement

Hi

I couldn't understand why the function with condition statement in this case IF statement as shown below dose not work properly

Function Variable With If.JPG

Is this right way ? or I am making some mistake.

BR,

J.Randeep

19-Tanzanite
May 9, 2015 11:27 AM UTC

Here's a workaround in M15:

minmax.PNG

Alan.

6 replies

rjaison1-VisitorAuthor
1-Visitor
May 9, 2015 3:10 AM UTC

P:S

On the other hand if i just use Maximize or Minimize manually according to the condition with out any condition statement it works correctly

Translate
24-Ruby IV
May 9, 2015 3:43 AM UTC

I think it is a bug in Mathcad 15. In Prime OK:

minmax.png

Translate
rjaison1-VisitorAuthor
1-Visitor
May 9, 2015 10:00 AM UTC

Hi

Thanks for your insight.

Unfortunately I am using Math CAD 15 I need to find a solution that works with it.

If you are certain it is a bug, Math CAD support team should be notified about this?

J.Randeep

Translate
24-Ruby IV
May 9, 2015 11:27 AM UTC

Randeep Jaison wrote:

If you are certain it is a bug, Math CAD support team should be notified about this?

J.Randeep

It is not a bug. It is one methodology of the soft.

If(a=b, m, kg) - a bug in Mathcad 15 but not in Prime.

Can you use in your case y(x) or -y(x) for the finding min or max?

Translate