Scheduled Maintenance: The ComPADRE Network may be temporarily unavailable on Monday, October 12, 2026, from midnight to 6:00 a.m. Eastern Time (Sunday night into Monday morning). We apologize for any inconvenience.

APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

possible bug when trk has 3 complex models?

Return to the Tracker forum
Login to post to this thread

possible bug when trk has 3 complex models?
lookang Avatar
lookang
247 Posts

dear prof,

it seems i have discover a possible bug for your information.


http://weelookang.blogspot.sg/2014/08/carom-collision-force-model.html
has 3 models
model A: hit n rebounce only
Fx1 = -200, Fy1 = -20, Fx2 = -40, Fy2 = -520
fx = if(t<0.167,0,if(t<0.171,Fx1,if(t<0.458,0,if(t<0.462,Fx2,0))))
fy = if(t<0.167,0,if(t<0.171,Fy1,if(t<0.458,0,if(t<0.462,Fy2,0))))
model B: got hit n rebounce
Fbx1 = -200, Fby1 = -10
fx = if(t<0.583,0,if(t<0.588,Fbx1,0))
fy = if(t<0.583,0,if(t<0.588,Fby1,0))
model C: friction force
frictionx = 0.96, frictiony= -0.85
fx = if(vx>0,-frictionx,0)
fy = if(vy<0,-frictiony,0)

that fails to open up now after packaging as a trz.

for your kind action to fix the "bug" if any, in newer tracker version!
download
https://www.dropbox.com/s/xauw7r43i8dszxd/angelineaw_301_1model.trz


OSP@SG blog
OSP@SG Digital Library

Current Replies - View all
Re: possible bug when trk...   (lookang - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book