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

Easy Java Simulations (2001- ) => dynamics => Topic started by: ahmedelshfie on July 04, 2010, 10:31:27 am



Title: Blocks and center of gravity
Post by: ahmedelshfie on July 04, 2010, 10:31:27 am
This following applet is Blocks and center of gravity
Created by prof Hwang Modified by Ahmed
Original projectBlocks and center of gravity (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=176.0)
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.




Title: Re: Blocks and center of gravity
Post by: Fu-Kwun Hwang on July 04, 2010, 08:05:26 pm
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!


Title: Re: Blocks and center of gravity
Post by: ahmedelshfie on July 04, 2010, 10:26:53 pm
I understand now thanks prof now work very well


Title: Re: Blocks and center of gravity
Post by: ahmedelshfie on September 24, 2010, 07:13:39 pm
Original applet Blocks and center of gravity design by prof Hwang
URL applet Blocks and center of gravity (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=10.0)