Lab5 Section B Group2 (Assignment)
Lab5 Section B Group2 (Assignment)
1. Let the potential field V = 7 x 2 y exists in the region 1 x 1 and 1 y 1 . Write a program in Matlab, using example 1, which finds electric field intensity at all points in the region. Draw quiver plots of your result. Compare the two plots and see if there is any difference ? 2. Write a Matlab program which finds the magnitude of electric field intensity at origin due to point charges of (3C) located in the region 3 x 3 and 3 y 3 . 3. If V = 50r 2 Cos , such that 0 r 3 & 0 2 . Find gradient of V . Draw a quiver plot of your result. 4. In example 2 , plot is drawn using surf command. What if we use mesh command instead. Compare the two plots in one window. What is the difference ? Can we use mesh command instead of surf ? 5. If D = 3 y 2 a x + 3 x 2 ya y is defined in the region 1 x 1 & 1 y 1 . Find the divergence of D. Draw a surface plot of your result. 6. Given the general vector A = ( Cosx ) a x + ( Sinx ) a y find the curl of A everywhere in the region 5 x 5 & 5 y 5 . Draw a plot of your result.