💿xyx:undefined,y:undefinedDrag the mass to position it and click playt = 0.00s-10101xyPlot

Description

This simulation model the problem of objects rolling down an incline plane.

The options are

  1. solidball,
  • total mass is given by TM = bodyMass
  • inertia, I = 0.4*bodyMass*bodyR*bodyR*carSize*carSize
  • MI =(TM+I/((bodyR*carSize)*(bodyR*carSize)))
  • 2. football

  • total mass is given by TM = bodyMass
  • inertia, I = 2./3*bodyMass*bodyR*bodyR*carSize*carSize
  • MI =(TM+I/((bodyR*carSize)*(bodyR*carSize)))
  • 3. disc

  • total mass is given by TM = bodyMass
  • inertia, I = 0.5*bodyMass*bodyR*bodyR*carSize*carSize
  • MI =(TM+I/((bodyR*carSize)*(bodyR*carSize)))
  • 4. car

  • total mass is given by TM = bodyMass+2*fwMass+2*rwMass
  • formula disc i = 0.5*m*r*r
  • for 2 fw aND 2 rw wheels
  • Ifw = fwMass*fwR*fwR
  • Irw = rwMass*rwR*rwR
  • MI =TM+fwMass+rwMass;
  • Evolution

    dx/dt = v

    dv/dt = (TM*g/MI*Math.sin(angle)+thrust/MI)

    Constraints

    The rolling object cannot exceed the limits of the slope barrier, a coefficient of restitution, e, is added when the objects collides with either the top or bottom barrier.

    the new velocity, v is given by

    v = e*v

    Controls

    combo box 1 allows changes in the object type: ["solidball","football","disc","car"]

    combo box 2 allows changes in the plotting panel views and the coordinate system adopted ["world","x vs t","v vs t","world and x vs t","world and v vs t","","show x-y system","hide x-y system"]

    L is the length of the slope

    θ is the angle of slope with the positive x axis (horizontal)

    x is the position of the object with default range of -0.95 to -0.05

    e is the coefficient of restitution between object and the top and bottom barriers

    v is the velocity of the object

    play/pause button allows simulation to run and stop

    step button allows t = t + dt

    reset button brings the simulation to original defaulted values

    Car Option

    When the car reaches the bottom of the incline it can be set to bounce (elastic collision) with the stop attached to the bottom of the incline. The total mass of the car is 2.0 kg which consists of the car body (1 kg), two front wheels (0.4 kg) and two rear wheels (0.6 kg). The front and rear wheels rotate and are uniform disks. In the simulation you can set the incline angle (in angles), the bounce, the thrust of the car's rocket (in Newtons), and you can drag the car to its initial position.



    Title and author:

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

    author image author image author image Wolfgang Christian, Francisco Esquembre, and Mario Belloni , remixed by lookang (weelookang@gmail.com); Fremont Teng; Francisco Esquembre; Loo Kang Wee; Félix Clemente García'