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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Translate the entire conversation x

Division durch 0 (x/0=0)

TR_12857862
1-Visitor

Division durch 0 (x/0=0)

Guten Tag
Wir Arbeiten bis anhin mit Mathcad 14, aktuell teste ich nun Mathcad Prim 10 bezüglich einem allfälligen Wechsel.
Das Konvertieren unserer Arbeitsblätter hat sehr gut funktioniert. Jedoch habe ich nun das Problem das ich Berechnungen habe mit Divisionen durch Null (x/0) in Mathcad 14 konnte man unter Arbeitsblattoptionen angeben das 0/0=0 ist. gibt es diese Möglichkeit im Prime 10 auch? Für uns ist dies sehr wichtig da wir allgemeingültige Berechnungen haben bei dehnen lasten die in der zu Berechnenden Anwendung nicht vorkommen. Bis anhin haben wir diese dann mit dem Wert 0 angegeben. oder gibt es dafür im Prime eine alternative Möglichkeit?

Freundliche grüsse und danke für ihre Rückmeldung.
Tobias Rhyner



3 REPLIES 3

Capture.JPG

LucMeekes
23-Emerald IV
(To:TR_12857862)

Prime hat (bisher) nicht die Möglichkeit 0/0 zu definieren. Ist auch die Frage ob das jemals sein wird.

 

Wie Terry zeigt, muss jede Teilung in der der Nenner 0 sein könnte einen 'try' bekommen.

 

Viel Erfolg!
Luc

Hello,

 

the Try command is only one approach to prevent this issue.

 

This is the knowledgebase article regarding current support on Division by Zero:

Artikel - CS246971 - Is there an option available in Mathcad Prime equivalent to legacy Mathcad worksheet option 0/0 = 0 (Divide by Zero)?

 

It says that in opposite to legacy Mathcad, in Mathcad Prime the division by zero must be actively handled. Multiple workarounds are possible.

In case it is not handled by the user's math itself, the system cannot prevent the user from running into an error automatically.

This is working as designed.

 

If you want to consider PTC to change this behavior, then please refer to Product Ideas @ PTC Community and consider posting a new one.

 

Note:

This is the English community. German support at PTC is available. Please file a new case: 

Support Assistant

 

Thank you for your understanding

 

Announcements
Top Tags