NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
September 21, 2017, 09:07:07 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
First time is the lat time. ...Wisdom
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Primary School remix for Pendulum  (Read 7621 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
TheMattHatter
Newbie
*
Offline Offline

Posts: 5

«
Embed this message
on: January 11, 2012, 11:15:28 am » posted from:-,-,SINGAPORE

Primary School remix for Pendulum by MattHatter

reference:

Hi Prof Hwang, this account cannot upload jar files?
the option is not enabled for MattHatter
thanks!

option appears in edit mode but ot first post
for your info

Hi Prof Hwang
the jar cannot be uploaded, strange!


* mat.png (34.16 KB, 703x565 - viewed 295 times.)

*** There are 1 more attached files. You need to login to acces it!
« Last Edit: January 11, 2012, 11:19:48 am by TheMattHatter » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #1 on: January 11, 2012, 12:55:01 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Upload new EJS jar file.
testing for Mat.

didn't work too


anyway the sharing
http://weelookang.blogspot.com/2012/01/sharing-at-s5-cluster-open-source.html
« Last Edit: January 11, 2012, 01:00:11 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #2 on: January 15, 2012, 11:55:13 am » posted from:LONDON,ENGLAND,UNITED KINGDOM

I can find your previous uploaded file in the server. However, part of the jar file were not unzip successfully.
Could you please try to upload the jar file again. I will try to find out what might be wrong.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #3 on: January 15, 2012, 10:15:44 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

reupload as requested by i cannot change the folder to lookang from the original mathatter

strangely the jar file dint upload the source xml.

i will ask mat when i see him to reload the jar again
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #4 on: January 16, 2012, 01:48:07 pm » posted from:Taipei,T'ai-pei,Taiwan

I can not find .xml or .ejs from the above jar file( ejs_Pendulumweemat.jar ).

I only found EJSSimulationList.xml

It seems that the jar file was not generate for one particular simulation, but a list of simulations.

I would suggest the user load the original ejs source and re-generate the jar file ,then upload it again.
Logged
TheMattHatter
Newbie
*
Offline Offline

Posts: 5

«
Embed this message
Reply #5 on: January 16, 2012, 03:20:34 pm » posted from:-,-,SINGAPORE

jar is recheck to contain the source

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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
Logged
TheMattHatter
Newbie
*
Offline Offline

Posts: 5

«
Embed this message
Reply #6 on: January 27, 2012, 10:48:47 am » posted from:-,-,SINGAPORE

Hi Prof Fu-Kwun Hwang,

I'd like to share this simulation which I've been working on with Loo Kang. But I need your help to modify the formula/code such that when the wrecking ball hits the building, it stops.

I've designed a lesson around this simulation whereby students play a demolision contractor and are supposed to describe how energy is converted from one form to another when the ball hits the building.

Thank you!


*** There are 1 more attached files. You need to login to acces it!
« Last Edit: January 27, 2012, 10:51:05 am by TheMattHatter » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #7 on: January 27, 2012, 09:33:41 pm » posted from:,,Satellite Provider

Just modified the code in the event:
Code:
//if (x>-0.18-xbuilding+1.0e-5) return theta; // check y > yground do nothing
//else return 1.0e-5; // y>yground return y when y?yground to the limit of the ground to tolerance
return theta;

And it should work fine. I guest that you have other model in mind (need to be implemented) to take care of the collision.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #8 on: January 28, 2012, 10:27:44 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

got it!
thanks for the tip!

 if(Building==true&&theta-thetabuilding>0)return theta-thetabuilding;
 else if(Building==true&&theta-thetabuildingleft<0)return theta-thetabuildingleft;
return 0; // time continues

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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!


*** There are 1 more attached files. You need to login to acces it!
« Last Edit: January 28, 2012, 10:31:15 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #9 on: January 28, 2012, 10:41:27 pm »

It is better to change the last line:

 return 0; to return 1; // or something else which is larger than 0 for time continue
Logged
TheMattHatter
Newbie
*
Offline Offline

Posts: 5

«
Embed this message
Reply #10 on: January 30, 2012, 10:09:04 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Thank you Prof! This is great!
Logged
TheMattHatter
Newbie
*
Offline Offline

Posts: 5

«
Embed this message
Reply #11 on: January 30, 2012, 10:41:01 am » posted from:-,-,SINGAPORE

Latest file, please let me know if you'd like to view the lesson built on this app and I'll share the Google site with you. Cheers!

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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
« Last Edit: January 30, 2012, 10:47:58 am by TheMattHatter » Logged
Pages: [1]   Go Up
  Print  
First time is the lat time. ...Wisdom
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Long division applet (for primary school level)
misc
Fu-Kwun Hwang 24 33259 Last post April 06, 2009, 07:44:04 pm
by lookang
Roller Coaster Remix for use in Elementary School
Collaborative Community of EJS
engrg1 16 9015 Last post August 26, 2012, 01:38:16 pm
by engrg1
Free Fall Diagram for Primary School Students
Collaborative Community of EJS
engrg1 4 10651 Last post August 19, 2012, 11:03:56 am
by engrg1
Simple Pendulum for use in Primary School
Collaborative Community of EJS
engrg1 0 5415 Last post September 25, 2012, 03:13:14 pm
by engrg1
EJSS Projectile Motion Model Primary School
Collaborative Community of EJS
lookang 0 823 Last post March 30, 2015, 09:24:45 am
by lookang
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 23 queries.since 2011/06/15