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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Symbolic differentiation error

ptc-5095919
1-Visitor

Symbolic differentiation error

There may be a Mathcad bug in the attached Mathcad file.

The symbolic partial derivative evaluated with respect to the variable C59 should be zero as the equation can be simplified to not include any C59 terms.

When the differentiate operator is used on the un-simplified equation with respect to C59 a non-zero symbolic derivative results. I'm afraid that this may affect the symbolic results of other equations.

Other than simplifying the equations, is there a workaround to this issue?

Thank you!

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ptc-5095919)

Its not a bug at all - just tell Mathcad to simplify when you take the derivative of the unsimplified term.

Mathcad will only do very basic simplifications if you just use symbolic evaluation

simplify0.png

so normally you would have to tell Mathcad to simplify the evaluation and probably also how (expand, factor, collect,...)

simplyfy1.png

Nevertheless I would suggest always to simplify expressions whenever possible before doing symbolic operations on them.

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:ptc-5095919)

Its not a bug at all - just tell Mathcad to simplify when you take the derivative of the unsimplified term.

Mathcad will only do very basic simplifications if you just use symbolic evaluation

simplify0.png

so normally you would have to tell Mathcad to simplify the evaluation and probably also how (expand, factor, collect,...)

simplyfy1.png

Nevertheless I would suggest always to simplify expressions whenever possible before doing symbolic operations on them.

Thank you for your response!

Announcements

Top Tags