cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

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

ranto
9-Granite

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

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

4 REPLIES 4
Werner_E
24-Ruby V
(To:ranto)

Here are a few variants to chose from:

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

 

ranto
9-Granite
(To:Werner_E)

thankyou

Hi,

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

Capture.JPG

Cheers

Terry

We have the if operator without else.

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

 

Top Tags