NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
September 30, 2020, 04:41:28 am

Simplicity is the ultimate sophistication. ..."da Vinci (1452-1519, Italian artist, sculptor, painter, architect, engineer and scientist) "

 Pages: [1]   Go Down
 Author Topic: Blocks and center of gravity  (Read 5897 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message on: July 04, 2010, 10:31:27 am » posted from:Uberaba,Minas Gerais,Brazil

This following applet is Blocks and center of gravity
Created by prof Hwang Modified by Ahmed
Original projectBlocks and center of gravity
This is a home work problem shown in many Fundamental Physics textbooks .

* How to stack four uniform blocks on top of a table, so that they extend as far right as possible and still remain stable.
* How should each be positioned?
* Can the top block have its entire length beyond the edge of the table.

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
• 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!
 Blocks and center of gravity.gif (12 KB, 510x335 - viewed 463 times.) « Last Edit: July 06, 2010, 06:18:40 pm by ahmedelshfie » Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #1 on: July 04, 2010, 08:05:26 pm » posted from:Taipei,T\'ai-pei,Taiwan

You need to change "msg" to "%msg%" to tell EJS use variable name "msg" instead of string value "msg".
It might be due to EJS version. This one was created very long time ago!
 Logged
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message Reply #2 on: July 04, 2010, 10:26:53 pm » posted from:Uberaba,Minas Gerais,Brazil

I understand now thanks prof now work very well
 « Last Edit: July 04, 2010, 10:29:02 pm by ahmedelshfie » Logged
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message Reply #3 on: September 24, 2010, 07:13:39 pm » posted from:Uberaba,Minas Gerais,Brazil

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

Original applet Blocks and center of gravity design by prof Hwang
URL applet Blocks and center of gravity

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