Differentiation
이전 댓글 표시
Is it possible to construct a code that for example we type in x^2 and then the program finds (d/dx)x^2=0 and gives x=0?
I have tried using syms x; diff(x^2) which gives 2*x but I don't know how to make it solve the equation. Perhaps I have to define a function handle? But f=@(x) diff(x^2) doesn't work.
Please help.
채택된 답변
추가 답변 (2개)
Salama
2024년 12월 18일
0 개 추천
I want to learn differential and integral calculus to help me solve problems in quantum physics.
댓글 수: 2
Walter Roberson
2024년 12월 20일
Integral calculus and differentiation is a large topic. Numerous textbooks have been written on the topic. It is not very related to MATLAB, so asking here is not correct.
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!