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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

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

ranto
11-Garnet

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
11-Garnet
(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