Program List
Program List
Write and execute the MATLAB code to find the gradient vector of f(x,y)=xe^(x^2-y^2) with respect to
vector [x,y] and also plot the contour lines and vectors.
2. Write and execute the MATLAB code to show that the divergence of the curl of the vector field V=(x, 2
y^2, 3 z^3) is 0.
3. Write and execute the MATLAB code to Compute the area of the circle lying in the first quadrant with
radius a.
𝑦(0.5) taking h=0.1. Display output for each value of x upto 0.5.
𝑑𝑦
15. Write and execute the MATLAB code to solve 𝑑𝑥 = 𝑙𝑜𝑔𝑒 (𝑥 + 𝑦), 𝑦(1) = 2 by Modified Euler’s method
for 𝑦(1.4)taking h=0.1. Display output for each value of x upto 1.4. Perform 4 modifications at every
step.