Mathematical Computations – MATLAB for Beginners – MATLAB Basics – Tutorials – Volume-2

Unit-12

Differentiation

>> syms x;
>> a=6*x^3+3*x^2+2;
>> diff(a)
 ans =
 18*x2+6*x
  

>> a=sin(x);
>> diff(a)
 ans =
 cos(x)

Be the first to comment

Leave a Reply

Your email address will not be published.




19 + 20 =