How can I solve the following derative problem in Matlab ?

1 vue (au cours des 30 derniers jours)
Vuqar Samedov
Vuqar Samedov le 3 Oct 2020
Commenté : Steven Lord le 4 Oct 2020

Réponse acceptée

Matteo Lo Preti
Matteo Lo Preti le 4 Oct 2020
Hi Vuqar,
You can solve the derivative problem with the diff function, and then apply the simplify function.
syms x
y = (x^2 + 1)/(x^2-1);
dy = diff(y);
dy_simplified = simplify(dy)
  2 commentaires
Vuqar Samedov
Vuqar Samedov le 4 Oct 2020
thank you very much Matteo Lo Preti,
God bless you !
Steven Lord
Steven Lord le 4 Oct 2020
Please don't post the solution to homework problems, or questions that sound like homework problems, unless the poster shows some effort first.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by