Skip to main content
7-Bedrock
Aug 4, 2022 6:55 PM UTC
Solved

Strange behavior with Mathcad 15

I am not getting why this is evaluating in such a way in Mathcad 15

terryhendicott
21-Topaz II
Aug 4, 2022 9:04 PM UTC

Hi

You can use a setting in the worksheet options:

Simply uncheck the use exact comparisons option.

Capture.JPG

If you uncheck the exact equality option you get the behavior desired.

Capture3.JPG 

Cheers

Terry

3 replies

terryhendicott
21-Topaz II
Aug 4, 2022 7:24 PM UTC

Hi

Internal precision at 17 decimal places A and 1.5B are not the same. 

Capture.JPG

Translate
7-Bedrock
Aug 4, 2022 7:41 PM UTC

Thank you for explanation I was just wondering if there is any option with mathcad 15 to change this behavior with variable?

Translate
terryhendicott
21-Topaz II
Aug 4, 2022 9:04 PM UTC

Hi

You can use a setting in the worksheet options:

Simply uncheck the use exact comparisons option.

Capture.JPG

If you uncheck the exact equality option you get the behavior desired.

Capture3.JPG 

Cheers

Terry

Translate