0% found this document useful (0 votes)
14 views1 page

Lab5 Section A Group2 (Assignment)

This document contains 6 assignment problems involving calculating electric fields, potentials, gradients, divergences and curls using MATLAB across various regions: 1) Find the electric field from a potential V = 7x2y on -1 ≤ x ≤ 1, -1 ≤ y ≤ 1 and compare quiver plots. 2) Find the electric potential at the origin from point charges of 5μC on -3 ≤ x ≤ 3, -3 ≤ y ≤ 3. 3) Find the gradient of V = 50r2Cosφ on 0 ≤ r ≤ 3, 0 ≤ φ ≤ 2π and draw a quiver plot. 4) Compute the electric field E at point P(3,4)

Uploaded by

Ali Ahmad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Lab5 Section A Group2 (Assignment)

This document contains 6 assignment problems involving calculating electric fields, potentials, gradients, divergences and curls using MATLAB across various regions: 1) Find the electric field from a potential V = 7x2y on -1 ≤ x ≤ 1, -1 ≤ y ≤ 1 and compare quiver plots. 2) Find the electric potential at the origin from point charges of 5μC on -3 ≤ x ≤ 3, -3 ≤ y ≤ 3. 3) Find the gradient of V = 50r2Cosφ on 0 ≤ r ≤ 3, 0 ≤ φ ≤ 2π and draw a quiver plot. 4) Compute the electric field E at point P(3,4)

Uploaded by

Ali Ahmad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
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 electric potential at origin due to point charges of (5C) 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. Point charges of (3C) and (-3C) are located at (0,1) and (0,-1) respectively. Write a program in Matlab which computes E at P(3,4). 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