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

Function Variable with Condition Statement

rjaison
1-Visitor

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

ACCEPTED SOLUTION

Accepted Solutions

Here's a workaround in M15:

minmax.PNG

Alan.

View solution in original post

6 REPLIES 6
rjaison
1-Visitor
(To:rjaison)

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

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

minmax.png

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

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?

Here's a workaround in M15:

minmax.PNG

Alan.

Hi,

Yes it did work.

But the logic is quite complex, it should be simple as Valery was mention it works fine in Math CAD Prime.

Thanks for your help.

J.Randeep

Announcements

Top Tags