How to do manual operation of cross multiplication or substitution?

1 visualización (últimos 30 días)
Muhammad Usman
Muhammad Usman el 12 de Dic. de 2021
Comentada: Chunru el 14 de Dic. de 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

Respuestas (1)

Chunru
Chunru el 12 de Dic. de 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 comentarios
Muhammad Usman
Muhammad Usman el 13 de Dic. de 2021
Means using any built-in command like subs or eval
Chunru
Chunru el 14 de Dic. de 2021
subs and eval are for different purposes (not in your questions)

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by