Physics 212E Classical and Modern Physics Spring VPython Class 6: Phasors and Interference

Size: px
Start display at page:

Download "Physics 212E Classical and Modern Physics Spring VPython Class 6: Phasors and Interference"

Transcription

1 Physics 212E Classical and Modern Physics Spring 2017 VPython Class 6: Phasors and Interference 1 Introduction We re going to set up a VPython program that will take three inputs: the number of slits, the slit spacing, and the wavelength of light, and produce an animation showing the interference pattern and phase diagram. This will lead to a pretty cool result, but it s a bit ambitious for a single class period. At the top of the program, just after the from vpython import * and from math import * lines, let s define our three parameters. And let s go one step further and tell ourselves that s what we re doing by putting a comment in the code. For example, # control parameters n = 3 d = 2.5e-6 # microns wavelength = 550e-9 # nanometers Anything written on a line after a # symbol is ignored by Python, which is used to add clarifying comments. Here we ve defined the number of slits N = 3, the slit spacing d = , and the wavelength λ = We don t use the name lambda as a variable because this variable is already pre-defined for other purposes in Python. So, wavelength it is. 2 The Phasor Diagram, part I Once we specify the number of slits, we d like to make a phasor diagram with that many phasors, lined up head to tail. First, let s draw the x and y axes, which we can do with the curve object: xaxis = curve( pos=[(-1,0,0), (1,0,0)] ) yaxis = curve( pos=[(0,-1,0), (0,1,0)] ) Here we gave the curve object a list of positions, enclosed in square brackets. We have given curve objects a list of positions before, but we did it with the.append method. We d like to write code that will work no matter what value we put in for N. We can do this by creating a list of phasors. Lists are defined in Python by square brackets, so we begin by making an empty list called phasors: phasors=[] 1

2 We want to draw the vectors head to tail, so we need a vector variable to hold the location of the last vector s head, which will be the location of the next vector s tail. Let s call it tail and initially it should be the origin: tail = vector(0,0,0) Now we use a while loop to add a phasor to the list N times: i=0 while i < n: phasors.append(arrow(pos=tail, axis=vector(1/n,0,0), color=color.green)) tail = tail + vector(1/n,0,0) i = i + 1 Let s take a second to digest this. The variable i just counts how many times we ve gone through the loop. The append method grows our list of phasor objects by one each time. The phasors are green arrows pointing to the right, and the tail position of each new phasor is shifted to the right when we update the tail vector. Make sense? Run this and see if you get three arrows aligned like a central max phasor diagram. Now, try changing the number of slits to four. Does your program deal with it properly? 3 The Screen In our display window we re also going to set up the geometry of the real system, such as the slits and the screen, and also show the intensity. Here s some initial setup stuff: L = 1.5 # distance to screen ymax = 1 # height of screen scene2.center = vector(2,0,0) slits = box(pos=vector(2,0,0), size=vector(0.1,0.3,0.1), color=color.blue) screen = box(pos=vector(2+l,0,0), size=vector(0.1,2*ymax,0.01), color=color.red) The 2 just shifts the display to the right of our phasor diagram. We now want to add two curves to this display: (1) a horizontal line showing the direction of the central max and (2) a curve that will start out empty but will build up the intensity pattern on the screen: central_max = curve(pos=[(2,0,0),(2+l,0,0)]) intensity = curve() edge = L + 0.5*screen.size.x The last variable, edge holds the x coordinate for the right hand end of the red screen. You ll see why this is useful soon. 2

3 4 The Sweep Now we re going to sweep across the screen, from bottom to top, and see what the phasor diagram is doing and what the intensity is doing. First things first: let s set up the while loop that will control the sweep: y = -ymax # y is the coordinate on the screen while y < ymax: rate(5) # step 1: do the physics # step 2: update the phasor display # step 3: update the screen display y = y All the rest that you ll put into this program goes inside the while loop, between the rate(5) and the y=y+0.01 lines. 5 The Physics Okay, given y, L, d, and λ, calculate θ, r adj and φ adj. This should just take three lines of code. I called these quantities theta, delta_r, and delta_phi. Some useful things to know: math has trig functions like sin() and asin() (for arcsine), etc. These are in radians mode. math also has a built in variable pi = π Update the Phasor Display Now is the trickiest part of the program. For a given y, we have a θ value that translates to a φ adj value. We want to the program to draw the appropriate phasor diagram with that φ adj. As we loop through the list of phasors, we ll need a vector variable keeping track of the location of the tail of the next vector, so let s define tail to be a vector, originally at the origin. We also aren t going to be making each phasor point in the (1/n, 0, 0) direction; rather they ll all be rotated relative to each other. So we need a direction vector, which should initially be (1/n, 0, 0) (this makes the first phasor point in the +x direction). After you ve defined your tail and direction vectors, we want to loop through all the phasor objects in the list phasors, which we can do with the syntax 3

