Borrar filtros
Borrar filtros

Differentiating algebraic equation fractions

6 visualizaciones (últimos 30 días)
Sanjay Mohan
Sanjay Mohan el 28 de Nov. de 2019
Respondida: Vladimir Sovkov el 28 de Nov. de 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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by