Quantcast
Channel: PTC Community : All Content - Programming & Extending Mathcad
Viewing all articles
Browse latest Browse all 680

Mathcad Prime crashes when I use absolute or Determinant function in IF statement

$
0
0

Hello All,

 

My requirement is simple I want to compare two numbers and I want the maximum value in return irrespective of its sign. This is how I tried in Excel if (abs(A)>abs(b),A,B) and it worked well.

 

I tried the same function in Prime3.1 and it crashes every single time I used it. One more thing what I've observed is, the IF statement is working fine when I haven't used Abs function or Determinant operator  in it. The real problem arrives only when I include Abs function in it.

 

Someone could please help me in resolving this issue.

 

Thanks in advance.

 

Regards,

Ashok


Viewing all articles
Browse latest Browse all 680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>