4 for phasor in phasors: # stuff to do with each phasor This steps through each phasor object in phasors, momentarily calling each one phasor. We want to update the pos and axis attributes of the current object via phasor.pos = tail phasor.axis = direction This will do the right thing as long as we re sure tail points to where we want the current phasor s tail to be, and direction is pointing in the direction we want the current phasor to point. So we should update those vector variables to be ready for the next phasor object in the loop: tail = tail + direction direction = rotate(direction, angle=delta_phi) Do you see what this does? The head of the phasor that we just drew is located at tail+direction, so we assign that to be the new tail value for the next phasor. And each phasor is supposed to be rotated by φ adj relative to the previous, so here we rotate the direction vector. And that s it for updating the phasor diagram. Question: after this loop through the phasors, where do you think the tail vector is pointing? Remember that we update it after drawing each phasor. The answer to this question will come in handy below. Try running the program at this point and sort out any errors. While the screen display won t be doing anything, the phasor diagram should behave sensibly, sweeping through a range of φ adj values. 7 Update the Screen Display We re still inside the while loop, and we ve updated the phasor diagram for our new value of y. Now we ll update our screen display. And here comes the really cool part. We are going to plot the intensity of the interference pattern on the right hand side of the screen by building up the intensity curve object. What you need to know about intensity is that it is directly proportional to the square of the amplitude. If the amplitude doubles, the intensity quadruples, for example. The phasor diagram tells us the vector sum of all the phasors, and it s held in the variable tail, which we were updating always to be at the head of the last phasor we drew. Since intensity is the square of the amplitude, our signal intensity is just mag2(tail). We want this curve to poke out in the +x direction from the right edge of the screen, so we will add the intensity to the vector edge: 4

5 intensity.append( pos=( edge+mag2(tail), y, 0) ) That should do it. Try running this and see if you ve got all the pieces assembled. 8 Play Time The nice thing about this program is that you can now vary the slit spacing or the number of slits and everything will adjust accordingly. Which way should you change d to get more maxima on the screen? Try it. Change the number of slits to four. Do the minima happen where you would expect them to, based on the phasor diagram? Change the number of slits to 20. Do you begin to see why diffraction gratings give bright dots? Hand in a working version of the program with whatever number of slits and slit separation you would like. 5

Lecture 39. Chapter 37 Diffraction

Lecture 39. Chapter 37 Diffraction Lecture 39 Chapter 37 Diffraction Interference Review Combining waves from small number of coherent sources double-slit experiment with slit width much smaller than wavelength of the light Diffraction

More information

Interference. Electric fields from two different sources at a single location add together. The same is true for magnetic fields at a single location.

Interference. Electric fields from two different sources at a single location add together. The same is true for magnetic fields at a single location. Interference Electric fields from two different sources at a single location add together. The same is true for magnetic fields at a single location. Thus, interacting electromagnetic waves also add together.

More information

Basics of Computational Geometry

Basics of Computational Geometry Basics of Computational Geometry Nadeem Mohsin October 12, 2013 1 Contents This handout covers the basic concepts of computational geometry. Rather than exhaustively covering all the algorithms, it deals

More information

Spectroscopic Analysis: Peak Detector

Spectroscopic Analysis: Peak Detector Electronics and Instrumentation Laboratory Sacramento State Physics Department Spectroscopic Analysis: Peak Detector Purpose: The purpose of this experiment is a common sort of experiment in spectroscopy.

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

Physics I : Oscillations and Waves Prof. S Bharadwaj Department of Physics & Meteorology Indian Institute of Technology, Kharagpur

Physics I : Oscillations and Waves Prof. S Bharadwaj Department of Physics & Meteorology Indian Institute of Technology, Kharagpur Physics I : Oscillations and Waves Prof. S Bharadwaj Department of Physics & Meteorology Indian Institute of Technology, Kharagpur Lecture - 20 Diffraction - I We have been discussing interference, the

More information

Computer Exercise #3 (due March 7, but most useful if completed before class, Friday March 3) Adding Waves

Computer Exercise #3 (due March 7, but most useful if completed before class, Friday March 3) Adding Waves Physics 212E Chowdary Classical and Modern Physics Name: Computer Exercise #3 (due March 7, but most useful if completed before class, Friday March 3) Adding Waves This exercise can be broken up into two

More information

SECTION 4.5: GRAPHS OF SINE AND COSINE FUNCTIONS

SECTION 4.5: GRAPHS OF SINE AND COSINE FUNCTIONS SECTION 4.5: GRAPHS OF SINE AND COSINE FUNCTIONS 4.33 PART A : GRAPH f ( θ ) = sinθ Note: We will use θ and f ( θ) for now, because we would like to reserve x and y for discussions regarding the Unit Circle.

