Here is the new version . Trace has been removed.
It will go as high up the ramp as possible when dx slider were dragged to the largest value.
It could be an exercise for student to find out what should be the value for dx slider for the block to go half way up the ramp (turn on the bar chart will help).

Click the following image to show the new version.
[eye]

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/springincline4_pkg/springincline4.propertiesFull 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
Download EJS jar file(1032.9kB):double click downloaded file to run it. (1 times by 1 users) , Download EJS source View EJS source
[/eye]