Ejs Open Source Multi Objects (Car,Ball,Shell,Disc) rolling down inclined plane

to reflect the power and flexibility of the simulation.

11 July 2011

fixed bugs

mainly

// derivation by lookang

// F + TM*g*sin(angle) -f = ma N2L

// R*f = I*alpha N2L circular motion

// s = R*angle angular motion

// v = R*omega

// a = R*alpha

// therefore

// assume car = 4 wheels 2*fw and 2*rw

// F + TM*g*sin(angle) -2*Ifw/fwR*(a/fwR)- 2*Irw/rwR*(a/rwR) = TM.a

// since Ifw = 0.5*fwMass*fwR*fwR ;moment of inertia disc

// since Irw = 0.5*rwMass*rwR*rwR ;moment of inertia disc

// F + TM*g*sin(angle) = (TM+fwMass*fwR*fwR/(fwR*fwR)+rwMass*rwR*rwR/(rwR*rwR) )a

// therefore

// MI = (TM+fwMass+rwMass )

// or in general

// MI = (TM+k*TM) where k is the constant of I = k*TM*R^2

fixed all the rest of the objects bug

added x graph as well

moved to the right side panel

added field and slider to all controls for finer control of values to investigate

added yellow hotspot to drag the slope up and down from http://www.compadre.org/osp/items/detail.cfm?ID=11236 Sliding Down an Inclined Plane Model written by Wolfgang Christian

check outcome of simulations runs with Sliding Down an Inclined Plane Model written by Wolfgang Christian with the box, solid ball, car

check outcome of simulations runs with Rocket Car on an Inclined Plane Model written by Wolfgang Christian, Francisco Esquembre, and Mario Belloni http://www.compadre.org/osp/items/detail.cfm?ID=8243

seems all values are similar now.

made v editable for angle = 0 case else there is no motion

enjoy!