More information

Section Graphs of the Sine and Cosine Functions

Section Graphs of the Sine and Cosine Functions Section 5. - Graphs of the Sine and Cosine Functions In this section, we will graph the basic sine function and the basic cosine function and then graph other sine and cosine functions using transformations.

More information

: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics

: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics Assignment 1: Turtle Graphics Page 1 600.112: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics Peter H. Fröhlich phf@cs.jhu.edu Joanne Selinski joanne@cs.jhu.edu Due Date: Wednesdays

More information

PHY132 Introduction to Physics II Class 5 Outline:

PHY132 Introduction to Physics II Class 5 Outline: PHY132 Introduction to Physics II Class 5 Outline: Ch. 22, sections 22.1-22.4 (Note we are skipping sections 22.5 and 22.6 in this course) Light and Optics Double-Slit Interference The Diffraction Grating

More information

Interference of Light

Interference of Light Lecture 22 Chapter 22 Physics II Wave Optics: Interference of Light Course website: http://faculty.uml.edu/andriy_danylov/teaching/physicsii Wave Motion Interference Models of Light (Water waves are Easy

More information

Interference of Light

Interference of Light Lecture 23 Chapter 22 Physics II 08.07.2015 Wave Optics: Interference of Light Course website: http://faculty.uml.edu/andriy_danylov/teaching/physicsii Lecture Capture: http://echo360.uml.edu/danylov201415/physics2spring.html

More information

Introduction to VPython for E&M This tutorial will guide you through the basics of programming in VPython

Introduction to VPython for E&M This tutorial will guide you through the basics of programming in VPython Introduction to VPython for E&M This tutorial will guide you through the basics of programming in VPython VPython is a programming language that allows you to easily make 3-D graphics and animations. We

More information

McCall Page 1 of 17. Lasers & Diffraction Grating Project MAT 201, Spring For this project you will need the following:

