Lab1 - Physics 272Lab Lab 1 Electric Field of Charged...

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

View Full Document Right Arrow Icon
Physics 272Lab Lab 1: Electric Field of Charged Particles 14 Lab #1 – The Electric Field of Charged Particles OBJECTIVES In this lab you will: Practice calculating Coulomb Electric fields Learn to display the Electric field of a single particle using VPython Learn to display the Electric fields of multiple particles using Vpython Electric fields created by single particles are both simple to envision and simple to calculate. However, the electric fields created by an arrangement of particles are much harder to visualize – and extremely tedious to calculate. VPython is an excellent tool for creating complex arrangements of particles and modeling their electric fields. VPython also provides the added benefit of visualization in 3D. 1) Warm-Up Problem Problem (1) In the diagram below, an Fe 3+ ion is located 400 nm from a Cl¯ ion. (Recall that ±²³ ´± µ ¶· ³ ) (a) Determine the magnitude and direction of the electric field, E A , at location A , 100 nm to the left of the Cl¯ ion. ±¸ ¹ ´±º» ¼ » ¼ » ½ (b) Determine the magnitude and direction of the electric field, E B , at location B , 100 nm to the right of the Cl¯ ion. ¸ ¾ ´±º» ¼ » ¼ » ½ CHECKPOINT 1: Ask an instructor to check your work for credit. You may proceed while you wait to be checked off. 2) Electric Field Due to a Single Particle a) Open IDLE for VPython. As always, you should begin the code with the following lines: from __future__ import division from visual import * The extent to which you comment your code is up to you, but you need to at least define these four sections in the following order: “Define Constants,” “Set Initial Values,” “Create Objects,” and “Calculations.”
Background image of page 1

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

View Full DocumentRight Arrow Icon
Physics 272Lab Lab 1: Electric Field of Charged Particles 15 b) Insert these titles now. c) Define the following two constants: e = 1.6e-19 oofpez = 9e9 The first of these constants is the fundamental unit of charge and has units of Coulombs . The second constant is 0 1 4πε and has units of Nm 2 / C 2 d) Also in the “Define Constants” section, add the following line: scalefactor = 1 The purpose of the scale factor will be explained later in this lab. e) In your create objects section, type code to create the first particle (the particles will represent atoms), give the atom the charge of 3 excess protons, and create the arrow you will use to visualize the E field: atom1 = sphere(pos=vector(-300e-9,0,0), radius=10e-9,color=color.red) atom1.q = 3*e Earrow = arrow(pos=vector(0,0,0),axis=vector(0,0,0), color=color.cyan)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Lab1 - Physics 272Lab Lab 1 Electric Field of Charged...

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

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