Flipping Sign provide wrong information and Answers

1 次查看(过去 30 天)
Hi, I type my equation and the equation reversing and change the meaning of the equation.
can you assists me how to solve this? how to turn off the alphabetical orders settings?

采纳的回答

Steven Lord
Steven Lord 2024-6-4
How exactly does this reordering "change the meaning of the equation"? The derivative of with respect to x is . In this case, x is c and k is . So the derivative of is or . Multiply that by the constant and the derivative is or exactly as MATLAB showed.
Sure, the way MATLAB displays u is not identical to the way you entered it, but it represents the same value.
  3 个评论
Steven Lord
Steven Lord 2024-6-4
Ah, you're thinking it's not a reordering question but a question about operator precedence. Yes, unary minus is lower in priority (at level 4) than the power operations (levels 2 and 3.) I agree, adding parentheses (level 1) can help clarify intent.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by