NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

JDK1.0.2 simulations (1996-2001) => kinematics => Topic started by: Fu-Kwun Hwang on January 29, 2004, 02:39:55 pm



Title: Two cannons aim at each other (Projectile motion)
Post by: Fu-Kwun Hwang on January 29, 2004, 02:39:55 pm
Two cannons (at different height) aim at each other.
What will happen if both cannon fire at the same time?
Want to know the answer? Just press the start button



You can change the position of cannons
  1. Left cannon:  Left click at the blue dot and drag it up and down.

  2. right cannon: Right click at lower right corner and drag it left and right

  3. Both of them will adjust angle to aim at each other.

You can change the initial velocity of cannonball
click the red arrow and drag it left/right or up/down.

The length of the red arrow is represent the displacement of cannonball

in one second (under no gravity)



??? As long as the velocity is large enough,

the cannonball will hit each other!!!

Click the right mouse button to continue.
If the difference in height is h, horizontal distance is w,
What is the requirement for the velocity v1,v2?

Want to know the reason? Select showcheckbox
    to show the trajectory of both cannonball when there is no gravity,
    and the effect of the gravity to the cannonball(yellow line).

How to pause the animation

  1. Press the left mouse button to pause, release it to continue

  2. If you click the right mouse button, you need to click it again to continue.

  3. What if you click right mouse button, then press the left mouse button?

    1. Try it! You will know the answer.


Title: topic144
Post by: akados on May 26, 2005, 12:07:10 am
i will be glad if topic on kinematic can be send to my box or postal address po box 8602 federal sectariat port harcourt river state


Title: topic144
Post by: Fu-Kwun Hwang on May 26, 2005, 12:07:27 pm
If you click "GET APPLET FILES" , files related to the java applet will be compressed into a zip file and send to our email account. We do not have budget to send it via regular mail.


Title: translation
Post by: malanski on June 16, 2005, 12:50:48 pm
Dear Prof. Fu-Kwun Hwang
Don' You think it would be worth to translate Your applets into other languages, as for example Mr Fendt already did. I can do polish tranlatios if You: 1. allow me to do it, 2.Instruct me how to do it.
I dod already some translation for Mr. Fend, two of them are already on Page, the others are waiting in a cue
Sincerely Yours
Boguslaw Malanski


Title: You are welcomed to translate our applet
Post by: Fu-Kwun Hwang on June 16, 2005, 03:12:11 pm
You can get files for the applet if you are logined user.
Just click "Get Applet Files" and files related to the applet will be sent to your email account.
You can also translate string inside the applet. Please check out the following URL
 http://www.phy.ntnu.edu.tw/ntnujava/viewtopic.php?t=128


Title: topic144
Post by: mr.spacebull on June 22, 2005, 06:13:10 pm
:D


Title: Re: Projectile motion
Post by: ncu on March 23, 2007, 09:18:25 pm
Mr. Hwang,

I am Can from Turkey, and I have an user account for this forum site. Is it possible to see source codes of applets for offline use especially applets for general physics 1. ???

Thanks....


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: Fu-Kwun Hwang on March 25, 2007, 11:13:30 am
For all the applets on this forum which was created with "Easy Java Simulations(EJS)". You will be able to see the EJS source. Just click "load ejs as signed applet". You can find out all the variables and equations used in the simulation.

However, for all the applets in this categories (JDK1.0.2 simulations). They were created almost 10 years ago with JDK1.0.2. I do not have time to find all the source code and put it in the downloaded zip files.
 If you really interesting the programming. Try to study the java code generated by ejs.
(If you download it, there are several hundreds simulations/with EJS sources in the distribution).  :o


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: K.C.Mishra on October 13, 2007, 06:34:07 pm
Dear Prof. Fu-Kwun Hwang
                                      I am studying Physics with help of your animations. They are very useful. You have done great work. Please add more applets to your collection. Thanking you.
                                                                     Yours sincerely
                                                                      K.C.Mishra


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: Fu-Kwun Hwang on October 13, 2007, 10:23:17 pm
If you can think of any java simulation which could help you learn physics concept better, please post it on our forum (http://www.phy.ntnu.edu.tw/ntnujava/index.php?board=26.0), and I will try to create one! I hope many of you can enjoy the fun of physics as I do.  :D


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: Holu Callouse on November 26, 2012, 02:34:36 pm
Top post. I look forward to reading more. Cheers!


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: lookang on February 10, 2015, 10:12:57 pm
i have recreated this simulation here

trying embeding codes
<iframe width="750" height="750" src="https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_model_projectile2cannon/projectile2cannon_Simulation.xhtml" frameborder="0">

enjoy!

and thanks a million to Professor Fu-Kwun Hwang for being a great teacher who taught me how to use EJSS to model physics!

read about the answer here
http://weelookang.blogspot.sg/2015/02/ejss-2-cannon-aim-at-each-other.html

or run by clicking here
https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_model_projectile2cannon/projectile2cannon_Simulation.xhtml

or download the model and source codes in the attachments!

enjoy!


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: lookang on February 10, 2015, 10:23:36 pm
dear prof hwang,

can you allow iframe codes to embed in your forum. :)

Code:
<iframe width="750" height="750" src="https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_model_projectile2cannon/projectile2cannon_Simulation.xhtml" frameborder="0"></iframe>

i can upload all my ejss model and scr here in the collaborative forum


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: lookang on February 13, 2015, 10:57:30 pm
[lookangframe name=projectile2cannon]

cool!


Title: Re: Two cannons aim at each other (Projectile motion)
Post by: Fu-Kwun Hwang on February 20, 2015, 10:56:59 am
This also work for your iwant2study site
[lookangframe name=02_newtonianmechanics_2kinematics/ejss_model_projectile2cannon/projectile2cannon_Simulation.xhtml]