Author Topic: Moving Point source: Doppler effect and shock wave  (Read 387652 times)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Moving Point source: Doppler effect and shock wave
« on: January 29, 2004, 09:17:21 pm »
Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME


You are welcomed to check out EJS version of Doppler effect (You can hear sound,too!)


Want to see a real picture showing sonic boom?
Please click Astronomy picture of the day



Things to try:
1. wave speed, wave length and the speed of the point source can be adjusted
2. Click near tip of the corresponding arrows and drag the mouse
3. Click the mouse button within the window to suspend the animation, click it again to continue.
 The mouse position(related to initial poition) will be shown.
 Left click the mouse button and drag it to show the displacememt.
 Right click the mouse button and drag the mouse to show the angle.
4. Click at the center of the red ruler to drag it. Click at either end and drag the mouse to change its length.
5. Shock wave is formed if the point source moving faster than the wave speed.

If you change the source speed larger than wave speed, you will see something similar to the following picture (from http://antwrp.gsfc.nasa.gov/apod/image/0102/sonicboomplane_navy.jpg).


http://www.youtube.com/watch?v=-d9A2oq1N38


Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

  • Guest
topic21
« Reply #1 on: January 30, 2004, 08:55:48 am »
Subject: Doppler effect and shock wave
Date: Sat, 17 Jan 1998 20:49:55 +0700
From: Amrat Chawla <amratc@mozart.inet.co.th>
To: hwang@phy.ntnu.edu.tw
Dear Sir,
Even though I am in trading business, in my personal time I am very much interested in Physics
and I bought some 1st year university text book to study Physics as hobby.
But frankly, your web site give me a very clear lesson just in few days
that I discovered your site I understand a lot !!.
For example I try to understand the sonic-boom but even I read many time I still cant get it,
but with just few minute of virtual experiment with 'Doppler effect and shock wave' it became clear to me !!
Really thankyou very much for your site.
I regard you as my teacher.
With respect and best rgds.
Amrat Chawla

  • Guest
topic21
« Reply #2 on: January 30, 2004, 09:08:04 am »
Subject: Your Doppler effect applet
Date: Sun, 8 Mar 1998 22:39:05 -0600
From: "Michael Vershinin" <vershini@soltec.net>
To: <hwang@phy03.phy.ntnu.edu.tw>
Hi,
Your applet is pretty neat, but since you asked for suggestions...
1) I would not allow the user to set a negative wavelength.
2) If negative source speed is chosen, your source runs off the edge of the window.
3) Negative wave speed is a bit awkward, since your source is actually a sink.
Michael Vershinin

  • Guest
topic21
« Reply #3 on: January 30, 2004, 12:09:18 pm »
ubject: Your applets
Date: Fri, 24 Jul 1998 13:13:16 -0400
From: diegel@med.unc.edu (Mike Diegel)
To: hwang@phy03.phy.ntnu.edu.tw
Fu-Kwun,
My friend and I had been discussing what a sonic boom is
and I was trying to describe how the sound waves come together to make it happen.
We came across your web page at
http://didaktik.physik.uni-wuerzburg.de/~pkrahmer/ntnujava/Doppler/Doppler.html
and used the applet. We thought it was a fantastic illustration of what a sonic boom is,
and we just wanted to let you know that your work was appreciated.
Thanks for the help.
Mike
Mike Diegel
diegel@med.unc.edu 966-9100

  • Guest
topic21
« Reply #4 on: January 30, 2004, 12:17:10 pm »
Subject: DOPPLER EFFECT
Date: Fri, 09 Oct 1998 09:43:01 PDT
From: "Michael Breen" <breenmj@hotmail.com>
To: hwang@phy03.phy.ntnu.edu.tw
Wow, I've been teaching 17 years and finally I can show students doppler
effect and sonic boom. Thanks

  • Guest
