You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LaTeX output of diff(sin(x)+cos(x), x, x)) is missing parentheses, producing incorrect output. The output looks like -sin(x) + cos(x), instead of the correct -(sin(x) + cos(x)). The internal representation is correct.
The output of repr(...) is '-(sin(x) + cos(x))'
The output of srepr(...) is "Mul(Integer(-1), Add(sin(Symbol('x')), cos(Symbol('x'))))"
The (incorrect) output of latex(...) is '- \\sin{\\left (x \\right )} + \\cos{\\left (x \\right )}'
The text was updated successfully, but these errors were encountered:
The LaTeX output of
diff(sin(x)+cos(x), x, x))
is missing parentheses, producing incorrect output. The output looks like-sin(x) + cos(x)
, instead of the correct-(sin(x) + cos(x))
. The internal representation is correct.The output of repr(...) is
'-(sin(x) + cos(x))'
The output of srepr(...) is
"Mul(Integer(-1), Add(sin(Symbol('x')), cos(Symbol('x'))))"
The (incorrect) output of latex(...) is
'- \\sin{\\left (x \\right )} + \\cos{\\left (x \\right )}'
The text was updated successfully, but these errors were encountered: