Question: Problem 1 For a vector A = a x 3 x 2 c o s ( 3 y ) - a y s i n

Problem 1
For a vector A=ax3x2cos(3y)-aysin(2x)y2,
a) Write a MATLAB code to evaluate oA*dl around the contour shown in figure
b) Evaluate gradA then write a MATLAB code to evaluate (gradA)*ds over the shaded area
c) Compare the results of the previous two points and comment.
Hints:
oA*dl is translated into ??A*dl when used in computer calculations
-(gradA)*ds is translated into ??(??(gradA)*dx)dy when used in computer calculations
The discretization strategy is to use {0.1**(minimum dimension in the problem)
Problem 1 For a vector A = a x 3 x 2 c o s ( 3 y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!