Doppler effect for a moving observer



Similar documents
Solution: F = kx is Hooke s law for a mass and spring system. Angular frequency of this system is: k m therefore, k

Copyright 2008 Pearson Education, Inc., publishing as Pearson Addison-Wesley.

AP1 Waves. (A) frequency (B) wavelength (C) speed (D) intensity. Answer: (A) and (D) frequency and intensity.

physics 1/12/2016 Chapter 20 Lecture Chapter 20 Traveling Waves

1) The time for one cycle of a periodic process is called the A) wavelength. B) period. C) frequency. D) amplitude.

AP1 Oscillations. 1. Which of the following statements about a spring-block oscillator in simple harmonic motion about its equilibrium point is false?

Trigonometric functions and sound

INTERFERENCE OF SOUND WAVES

1 One Dimensional Horizontal Motion Position vs. time Velocity vs. time

Determination of Acceleration due to Gravity

Simple Harmonic Motion Experiment. 1 f

Resonance in a Closed End Pipe

Chapter 15, example problems:

Exhibit 7.5: Graph of Total Costs vs. Quantity Produced and Total Revenue vs. Quantity Sold

Practice Test SHM with Answers

2 Session Two - Complex Numbers and Vectors

ANALYTICAL METHODS FOR ENGINEERS

Physics 231 Lecture 15

PHYS 211 FINAL FALL 2004 Form A

Physical Science Study Guide Unit 7 Wave properties and behaviors, electromagnetic spectrum, Doppler Effect

AP Physics C. Oscillations/SHM Review Packet

INTERFERENCE OF SOUND WAVES

Finding Equations of Sinusoidal Functions From Real-World Data

A comparison of radio direction-finding technologies. Paul Denisowski, Applications Engineer Rohde & Schwarz

PHYS 101-4M, Fall 2005 Exam #3. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Standing Waves on a String

Solution Derivations for Capa #13

Manufacturing Equipment Modeling

16.2 Periodic Waves Example:

Sample Questions for the AP Physics 1 Exam

Answer the following questions during or after your study of Wave Properties. 4. How are refraction and the speed of wave in different media related?

Graphing Motion. Every Picture Tells A Story

RLC Series Resonance

Lab 1. The Fourier Transform

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level

Lesson 3 Using the Sine Function to Model Periodic Graphs

Experiment 9. The Pendulum

Oscillations. Vern Lindberg. June 10, 2010

Examples of Data Representation using Tables, Graphs and Charts

Scientific Programming

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5

Section 1.1 Linear Equations: Slope and Equations of Lines

How to Graph Trigonometric Functions

State Newton's second law of motion for a particle, defining carefully each term used.

CASE HISTORY #2. APPLICATION: Piping Movement Survey using Permalign Laser Measurement System

Notes for EER #4 Graph transformations (vertical & horizontal shifts, vertical stretching & compression, and reflections) of basic functions.

Lab Exercise 1: Acoustic Waves

SOLUTIONS TO CONCEPTS CHAPTER 15

Physics 1120: Simple Harmonic Motion Solutions

Simple Harmonic Motion

7. Beats. sin( + λ) + sin( λ) = 2 cos(λ) sin( )

Euler s Method and Functions

Work and Energy. W =!KE = KE f

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

Candidate Number. General Certificate of Education Advanced Level Examination June 2014

HOOKE S LAW AND SIMPLE HARMONIC MOTION

Direct and Reflected: Understanding the Truth with Y-S 3

Spring Simple Harmonic Oscillator. Spring constant. Potential Energy stored in a Spring. Understanding oscillations. Understanding oscillations

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

In order to describe motion you need to describe the following properties.

Name: Date: Class: Finding Epicenters and Measuring Magnitudes Worksheet

Answer, Key Homework 3 David McIntyre 1

Exam 1 Review Questions PHY Exam 1

Lab 1: Introduction to PSpice

The Doppler Effect & Hubble

explain your reasoning

Temperature Scales. The metric system that we are now using includes a unit that is specific for the representation of measured temperatures.

F B = ilbsin(f), L x B because we take current i to be a positive quantity. The force FB. L and. B as shown in the Figure below.

How to compute Random acceleration, velocity, and displacement values from a breakpoint table.

MATERIALS. Multisim screen shots sent to TA.

Analog and Digital Signals, Time and Frequency Representation of Signals

Electrical Resonance

Questions: Does it always take the same amount of force to lift a load? Where should you press to lift a load with the least amount of force?

MET 306. Activity 8a. Mechanism Design Creo 2.0 Level 7 POINT A GROUND LINK LINK 1 LINK 2 LINK 3 POINT B 10/15/2010 1

Building a simple seismometer

