How to do manual operation of cross multiplication or substitution?

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Chunru
Chunru il 12 Dic 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 Commenti
Chunru
Chunru il 14 Dic 2021
subs and eval are for different purposes (not in your questions)

Accedi per commentare.

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by