topic21
« Reply #5 on: January 30, 2004, 12:51:02 pm »
Subject: SV: Doppler applet wish (& propagation)
Date: Fri, 28 May 1999 09:28:04 +0100
From: Jeff Forssell <JF@ssvh.se>
To: "'hwang@phy03.phy.ntnu.edu.tw'" <hwang@phy03.phy.ntnu.edu.tw>
CC: Claes Ahlin <AI@ssvh.se>
Thank you! That was fast!

The doppler applet is more flexibla now. I would though prefer if one
could lefdt press and drag between 2 freely chosable points and get
delta x, delta y; rather than only distance from source.
 Another detail is that the y coordinate is negative upwards which is
not the most common matematically, though those distances aren't so
interesting.

You might be interested to know that the doppler applet was referred to
in one of the questions in the latest National Exam in Physics. But we
aren't allowed to disclose the contents. (So erase this letter :-) )

I assume the index.html page was in Chinese (It sure wasn't English!)
 

The propagation applet is perfect. Whoops I just noticed that for large
angles of incidence, the incident beam became solid red!


--------------------------------------------------------------------------------

Subject: SV: SV: Doppler applet wish (&propagation)
Date: Mon, 31 May 1999 05:43:14 +0100
From: Jeff Forssell <JF@ssvh.se>
To: "'Fu-Kwun Hwang'" <hwang@phy03.phy.ntnu.edu.tw>
I notice that if I enter a user ratio in propagation, the top and bottom
field maintain the colors it had before, no matter whether the ratio is
more or less that 1. Maybe it would be good to have the optically more
dense media become gray.

  I see that you have put in the angles also. I thought of suggesting
that but I forgot to write it.

A new idea I got was is: could the intensity of the beam colors show how
much of the radiation is reflected and transmitted. No big need, but it
would be nice, even if just approximate. But that would be complicated
because polarization comes in also. That would be a challenge! Maybe
better with a separate applet. But you have made some amazingly compact
versatile applets before. (Like the lens /mirror one!)

I think there maybe is a serious flaw in the doppler applet: example
with the default settings the wavelength is supposed to be 20. If I
measure on the right it is 20 and left it is 60 if i change the speed
to 4 the measured distance between wavecrests becomes: 42 38 which
seems to indicte that the wavelength is actually 40. I' m in a bit of a
hurry until wednesday so I may have made a mistake.



--------------------------------------------------------------------------------

Subject: more ideas for doppler and propagation applets
Date: Wed, 2 Jun 1999 09:29:17 +0100
From: Jeff Forssell <JF@ssvh.se>
To: "'Hwang'" <hwang@phy03.phy.ntnu.edu.tw>
CC: Claes Ahlin <AI@ssvh.se>
I just got an idea för the doppler applet that I hope you will like:
[ ] listener in top part

if someone checks in the box, the user can place a "listner" anywhere in
the window.
Whenever a wavefront passes him the computer makes a sound (a beep or
tick or something).
For example: I place my listner in front of the advancing source:
beep beep beep beep beep (then it passes) beep beep beep beep
If I place my listener off to the side I would get a less pronounced
effect
(what should happen when a supersonic "bang" arrives should of course be
some loud noise).

Another wish for the propagation applet:
increase the n1/n2 options with "diamond to air". I think people
tend to be fascinated by diamonds and they do have a spectacularly
high n value. (I saw that in another persons refraction applet, which
also included the possibility to show wavelength changes (also different
colors for the different wavelengths) but I prefer yours otherwise)



--------------------------------------------------------------------------------

Thank you for your answer. I have a lots of tests to grade now at the
end of the term. Perhaps it is the same for you.

FK hwang

  • Guest
topic21
« Reply #6 on: January 30, 2004, 12:51:31 pm »
Subject:  Doppler applet wish (& propagation)
Date:  Wed, 26 May 1999 08:25:32 +0100
From:  Jeff Forssell
To:  "'hwang@phy03.phy.ntnu.edu.tw'"
I like the doppler applet (as I do most of your Javas) but when I was
about to try to use the x,y coordinate display to measure the difference
in apparent wavelength on different sides of the source, I found that
the display changed to angle. Which is very good in some cases but it
ought to be easy to have both. Either i 2 windows or perhaps left click=
angle, right click=coordinates

Another wish would be that the "propagation applet (which I love!) could
have the top medium become darker than the bottom when it´s n value is
greater and increase the choice of n1/n2 to include day glass about air
below. (I know and appreciate the possiblity to set the n/n ratio to
0.667, but if you feel like adding something I´d appreciate the above)

thank you
Jeff Forssell
personal homepage:  http://www.torget.se/users/i/iluhya/index.htm
my village technology homepage:  http://home.bip.net/jeff.forssell
Swedish National Institute for Distance Education (SSVH)
Box 3024  SE-871 03 Härnösand /Sweden
tel +46(0)611-55 79 48  fax +46(0)611-55 79 80
schools homepage  www_ssvh_se (URL no longer exists, change . to _ by Fu-Kwun 2007/08/20)
residence +46(0)611-22144

FKHwang2

  • Guest
topic21
« Reply #7 on: January 30, 2004, 01:41:10 pm »
Subject: SV: SV: SV: Doppler applet wish (&propagation)
Date:  Mon, 7 Jun 1999 07:06:02 +0100
From:  Jeff Forssell
To:  "'hwang@phy03.phy.ntnu.edu.tw'"
CC:  Claes Ahlin
I am in a bit of a hurry with other things also, but I have looked at the
applets and they look good!

You made a very nice interface for seeing the reflection of different
polarized waves. Both numerical and visual without cluttering up the
previous features!
Jeff Forssell
personal homepage:  http://www.torget.se/users/i/iluhya/index.htm
my village technology homepage:  http://home.bip.net/jeff.forssell
Swedish National Institute for Distance Education (SSVH)
Box 3024  SE-871 03 Härnösand /Sweden
tel +46(0)611-55 79 48  fax +46(0)611-55 79 80
schools homepage  www_ssvh_se
residence +46(0)611-22144

>----------
>Från:  Fu-Kwun Hwang[SMTP:hwang@phy03.phy.ntnu.edu.tw]
>Skickat:  den 7 juni 1999 03:20
>Till:  Jeff Forssell
>Angående:  Re: SV: SV: Doppler applet wish (& propagation)
>
><><><><>propagation.class>>
>Jeff Forssell wrote:
>
>> I notice that if I enter a user ratio in propagation, the top and bottom
>> field maintain the colors it had before, no matter whether the ratio is
>> more or less that 1. Maybe it would be good to have the optically more
>> dense media become gray.
>>
>>  I see that you have put in the angles also. I thought of suggesting
>> that but I forgot to write it.
>>
>> A new idea I got was is: could the intensity of the beam colors show how
>> much of the radiation is reflected and transmitted.  No big need, but it
>> would be nice, even if just approximate. But that would be complicated
>> because polarization comes in also. That would be a challenge! Maybe
>> better with a separate applet. But you have made some amazingly compact
>> versatile applets before. (Like the lens /mirror one!)
>>
>
>Try the attached java applet and let me know if this is what you want.
>Pick p-wave or s-wave from the top left selection.
>
>
>>
>> I think there maybe is a serious flaw in the doppler applet: example
>> with the default settings the wavelength is supposed to be 20. If I
>> measure on the right it is 20 and left it is 60  if i change the speed
>> to 4 the measured distance between wavecrests becomes: 42 38  which
>> seems to indicte that the wavelength is actually 40.  I' m in a bit of a
>> hurry until wednesday so I may have made a mistake.
>
>In my previous java applet, the distance between wave front is not necessary
>related to the wavelength. Those are wave front generate at fix time interval
> not necessary equal to period of the wave).
>In this attached java applet it is modified so that the wave front is
>generated
>with the same period of the wave. Try it and let me know what you think.
>
>I will try to add sound effect at the next release.
>But you will have to wait a few days,
>I will have to do other stuff first.
>
>