Lesson 3 DIRECT AND ALTERNATING CURRENTS. Task. The skills and knowledge taught in this lesson are common to all missile repairer tasks.

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

Lesson 11. Luis Anchordoqui. Physics 168. Tuesday, December 8, 15

C B A T 3 T 2 T What is the magnitude of the force T 1? A) 37.5 N B) 75.0 N C) 113 N D) 157 N E) 192 N

Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus

Physics 214 Waves and Quantum Physics. Lecture 1, p 1

Waves-Wave Characteristics

Graphs of Polar Equations

ChE-1800 H-2: Flowchart Diagrams (last updated January 13, 2013)

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

Torque and Rotary Motion

ELASTIC FORCES and HOOKE S LAW

Scientific Graphing in Excel 2010

APPLICATION NOTE ULTRASONIC CERAMIC TRANSDUCERS

(1): 50 minutes None Whole Class N/A 03.SC.TE TE.2.2 Bar Graph, Graph, Line graph, Pie Graph

Let s first see how precession works in quantitative detail. The system is illustrated below: ...

Lecture 1-10: Spectrograms

Tennessee State University

Diffraction and Young s Single Slit Experiment

104 Practice Exam 2-3/21/02

Basic Understandings

4.4 WAVE CHARACTERISTICS 4.5 WAVE PROPERTIES HW/Study Packet

Engineering Sciences 22 Systems Summer 2004

Transcription:

Program 12 / Chapter 14 Doppler effect for a moving observer When a wave source and receiver are moving relative to each other, the frequency of the waves arriving at the receiver is changed. This phenomena, known as the Doppler effect, accounts for the difference heard when a siren or whistle is moving towards you or away from you. The program in this section computes the wave displacement measured by a moving observer, illustrating the change in frequency. Theory When either the source or receiver of waves is moving, the frequency of the waves observed at the receiver is shifted; this phenomenon is called the Doppler effect. In this section we specifically consider the scenario where the wave source (e.g., a loud speaker) is stationary while the observer (e.g., a listener) is moving either directly towards or away from the source (this is Case B in section 14 7). Your textbook gives the frequency measured by the moving observer to be f = f 0 1+ v r v f 0 1 v r v if moving toward source if moving away from source where f 0 is the frequency of the waves at the source (i.e., frequency measured by a stationary observer), v r is the velocity of the observer and v is the wave speed. For example, if the observer is moving away from the source with a speed of v r = v/2, then the frequency measured by the moving observer is half the source frequency. We will consider a plane wave where the wave displacement as a function of position and time is given by, z(x,t) = sin(kx t) where k is the wavenumber and ω is the angular frequency (ω = 2πf 0 ). The wave displacement measured by a moving observer is z r (t) = sin(kx r (t) t) where x r is the position of the observer. The program in this section measures and plots the wave displacement measured by both a moving and a stationary observer, illustrating the Doppler effect. Program The MATLAB program doppler, which illustrates the Doppler effect for a moving observer, is outlined below: Initialize variables (e.g., speeds of the wave and moving observer). Set up the graphics. Loop over the number of steps, periodically plotting a snapshot. Compute the wave displacement at location of the moving observer. Compute the wave displacement at location of the stationary observer. If it is time to plot a snapshot then, 12-1

Compute the wave displacement versus x for the current time. Plot the wave amplitude versus position. Mark the location of each observer with a vertical bar. Mark the wave amplitude at the moving and stationary observers. Record the time and wave amplitude at each observer. Increment the time and the position of the moving observer. Plot wave displacement versus time as seen by each observer. For an observer speed of 0.5 m/s (the wave speed is 1 m/s), one of the snapshots produced by the program is shown below. The vertical bars indicate the positions of the observers; the stationary observer is located at the center of the graph while the moving observer is near the right edge. 1 *** STRIKE ANY KEY TO CONTINUE *** 0.8 0.6 0.4 Wave moving this way => Wave displacement 0.2 0-0.2-0.4-0.6-0.8-1 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Position (m) t = 2.7 s The wave moves from left to right so the moving observer is moving away from the source. The wave amplitude is marked by an for the stationary observer and by an asterisk for the moving observer. After all the snapshots have been computed, the program pauses and prompts you to strike any key to continue. After proceeding, the graph of the wave amplitude at each observer as a function of time is produced. 12-2

