Lab202 - Numerical Verification of Gauss law

# Lab202 - Numerical Verification of Gauss law - Samuel...

This preview shows pages 1–4. Sign up to view the full content.

Samuel Dzifanu PHY 121 Lab 202 Lab Report

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

View Full Document
Samuel Dzifanu PHY 121 Lab 202 Lab 202 – Numerical Verification of Gauss law Samuel Dzifanu Group Members: Arianit Agushi , Crystal Ramjattan Objective: The objective of this lab will be to demonstrate Gauss’s Law. We will achieve this by using Matlab. Theoretical Background: Gauss’s Law states that the electric flux through any closed surface is proportional to the charge enclosed inside that surface. If the Gaussian surface is in a conducting region that has zero electric field, the electric flux through the Gaussian surface must also be zero. Therefore, the net charge inside the Gaussian surface must be zero. Presentation of Data clear all diary ('Lab202') diary on eps0 = 8.85*10^-12; k = 1/(4*pi*eps0); q1 = 9*10^-9;
Samuel Dzifanu PHY 121 Lab 202 a=1; syms x y z; E = @(x,y,z) k*q1/((x-0.1)^2 + (y-0.2)^2 + (z-0.3)^2)^(3/2)*[x-0.1,y- 0.2,z-0.3]; I = [a, 0, 0]; J = [0, a, 0]; K = [0, 0, a]; Eup = dot(K, E(x,y,a)); Elow = dot(-K, E(x,y,-a));

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

View Full Document
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 / 4

Lab202 - Numerical Verification of Gauss law - Samuel...

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

View Full Document
Ask a homework question - tutors are online