Lab203 - Electrical Potential

Lab203 - Electrical Potential - Samuel Dzifanu Lab 203:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Samuel Dzifanu Lab 203: Electric Potential Lab 203: Electric Potential Name : Samuel Dzifanu Lab Partners: Arianit Agushi Crystal Ramjattan Object: To calculate the electric potential due to a charge and draw a contour and surface plots of the electric potential using matlab. Theory: For a given charge q the scalar electrostatic potential V at point (x,y) is given by three formulas. ) = 1 V 14πε1r ) = + 2 r x2 y2 ) = = 3 k 14πε0 9x109 Nm2C2 For two charges q1 and q2 located at points (x1, y1( and (x2, y2) respectively, the scalar electrostatic potential V at point (x, y) is given by: ) = 4 V + 14πε0 q1r1 q2r2 ) = - + - 5 r12 x1 x2 y1 y2 ) = - + - 5b r22 x2 x2 y2 y2 The electric field E and the electrostatic potential V are related by: ) = -∂ ∂ = + , - , 6 Ex V x Vx ∆x y Vx y∆x ) = = -∂ ∂ = , + - , 7 Ey Ex V y Vx y ∆y Vx y∆y Example Code and Result: >> clear all >> q=1*10^-9; >> esp0=8.85*10^-12 >> k=1./(4*pi*esp0); >> k=1./(4*pi*esp0); >> x=-2.1:0.2:2.1; >> y=-2.1:0.2:2.1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/16/2011 for the course PHYS 121A taught by Professor Opyrchal during the Spring '11 term at NJIT.

Page1 / 7

Lab203 - Electrical Potential - Samuel Dzifanu Lab 203:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online