Filter löschen
Filter löschen

Differentiating algebraic equation fractions

6 Ansichten (letzte 30 Tage)
Sanjay Mohan
Sanjay Mohan am 28 Nov. 2019
Beantwortet: Vladimir Sovkov am 28 Nov. 2019
Hi guys, have a test coming up and i will be able to use matlab.
How do i differentiate algebraic equations such as fractions, in real life we will use the quotient rule, but how do i do it using matlab?
Ex: d/dx ((-x^2-x)/(x+2)*(x+3))
What will i enter into matlab for it to be differentiated?

Akzeptierte Antwort

Vladimir Sovkov
Vladimir Sovkov am 28 Nov. 2019
syms x;
simplify(diff(@(x)((-x^2-x)/(x+2)*(x+3)),x))

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by