NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
April 18, 2021, 03:46:42 am

Never too late. Never too early. ...Wisdom

 Pages: [1]   Go Down
 Author Topic: Understanding momentum and its relation to newton 2nd law (constant force)  (Read 13655 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
LeeTl
Jr. Member

Offline

Posts: 24

 « Embed this message on: February 18, 2009, 04:00:07 am »

This applet allows learner to learn that momentum as a quantity to compare motion of different bodies. It also allows both a qualitative and quantitative understanding why Newton's 2nd law is defined by means of the change in momentum.
 momentum force.png (64.88 KB, 759x618 - viewed 532 times.) *** There are 1 more attached files. You need to login to acces it! « Last Edit: February 19, 2009, 08:53:28 am by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #1 on: February 18, 2009, 07:41:46 am »

ah.......ic....

there is a script that generate automatically a picture file in the FIRST attachment.

so u need to remove both the jar file and png attachment

save/post

this time upload the png first

save/post again!! test it, the script is sometimes buggy i think

then the other files like the xml and jar as distribution.

if you got problem then look at my examples!
 « Last Edit: February 19, 2009, 08:46:58 am by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #2 on: February 18, 2009, 08:01:38 am »

This applet allows learner to learn that momentum as a quantity to compare motion of different bodies. It also allows both a qualitative and quantitative understanding why Newton's 2nd law is defined by means of the change in momentum.

since F  α  d(m*v)/dt

so the graph of (m*v) versus t , the gradient is F.

perhaps you want to show with dynamics arrows the meaning of this F in relation to the (m*v) in both the simulation view and the graph view, to allow easy association of the meaning of Newton's 2nd law is defined by proportional to the change in momentum with respect to time.

good effort LeeTl, keep up the good work
 « Last Edit: February 18, 2009, 08:10:24 am by lookang » Logged
LeeTl
Jr. Member

Offline

Posts: 24

 « Embed this message Reply #3 on: February 19, 2009, 04:10:08 am »

Hi LooKang, how do I upload the simulation like what you had done? You mention some scripts etc?
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #4 on: February 19, 2009, 07:16:48 am »

Dear all EJS users:

I am going to add code so that it will be easier for you to upload EJS simulations.
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #5 on: February 19, 2009, 08:33:15 am »

Hi LooKang, how do I upload the simulation like what you had done? You mention some scripts etc?

How to explain?

Youtube! this week i make video

you click "Quote" and you can see how/what i embeded the applet in web.

Expert mode instruction
1. in EJS recompile for web implementation
2. select self contained jar for MAC OSX, last time i know common library MAC OSX cannot view
4. open the web applet using firefox and look at the source
5. copy the applet codes
6. in your post in this forum, paste it, i usually post in the first post
8. paste it into the codebase="." into something like codebase=http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090208/"
9. remove all the spaces in the applet codes
10. post
11. may need to modify post to get rid of the invisible spaces/blanks
12. post

Is the sample viewable as codes? the code tag in this forum is not working properly.
i post in my forum u go see.
http://66.7.205.91/~lookangc/index.php?topic=936.msg1903#msg1903

Code:
<applet code="Collision1Dwee01_pkg.Collision1Dwee01Applet.class" codebase="http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090208/" archive="common.jar,Collision1Dwee01.jar"name="Collision1Dwee01"  id="Collision1Dwee01"width="790" height="630"><param name="draggable" value="true"></applet>

P.S. from Fu-Kwun
You forgot to replace > and < with &gt; and &lt;
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #6 on: February 19, 2009, 08:42:32 am »

Dear all EJS users:

I am going to add code so that it will be easier for you to upload EJS simulations.

please make it super cool like yours

with all the cool stuff
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #7 on: February 19, 2009, 01:38:51 pm »

Dear EJS users:

You will find Upload EJS Simulation check box next to Spell Check button.
If it is checked, a new input area will appear. Following the steps to upload EJS Simulation (EJS jar file).
Select ejs_XXXX.jar from file folder (The format has to be exact the same. XXX will be extracted from file name and show up in the following line)
Enter width and height into text field
Enter class name into text field (it might look like users.ntnu.fkh.collision_pkg.collision.class )
You can find the above information under workspace/output/users/YourworkingFolder/XXX_Simulation.html

You still need to post a valid message and the uploaded simulation will be shown at the end.

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list