[quote]
Having actual numbers for calculations is an extension of what I'm trying to accomplish
[/quote]
Do you mean user can input number to change spring constant, mass,friction coefficient, etc?

[quote]
when no friction is present, the block should return to the same height on the ramp as it oscillates at a particular spring setting.
[/quote]
The previous version should be able to show that:  the block did return to the same height on the ramp when no friction is present.

[quote]
Block should not go as high up the ramp with friction as it does without friction for the same spring setting.
[/quote]

I just create another version:
Try to let the block oscillate without friction, then adjust friction coefficient. The block will slow down due to friction.
Another block will show up -- which move for frictionless case.
I hope this will be close to what you need.

Right now. Friction can be added when it move on the horizontal track.
There is no friction when the block is moving on the ramp.
Do you want to add friction between the block and the ramp?

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

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/springincline2_pkg/springincline2.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(1051.9kB):double click downloaded file to run it. , Download EJS source View EJS source
[/eye]