McCall Page 1 of 17. Lasers & Diffraction Grating Project MAT 201, Spring For this project you will need the following: McCall Page 1 of 17 Lasers & Diffraction Grating Project MAT 201, Spring 2016 For this project you will need the following: Laser pointers (at least 3 colours/wavelengths) Diffraction gratings (at least

More information

SPRITES Moving Two At the Same Using Game State

SPRITES Moving Two At the Same Using Game State If you recall our collision detection lesson, you ll likely remember that you couldn t move both sprites at the same time unless you hit a movement key for each at exactly the same time. Why was that?

More information

Lecture 24 (Diffraction I Single-Slit Diffraction) Physics Spring 2018 Douglas Fields

Lecture 24 (Diffraction I Single-Slit Diffraction) Physics Spring 2018 Douglas Fields Lecture 24 (Diffraction I Single-Slit Diffraction) Physics 262-01 Spring 2018 Douglas Fields Single-Slit Diffraction As we have already hinted at, and seen, waves don t behave as we might have expected

More information

LIGHT: Two-slit Interference

LIGHT: Two-slit Interference LIGHT: Two-slit Interference Objective: To study interference of light waves and verify the wave nature of light. Apparatus: Two red lasers (wavelength, λ = 633 nm); two orange lasers (λ = 612 nm); two

More information

Lecture 6: Waves Review and Examples PLEASE REVIEW ON YOUR OWN. Lecture 6, p. 1

Lecture 6: Waves Review and Examples PLEASE REVIEW ON YOUR OWN. Lecture 6, p. 1 Lecture 6: Waves Review and Examples PLEASE REVEW ON YOUR OWN Lecture 6, p. 1 Single-Slit Slit Diffraction (from L4) Slit of width a. Where are the minima? Use Huygens principle: treat each point across

More information

Introduction to 3D computer modeling

Introduction to 3D computer modeling OBJECTIVES In this course you will construct computer models to: Introduction to 3D computer modeling Visualize motion in 3D Visualize vector quantities like position, momentum, and force in 3D Do calculations

More information

To see how a sharp edge or an aperture affect light. To analyze single-slit diffraction and calculate the intensity of the light

To see how a sharp edge or an aperture affect light. To analyze single-slit diffraction and calculate the intensity of the light Diffraction Goals for lecture To see how a sharp edge or an aperture affect light To analyze single-slit diffraction and calculate the intensity of the light To investigate the effect on light of many

More information

1 Getting started with Processing

1 Getting started with Processing cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

More information

Lecture 6: Waves Review and Examples PLEASE REVIEW ON YOUR OWN. Lecture 6, p. 1

Lecture 6: Waves Review and Examples PLEASE REVIEW ON YOUR OWN. Lecture 6, p. 1 Lecture 6: Waves Review and Examples PLEASE REVEW ON YOUR OWN Lecture 6, p. 1 Single-Slit Diffraction (from L4) Slit of width a. Where are the minima? Use Huygens principle: treat each point across the

More information

Here are some of the more basic curves that we ll need to know how to do as well as limits on the parameter if they are required.

Here are some of the more basic curves that we ll need to know how to do as well as limits on the parameter if they are required. 1 of 10 23/07/2016 05:15 Paul's Online Math Notes Calculus III (Notes) / Line Integrals / Line Integrals - Part I Problems] [Notes] [Practice Problems] [Assignment Calculus III - Notes Line Integrals Part

More information

0 Graphical Analysis Use of Excel

0 Graphical Analysis Use of Excel Lab 0 Graphical Analysis Use of Excel What You Need To Know: This lab is to familiarize you with the graphing ability of excels. You will be plotting data set, curve fitting and using error bars on the

More information

Introduction to VPython This tutorial will guide you through the basics of programming in VPython.

Introduction to VPython This tutorial will guide you through the basics of programming in VPython. Introduction to VPython This tutorial will guide you through the basics of programming in VPython. VPython is a programming language that allows you to easily make 3-D graphics and animations. We will

More information

5 10:00 AM 12:00 PM 1420 BPS

5 10:00 AM 12:00 PM 1420 BPS Physics 294H l Professor: Joey Huston l email:huston@msu.edu l office: BPS3230 l Homework will be with Mastering Physics (and an average of 1 hand-written problem per week) I ve assigned 22.62 as a hand-in

More information

Section 4.1: Introduction to Trigonometry

Section 4.1: Introduction to Trigonometry Section 4.1: Introduction to Trigonometry Review of Triangles Recall that the sum of all angles in any triangle is 180. Let s look at what this means for a right triangle: A right angle is an angle which

More information

Experiment 5: Polarization and Interference

Experiment 5: Polarization and Interference Experiment 5: Polarization and Interference Nate Saffold nas2173@columbia.edu Office Hour: Mondays, 5:30PM-6:30PM @ Pupin 1216 INTRO TO EXPERIMENTAL PHYS-LAB 1493/1494/2699 Introduction Outline: Review

More information

PHYS 1402 DIFFRACTION AND INTERFERENCE OF LIGHT: MEASURE THE WAVELENGTH OF LIGHT

PHYS 1402 DIFFRACTION AND INTERFERENCE OF LIGHT: MEASURE THE WAVELENGTH OF LIGHT PHYS 1402 DIFFRACTION AND INTERFERENCE OF LIGHT: MEASURE THE WAVELENGTH OF LIGHT I. OBJECTIVE The objective of this experiment is to observe the interference pattern from a double slit and a diffraction

More information

Matthew Schwartz Lecture 19: Diffraction and resolution

Matthew Schwartz Lecture 19: Diffraction and resolution Matthew Schwartz Lecture 19: Diffraction and resolution 1 Huygens principle Diffraction refers to what happens to a wave when it hits an obstacle. The key to understanding diffraction is a very simple

More information

Interference of Light

Interference of Light Lecture 23 Chapter 22 Physics II Wave Optics: Interference of Light Course website: http://faculty.uml.edu/andriy_danylov/teaching/physicsii Lecture Capture: http://echo360.uml.edu/danylov201415/physics2spring.html

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Single Slit Diffraction

Single Slit Diffraction Name: Date: PC1142 Physics II Single Slit Diffraction 5 Laboratory Worksheet Part A: Qualitative Observation of Single Slit Diffraction Pattern L = a 2y 0.20 mm 0.02 mm Data Table 1 Question A-1: Describe

More information

Class #10 Wednesday, November 8, 2017

Class #10 Wednesday, November 8, 2017 Graphics In Excel Before we create a simulation, we need to be able to make a drawing in Excel. The techniques we use here are also used in Mathematica and LabVIEW. Drawings in Excel take place inside

More information

Diffraction Challenge Problem Solutions

Diffraction Challenge Problem Solutions Diffraction Challenge Problem Solutions Problem 1: Measuring the Wavelength of Laser Light Suppose you shine a red laser through a pair of narrow slits (a = 40 μm) separated by a known distance and allow

More information

7 Interference and Diffraction

7 Interference and Diffraction Physics 12a Waves Lecture 17 Caltech, 11/29/18 7 Interference and Diffraction In our discussion of multiple reflection, we have already seen a situation where the total (reflected) wave is the sum of many

More information

2. Periodic functions have a repeating pattern called a cycle. Some examples from real-life that have repeating patterns might include:

2. Periodic functions have a repeating pattern called a cycle. Some examples from real-life that have repeating patterns might include: GRADE 2 APPLIED SINUSOIDAL FUNCTIONS CLASS NOTES Introduction. To date we have studied several functions : Function linear General Equation y = mx + b Graph; Diagram Usage; Occurence quadratic y =ax 2

More information

MTH 122 Calculus II Essex County College Division of Mathematics and Physics 1 Lecture Notes #11 Sakai Web Project Material

MTH 122 Calculus II Essex County College Division of Mathematics and Physics 1 Lecture Notes #11 Sakai Web Project Material MTH Calculus II Essex County College Division of Mathematics and Physics Lecture Notes # Sakai Web Project Material Introduction - - 0 - Figure : Graph of y sin ( x y ) = x cos (x + y) with red tangent

More information

Graded Assignment 2 Maple plots

Graded Assignment 2 Maple plots Graded Assignment 2 Maple plots The Maple part of the assignment is to plot the graphs corresponding to the following problems. I ll note some syntax here to get you started see tutorials for more. Problem

More information

Discussion 4. Data Abstraction and Sequences

Discussion 4. Data Abstraction and Sequences Discussion 4 Data Abstraction and Sequences Data Abstraction: The idea of data abstraction is to conceal the representation of some data and to instead reveal a standard interface that is more aligned

More information

Experiment 8 Wave Optics

Experiment 8 Wave Optics Physics 263 Experiment 8 Wave Optics In this laboratory, we will perform two experiments on wave optics. 1 Double Slit Interference In two-slit interference, light falls on an opaque screen with two closely

More information

Polar Coordinates. 2, π and ( )

Polar Coordinates. 2, π and ( ) Polar Coordinates Up to this point we ve dealt exclusively with the Cartesian (or Rectangular, or x-y) coordinate system. However, as we will see, this is not always the easiest coordinate system to work

More information

Use Parametric notation. Interpret the effect that T has on the graph as motion.

Use Parametric notation. Interpret the effect that T has on the graph as motion. Learning Objectives Parametric Functions Lesson 3: Go Speed Racer! Level: Algebra 2 Time required: 90 minutes One of the main ideas of the previous lesson is that the control variable t does not appear

More information

Goals: Course Unit: Describing Moving Objects Different Ways of Representing Functions Vector-valued Functions, or Parametric Curves

Goals: Course Unit: Describing Moving Objects Different Ways of Representing Functions Vector-valued Functions, or Parametric Curves Block #1: Vector-Valued Functions Goals: Course Unit: Describing Moving Objects Different Ways of Representing Functions Vector-valued Functions, or Parametric Curves 1 The Calculus of Moving Objects Problem.

More information

Graphing by. Points. The. Plotting Points. Line by the Plotting Points Method. So let s try this (-2, -4) (0, 2) (2, 8) many points do I.

Graphing by. Points. The. Plotting Points. Line by the Plotting Points Method. So let s try this (-2, -4) (0, 2) (2, 8) many points do I. Section 5.5 Graphing the Equation of a Line Graphing by Plotting Points Suppose I asked you to graph the equation y = x +, i.e. to draw a picture of the line that the equation represents. plotting points

More information

The location of the bright fringes can be found using the following equation.

The location of the bright fringes can be found using the following equation. What You Need to Know: In the past two labs we ve been thinking of light as a particle that reflects off of a surface or refracts into a medium. Now we are going to talk about light as a wave. If you take

More information

Problem Solving 10: Double-Slit Interference

Problem Solving 10: Double-Slit Interference MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of hysics roblem Solving 10: Double-Slit Interference OBJECTIVES 1. To introduce the concept of interference. 2. To find the conditions for constructive

More information

Hi. I m a three. I m always a three. I never ever change. That s why I m a constant.

Hi. I m a three. I m always a three. I never ever change. That s why I m a constant. Lesson 1-1: 1 1: Evaluating Expressions Hi. I m a three. I m always a three. I never ever change. That s why I m a constant. 3 Real life changes, though. So to talk about real life, math needs things that

More information

CAUTION: NEVER LOOK DIRECTLY INTO THE LASER BEAM.

CAUTION: NEVER LOOK DIRECTLY INTO THE LASER BEAM. LABORATORY 12 PHYSICAL OPTICS I: INTERFERENCE AND DIFFRACTION Objectives To be able to explain demonstrate understanding of the dependence of a double slit interference pattern on slit width, slit separation

More information

Calculus III. 1 Getting started - the basics

Calculus III. 1 Getting started - the basics Calculus III Spring 2011 Introduction to Maple The purpose of this document is to help you become familiar with some of the tools the Maple software package offers for visualizing curves and surfaces in

More information

Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions

Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions 144 p 1 Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions Graphing the sine function We are going to begin this activity with graphing the sine function ( y = sin x).

More information

Trig for right triangles is pretty straightforward. The three, basic trig functions are just relationships between angles and sides of the triangle.

Trig for right triangles is pretty straightforward. The three, basic trig functions are just relationships between angles and sides of the triangle. Lesson 10-1: 1: Right ngle Trig By this point, you ve probably had some basic trigonometry in either algebra 1 or geometry, but we re going to hash through the basics again. If it s all review, just think

More information

Here is the data collected.

Here is the data collected. Introduction to Scientific Analysis of Data Using Spreadsheets. Computer spreadsheets are very powerful tools that are widely used in Business, Science, and Engineering to perform calculations and record,

More information

APPM 2460 PLOTTING IN MATLAB

APPM 2460 PLOTTING IN MATLAB APPM 2460 PLOTTING IN MATLAB. Introduction Matlab is great at crunching numbers, and one of the fundamental ways that we understand the output of this number-crunching is through visualization, or plots.

More information

Lab 2B Parametrizing Surfaces Math 2374 University of Minnesota Questions to:

Lab 2B Parametrizing Surfaces Math 2374 University of Minnesota   Questions to: Lab_B.nb Lab B Parametrizing Surfaces Math 37 University of Minnesota http://www.math.umn.edu/math37 Questions to: rogness@math.umn.edu Introduction As in last week s lab, there is no calculus in this

More information

Waves & Oscillations

Waves & Oscillations Physics 42200 Waves & Oscillations Lecture 41 Review Spring 2016 Semester Matthew Jones Final Exam Date:Tuesday, May 3 th Time:7:00 to 9:00 pm Room: Phys 112 You can bring one double-sided pages of notes/formulas.

More information

DEVIL PHYSICS THE BADDEST CLASS ON CAMPUS IB PHYSICS

DEVIL PHYSICS THE BADDEST CLASS ON CAMPUS IB PHYSICS DEVIL PHYSICS THE BADDEST CLASS ON CAMPUS IB PHYSICS TSOKOS LESSON 4-7 DIFFRACTION Assessment Statements AHL Topic 11.3. and SL Option A-4 Diffraction: 11.3.1. Sketch the variation with angle of diffraction

More information

ACT Math test Trigonometry Review

ACT Math test Trigonometry Review Many students are a little scared of trig, but the ACT seems to overcompensate for that fact by testing trig in an extremely straightforward way. ACT trig is basically all about right triangles. When it

More information

Chapter 12 Notes: Optics

Chapter 12 Notes: Optics Chapter 12 Notes: Optics How can the paths traveled by light rays be rearranged in order to form images? In this chapter we will consider just one form of electromagnetic wave: visible light. We will be

More information

Ph3 Mathematica Homework: Week 1

Ph3 Mathematica Homework: Week 1 Ph3 Mathematica Homework: Week 1 Eric D. Black California Institute of Technology v1.1 1 Obtaining, installing, and starting Mathematica Exercise 1: If you don t already have Mathematica, download it and

More information

Electricity & Optics

Electricity & Optics Physics 24100 Electricity & Optics Lecture 27 Chapter 33 sec. 7-8 Fall 2017 Semester Professor Koltick Clicker Question Bright light of wavelength 585 nm is incident perpendicularly on a soap film (n =

More information

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Relations Let s talk about relations! Grade 6 Math Circles November 6 & 7 2018 Relations, Functions, and

More information

a point B, 4 m along x axis. Is re constructive or Consider interference at B if wavelength sound is destructive The path dierence between two sources

a point B, 4 m along x axis. Is re constructive or Consider interference at B if wavelength sound is destructive The path dierence between two sources 214 Spring 99 Problem Set 8 Optional Problems Physics March 16, 1999 Hout Two Slit Interference 1. atwo-slit experiment, slit widths are adjusted so that intensity In light reaching screen from one slit

More information

14 Chapter. Interference and Diffraction

14 Chapter. Interference and Diffraction 14 Chapter Interference and Diffraction 14.1 Superposition of Waves... 14-14.1.1 Interference Conditions for Light Sources... 14-4 14. Young s Double-Slit Experiment... 14-4 Example 14.1: Double-Slit Experiment...

More information

Single-slit diffraction plots by Sohrab Ismail-Beigi, February 5, 2009

Single-slit diffraction plots by Sohrab Ismail-Beigi, February 5, 2009 Single-slit diffraction plots by Sohrab Ismail-Beigi, February 5, 2009 On the following pages are a set of computed single-slit intensities. The slit is long and narrow (i.e not circular but linear). The

More information

Introduction to VPython and 3D Computer Modeling

Introduction to VPython and 3D Computer Modeling Introduction to VPython and 3D Computer Modeling OBJECTIVES In this course you will construct computer models to: Visualize motion in 3D Visualize vector quantities like position, momentum, and force in

More information

Animations involving numbers

Animations involving numbers 136 Chapter 8 Animations involving numbers 8.1 Model and view The examples of Chapter 6 all compute the next picture in the animation from the previous picture. This turns out to be a rather restrictive

More information

Pong in Unity a basic Intro

Pong in Unity a basic Intro This tutorial recreates the classic game Pong, for those unfamiliar with the game, shame on you what have you been doing, living under a rock?! Go google it. Go on. For those that now know the game, this

More information

Physics 1C, Summer 2011 (Session 1) Practice Midterm 2 (50+4 points) Solutions

Physics 1C, Summer 2011 (Session 1) Practice Midterm 2 (50+4 points) Solutions Physics 1C, Summer 2011 (Session 1) Practice Midterm 2 (50+4 points) s Problem 1 (5x2 = 10 points) Label the following statements as True or False, with a one- or two-sentence explanation for why you chose

More information

1 Introduction to Matlab

1 Introduction to Matlab 1 Introduction to Matlab 1. What is Matlab? Matlab is a computer program designed to do mathematics. You might think of it as a super-calculator. That is, once Matlab has been started, you can enter computations,

More information

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Functions and Graphs The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Launch Mathematica. Type

More information

Chapter 36. Diffraction. Dr. Armen Kocharian

Chapter 36. Diffraction. Dr. Armen Kocharian Chapter 36 Diffraction Dr. Armen Kocharian Diffraction Light of wavelength comparable to or larger than the width of a slit spreads out in all forward directions upon passing through the slit This phenomena

More information

Physics 123 Optics Review

Physics 123 Optics Review Physics 123 Optics Review I. Definitions & Facts concave converging convex diverging real image virtual image real object virtual object upright inverted dispersion nearsighted, farsighted near point,

More information

Math 7 Elementary Linear Algebra PLOTS and ROTATIONS

Math 7 Elementary Linear Algebra PLOTS and ROTATIONS Spring 2007 PLOTTING LINE SEGMENTS Math 7 Elementary Linear Algebra PLOTS and ROTATIONS Example 1: Suppose you wish to use MatLab to plot a line segment connecting two points in the xy-plane. Recall that

More information

LC-1: Interference and Diffraction

LC-1: Interference and Diffraction Your TA will use this sheet to score your lab. It is to be turned in at the end of lab. You must use complete sentences and clearly explain your reasoning to receive full credit. The lab setup has been

More information

PHYSICS. Chapter 33 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT

PHYSICS. Chapter 33 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT PHYSICS FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E Chapter 33 Lecture RANDALL D. KNIGHT Chapter 33 Wave Optics IN THIS CHAPTER, you will learn about and apply the wave model of light. Slide

More information

Diffraction: Propagation of wave based on Huygens s principle.

Diffraction: Propagation of wave based on Huygens s principle. Diffraction: In addition to interference, waves also exhibit another property diffraction, which is the bending of waves as they pass by some objects or through an aperture. The phenomenon of diffraction

More information

Physical Optics FOREWORD

Physical Optics FOREWORD Physical Optics 3L Object: Apparatus: To study the intensity patterns formed by single and double slits and by diffraction gratings. Diode laser, single slit, double slit, diffraction grating, aperture,

More information

Introduction to VPython This tutorial will guide you through the basics of programming in VPython.

Introduction to VPython This tutorial will guide you through the basics of programming in VPython. 1 Introduction to VPython This tutorial will guide you through the basics of programming in VPython. VPython is a programming language that allows you to easily make 3-D graphics and animations. We will

More information

Algebra 2 Semester 1 (#2221)

Algebra 2 Semester 1 (#2221) Instructional Materials for WCSD Math Common Finals The Instructional Materials are for student and teacher use and are aligned to the 2016-2017 Course Guides for the following course: Algebra 2 Semester

More information

Physics 214 Midterm Fall 2003 Form A

Physics 214 Midterm Fall 2003 Form A 1. A ray of light is incident at the center of the flat circular surface of a hemispherical glass object as shown in the figure. The refracted ray A. emerges from the glass bent at an angle θ 2 with respect

More information

Parametric Curves, Polar Plots and 2D Graphics

Parametric Curves, Polar Plots and 2D Graphics Parametric Curves, Polar Plots and 2D Graphics Fall 2016 In[213]:= Clear "Global`*" 2 2450notes2_fall2016.nb Parametric Equations In chapter 9, we introduced parametric equations so that we could easily

More information

G3 TWO-SOURCE INTERFERENCE OF WAVES

G3 TWO-SOURCE INTERFERENCE OF WAVES G3 TWO-SOURCE INTERFERENCE OF WAVES G4 DIFFRACTION GRATINGS HW/Study Packet Required: READ Tsokos, pp 624-631 SL/HL Supplemental: Hamper, pp 424-428 DO Questions pp 631-632 #1,3,8,9,10 REMEMBER TO. Work

More information

Assignment 10 Solutions Due May 1, start of class. Physics 122, sections and 8101 Laura Lising

Assignment 10 Solutions Due May 1, start of class. Physics 122, sections and 8101 Laura Lising Physics 122, sections 502-4 and 8101 Laura Lising Assignment 10 Solutions Due May 1, start of class 1) Revisiting the last question from the problem set before. Suppose you have a flashlight or a laser

More information

Graphing Trig Functions - Sine & Cosine

Graphing Trig Functions - Sine & Cosine Graphing Trig Functions - Sine & Cosine Up to this point, we have learned how the trigonometric ratios have been defined in right triangles using SOHCAHTOA as a memory aid. We then used that information

More information

Chapter 38 Wave Optics (II)

Chapter 38 Wave Optics (II) Chapter 38 Wave Optics (II) Initiation: Young s ideas on light were daring and imaginative, but he did not provide rigorous mathematical theory and, more importantly, he is arrogant. Progress: Fresnel,

More information

In this chapter, we will investigate what have become the standard applications of the integral:

In this chapter, we will investigate what have become the standard applications of the integral: Chapter 8 Overview: Applications of Integrals Calculus, like most mathematical fields, began with trying to solve everyday problems. The theory and operations were formalized later. As early as 70 BC,

More information

Algebra II. Slide 1 / 162. Slide 2 / 162. Slide 3 / 162. Trigonometric Functions. Trig Functions

Algebra II. Slide 1 / 162. Slide 2 / 162. Slide 3 / 162. Trigonometric Functions. Trig Functions Slide 1 / 162 Algebra II Slide 2 / 162 Trigonometric Functions 2015-12-17 www.njctl.org Trig Functions click on the topic to go to that section Slide 3 / 162 Radians & Degrees & Co-terminal angles Arc

More information

2 A little on Spreadsheets

2 A little on Spreadsheets 2 A little on Spreadsheets Spreadsheets are computer versions of an accounts ledger. They are used frequently in business, but have wider uses. In particular they are often used to manipulate experimental

More information

Waves & Oscillations

Waves & Oscillations Physics 42200 Waves & Oscillations Lecture 42 Review Spring 2013 Semester Matthew Jones Final Exam Date:Tuesday, April 30 th Time:1:00 to 3:00 pm Room: Phys 112 You can bring two double-sided pages of

More information

In this class, we addressed problem 14 from Chapter 2. So first step, we expressed the problem in STANDARD FORM:

In this class, we addressed problem 14 from Chapter 2. So first step, we expressed the problem in STANDARD FORM: In this class, we addressed problem 14 from Chapter 2. So first step, we expressed the problem in STANDARD FORM: Now that we have done that, we want to plot our constraint lines, so we can find our feasible

More information

Chapter 8: Physical Optics

Chapter 8: Physical Optics Chapter 8: Physical Optics Whether light is a particle or a wave had puzzled physicists for centuries. In this chapter, we only analyze light as a wave using basic optical concepts such as interference

More information

2D and 3D Transformations AUI Course Denbigh Starkey

2D and 3D Transformations AUI Course Denbigh Starkey 2D and 3D Transformations AUI Course Denbigh Starkey. Introduction 2 2. 2D transformations using Cartesian coordinates 3 2. Translation 3 2.2 Rotation 4 2.3 Scaling 6 3. Introduction to homogeneous coordinates

More information

The Mathcad Workspace 7

The Mathcad Workspace 7 For information on system requirements and how to install Mathcad on your computer, refer to Chapter 1, Welcome to Mathcad. When you start Mathcad, you ll see a window like that shown in Figure 2-1. By

More information

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines Math 18.02 (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines February 12 Reading Material: From Simmons: 17.1 and 17.2. Last time: Square Systems. Word problem. How many solutions?

More information

Diffraction. * = various kinds of interference effects. For example why beams of light spread out. Colors on CDs. Diffraction gratings.

Diffraction. * = various kinds of interference effects. For example why beams of light spread out. Colors on CDs. Diffraction gratings. Diffraction * Ken Intriligator s week 10 lecture, Dec.3, 2013 * = various kinds of interference effects. For example why beams of light spread out. Colors on CDs. Diffraction gratings. E.g. : Shadow edges

More information

CALCULUS II. Parametric Equations and Polar Coordinates. Paul Dawkins

CALCULUS II. Parametric Equations and Polar Coordinates. Paul Dawkins CALCULUS II Parametric Equations and Polar Coordinates Paul Dawkins Table of Contents Preface... ii Parametric Equations and Polar Coordinates... 3 Introduction... 3 Parametric Equations and Curves...

More information

Models of Light The wave model: The ray model: The photon model:

Models of Light The wave model: The ray model: The photon model: Models of Light The wave model: under many circumstances, light exhibits the same behavior as sound or water waves. The study of light as a wave is called wave optics. The ray model: The properties of

More information

Recognizing a Function

Recognizing a Function Recognizing a Function LAUNCH (7 MIN) Before Why would someone hire a dog walking service? During Do you know exactly what it would cost to hire Friendly Dog Walking? After How does each service encourage

More information