When I wrote a moment ago about a BASIC program I had and decimal
acceptance, I got to thinking maybe your applet could be expanded (or a
new one with similar components so It could replace this program for
practicing reading analog scale instruments:

It is written i Qbasic. (There is also less common scale where range 12
V is to be interpretted from a printed scale with 6 V as full scale-
I've seen similar things in reality but that aren't very common so I
might take that away.)
That I don't have more scale divisions depends on 2 things:
1) I want students to practice estimating tenths of scale divisions
2) lack of time (laziness?)

I m sending  this qbasic file  (and another on Vernier scale)
As a friend of "old" computers I have versions for CGA and Hercules
screens too

Jeff Forssell



--------------------------------------------------------------------------------

Yes we really do use commas for decimals!  We even use (sometimes)
periods as thousand separators.
We do end our sentences with . though.

I was amazed to hear from you so quickly. I found myself wondering what
is the time In Taiwan? We are at 17 degrees longitude and taiwan at 120
so that should mean that when you sent your letter it must have been
around 6 pm your time. (I don't know if you use Daylight saving time
there).

Both the class files were smaller than the old ones! How is that
possible? Did you do some code cleaning when you added features?

Were you able to open the Qbasic files?

  • Guest
topic21
« Reply #8 on: January 30, 2004, 05:47:53 pm »
Date: Mon, 22 Nov 1999 21:20:30 -0600
From: Mike Openshaw <openshaw@airmail.net>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: hwang@phy03.phy.ntnu.edu.tw
Subject: Thank you for the very useful site

