0% found this document useful (0 votes)
47 views

Lab5 Section B Group2 (Assignment)

This document contains 6 assignment problems related to vector calculus concepts in Matlab: 1) Find the electric field intensity due to a potential field V = 7x2y in the region -1 ≤ x ≤ 1, -1 ≤ y ≤ 1 and draw quiver plots. 2) Find the magnitude of electric field intensity at the origin due to point charges and draw plots. 3) Find the gradient of a potential field V = 50r2Cosφ and draw quiver plots. 4) Compare surface and mesh plots for an example and determine if mesh can replace surface. 5) Find the divergence of D = 3y2ax + 3x2yay and draw surface plots.

Uploaded by

Ali Ahmad
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Lab5 Section B Group2 (Assignment)

This document contains 6 assignment problems related to vector calculus concepts in Matlab: 1) Find the electric field intensity due to a potential field V = 7x2y in the region -1 ≤ x ≤ 1, -1 ≤ y ≤ 1 and draw quiver plots. 2) Find the magnitude of electric field intensity at the origin due to point charges and draw plots. 3) Find the gradient of a potential field V = 50r2Cosφ and draw quiver plots. 4) Compare surface and mesh plots for an example and determine if mesh can replace surface. 5) Find the divergence of D = 3y2ax + 3x2yay and draw surface plots.

Uploaded by

Ali Ahmad
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment problems

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.

You might also like