Filter löschen
Filter löschen

Flipping Sign provide wrong information and Answers

1 Ansicht (letzte 30 Tage)
Muhd Jasrim
Muhd Jasrim am 4 Jun. 2024
Kommentiert: Muhd Jasrim am 5 Jun. 2024
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?

Akzeptierte Antwort

Steven Lord
Steven Lord am 4 Jun. 2024
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 Kommentare
Steven Lord
Steven Lord am 4 Jun. 2024
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.
Muhd Jasrim
Muhd Jasrim am 5 Jun. 2024
Thankyou Mr. steven! its clear!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by