How to do manual operation of cross multiplication or substitution?
1 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/832450/image.png)
0 个评论
回答(1 个)
Chunru
2021-12-12
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!