How to do manual operation of cross multiplication or substitution?

1 vue (au cours des 30 derniers jours)
Muhammad Usman
Muhammad Usman le 12 Déc 2021
Commenté : Chunru le 14 Déc 2021
If
syms A B x
y = A*x^2 + B*x;
dy = diff(y)
d2y = diff(dy)
then how to get where d2y is the second derivation; using subs or any other command in MATLAB

Réponses (1)

Chunru
Chunru le 12 Déc 2021
Is this what you want?
syms A B x z
y = A*x^2 + B*x;
dy = diff(y)
dy = 
d2y = diff(dy)
d2y = 
z = d2y/x^2
z = 
  4 commentaires
Muhammad Usman
Muhammad Usman le 13 Déc 2021
Means using any built-in command like subs or eval
Chunru
Chunru le 14 Déc 2021
subs and eval are for different purposes (not in your questions)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by