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

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

ranto
10-Marble

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
25-Diamond I
(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
10-Marble
(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! 

 

Announcements

Top Tags