Skip to main content
11-Garnet
August 26, 2022
Question

Re: How to ignore if the expression is divided by zero

  • August 26, 2022
  • 2 replies
  • 1488 views

As per this thread - same issue 

 

 

ranto_0-1661515927816.png

 

How to solve the the expression is divided by zero in the above - attachment mathcad prime 8 files

2 replies

25-Diamond I
August 26, 2022

Here are a few variants to chose from:

Werner_E_0-1661517628033.png
Werner_E_1-1661517650603.png
Werner_E_2-1661517675558.png

 

ranto11-GarnetAuthor
11-Garnet
August 26, 2022

thankyou

21-Topaz II
August 26, 2022

Hi,

One way is to use a try-error statement in the programming to catch the divide by zero error

Capture.JPG

Cheers

Terry

24-Ruby IV
August 26, 2022

We have the if operator without else.

It will be good to have the try operator without on error!