My son has just used your very useful site for a middle school paper on
sound waves. He really enjoyed experimenting with the frequencies and
studying the result. Never seen him enjoy science so much. Again, many
thanks.

  • Guest
topic21
« Reply #9 on: September 02, 2004, 12:55:14 pm »
AWSOME!!!!! :lol: :lol: :lol: :lol: :lol: 8) 8) 8)

tempestsquall

  • Newbie
  • *
  • Posts: 1
Re: Moving Point source: Doppler effect and shock wave
« Reply #10 on: May 15, 2007, 02:50:48 pm »
?????????JAVA????

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Moving Point source: Doppler effect and shock wave
« Reply #11 on: May 15, 2007, 10:35:32 pm »
You will get files related to java applet when you click "download applet files for offline use".  You will find more simulations in Chines at http://www.phy.ntnu.edu.tw/demolab/phpBB/

Sandrab

  • Newbie
  • *
  • Posts: -1
Re: Moving Point source: Doppler effect and shock wave
« Reply #12 on: August 30, 2007, 01:09:19 am »
Excellent.

Is there a complete list of applets like this one?
We are searching for an applet library, suitable for unmonitored student browsing. Is there one here at ntnu?

-*-

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Moving Point source: Doppler effect and shock wave
« Reply #13 on: August 30, 2007, 10:07:02 am »
There are hundreds of physics related java applets in this forum. You are welcomed to check it out.
Suggestions for the applets are highly appreciated!

gon

  • Newbie
  • *
  • Posts: 5
Re: Moving Point source: Doppler effect and shock wave
« Reply #14 on: October 12, 2007, 08:35:31 am »
About Astronomy picture of the day  :o  I can't imagine the horse power and total [hideurl=http://www.aftermarketperformanceparts.com/air-scoop.html]air scoop[/hideurl] that the airplaine blows to reach the speed of "faster than the seconds".  Really GREAT!

 And one more thing..

Quote
You will get files related to java applet when you click "download applet files for offline use".  You will find more simulations in Chines at http://www.phy.ntnu.edu.tw/demolab/phpBB/

I thought it is not translated to English language. I am interested with it but I can't understand what's on it.