1 Moving (*) and stationary (x) observers 0.8 0.6 Wave displacement 0.4 0.2 0-0.2-0.4-0.6-0.8-1 0 0.5 1 1.5 2 2.5 3 Time (s) In this case, since the moving observer is moving away from the wave source at half the wave speed, that observer measures a frequency that is half the frequency measured by the stationary observer. This result is found in the above plot since the stationary observer records 3 full oscillations while the moving observer records 1 1 / 2 oscillations. Exercises 1. (I) Run the doppler program for the following observer speeds and print out the final plot (wave displacement versus time) for each case: (a) v r = 0.9 m/s; (b) v r = 0.5 m/s; (c) v r = 0.0 m/s; (d) v r = 0.25 m/s; (e) v r = 0.5 m/s; (f) v r = 0.9 m/s. 2. (I) Increase the horizontal scale used for plotting (the variable xmax) and run doppler program for the following observer speeds; print out the final plot (wave displacement versus time) for each case: (a) v r = 2.0 m/s; (b) v r = 1.5 m/s; (c) v r = 1.5 m/s; (d) v r = 2.0 m/s. 3. (II) Modify the doppler program so that it plots the wave displacement versus time as predicted by the Doppler effect, i.e., plot the function z(t) = sin(2 f t) Run your program and plot the cases listed in exercise 1. 4. (II) Modify the doppler program so that the source, instead of producing a sine wave, produces the step function, +1 if(sin(kx t) > 0) z(x,t) = 1 if(sin(kx t) < 0) 12-3

Run your program and plot the cases listed in exercise 1. 5. (III) Modify the doppler program so that it simulates a moving source with a stationary observer. Run your program and print out the wave displacement versus time graph for the following source speeds: v s = 0.9 m/s, 0.5 m/s, 0.0 m/s, 0.25 m/s, 0.5 m/s and 0.9 m/s. 6. (III) Modify the doppler program so that it simulates a moving source and a moving observer. Run your program and print out the wave displacement versus time graph for the following source and receiver speeds: v s = 0.5 m/s v r = 0.25 m/s; v s = 0.25 m/s, v r = 0.25 m/s and v s = 0.25 m/s, v r = 0.25 m/s. Listing doppler.m % doppler - Compute doppler effect for moving observer clear all; help doppler; % Clear memory; print header %@ Initialize variables ksource = 2*pi; % Wave number of the source (m^-1) wsource = 2*pi; % Frequency (omega) of source (Hz) cwave = wsource/ksource; % Speed of the wave fprintf('speed of the wave is %g m/s\n',cwave); vobs = input('enter observer speed (m/s): '); t = 0; % Initial time tincrement = 0.03; % Time increment between steps %@ Set up graphics clf; figure(gcf); % Clear figure; Bring figure window forward xmax = 5; % Maximum value of x for plots NPoints = 100; % Number of points to plot when drawing the wave for i=1:npoints % Compute values of x for plot x(i) = (i-1)/(npoints-1)*xmax; end xobs0 = xmax/2; % Initial location of observer (center of plot) xobs = xobs0; % Location of observer %@ Loop over the number of steps, periodically plotting a snapshot NSteps = 100; % Number of steps ShotInterval = 10; % Snapshot plotted once every 10 steps for istep=1:nsteps %@ Compute the wave displacement at location of moving observer zobs = sin(ksource*xobs - wsource*t); %@ Compute the wave displacement at location of stationary observer zstat = sin(ksource*xobs0 - wsource*t); %@ If it is time to plot a snapshot then, if( rem(istep,shotinterval) == 1 ) %@ Compute and plot the wave displacement vs x for the current time z = sin(ksource*x - wsource*t); plot(x,z,'y-'); axis([0, xmax, -1, 1]); % Set the axis limits xlabel(sprintf('position (m) t = %g s',t)); % X-axis label ylabel('wave displacement'); % Y-axis label title('observers at positions marked with vertical lines'); hold on; %@ Mark the location of each observer with a vertical bar plot([xobs xobs],[-1 1],'r:'); plot([xobs0 xobs0],[-1 1],'b:'); 12-4

%@ Mark the wave amplitude at the moving and stationary observers plot(xobs,zobs,'r*'); plot(xobs0,zstat,'bx'); %@ Write text string on graph (indicating wave direction) text(1.0+cwave*t,0.5,'wave moving this way =>'); drawnow; hold off; end % Draw the graph end %@ Record the time and wave amplitude at each observer tplot(istep) = t; % Record time for final plot zobsplot(istep) = zobs; % Record zobs for final plot zstatplot(istep) = zstat; % Record zstat for final plot %@ Increment the time and the position of the moving observer t = t + tincrement; % Update time xobs = xobs + vobs*tincrement; % Update moving observer position title('*** STRIKE ANY KEY TO CONTINUE ***'); pause; % Pause before drawing the next plot %@ Plot wave displacement versus time as seen by each observer hold off; % Turn off the plotting hold plot(tplot,zobsplot,'r*',tplot,zstatplot,'bx') xlabel('time (s)'); ylabel('wave displacement'); title('moving (*) and stationary (x) observers'); 12-5

12-6