How to do manual operation of cross multiplication or substitution?
    4 views (last 30 days)
  
       Show older comments
    
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
where d2y is the second derivation; using subs or any other command in MATLAB
 where d2y is the second derivation; using subs or any other command in MATLAB
where d2y is the second derivation; using subs or any other command in MATLAB0 Comments
Answers (1)
  Chunru
      
      
 on 12 Dec 2021
        Is this what you want?  
syms A B x z
y = A*x^2 + B*x;
dy = diff(y)
d2y = diff(dy)
z = d2y/x^2
4 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



