This preview shows page 1. Sign up to view the full content.
Unformatted text preview: respect to x. To find definite and indefinite integral of a function int command is used in MATLAB. Example: Find integral of x^2+2 using MATLAB. Soln: First define x symbolic variable by writing >> syms x and find indefinite integral using >> int(x^2+2) to find definite integral between x=2 and x=5, we can write >> int(x^2+2,1,5) hw: 1- Take derivative of the following functions with respect to z (Hint: Use help sym/diff command to learn taking derivative to respect to a variable) a- f=x*z+2*z^2+x^2 b- f=sin(x*z)+x-z 2- Take definite integral of the following functions a- f(x)=x+2*x^2 b- f(x)=sin(x)...
View Full Document
This note was uploaded on 11/24/2009 for the course ELECTRICAL 1512200540 taught by Professor Ahmetyazıcı during the Fall '09 term at Eskişehir Osmangazi Üniversitesi.
- Fall '09