This is the web version of EJS interface
EJS version 4.3.7
  1. Author=Fu-Kwun Hwang - Professor
  2. Abstract=http://www.phy.ntnu.edu.tw/ntujava/
  3. CaptureTools=false
  4. DataTools=false
  5. LanguageTools=false
  6. AppletColSupport=false
  7. UseMacMenuBar=false
  8. UseInterpreter=true
    NameValueTypeDimension
    NameValueTypeDimension

    Init Page

    x=xmin/2; y=R; c=0; t=0; _view.trace.clear();

    Evol Page

    Indep. Var. Increment
    d x /dt=vx
    d y /dt=vy
    d c /dt=w
    SolverRungeKutta AbsoluteTolerance=0.00001

    FixRel Page

    x3=x-y*Math.sin(c); y3=y-y*(1-Math.cos(c)); if(y<-R)_initialize(); vx3=vx-y*w*Math.cos(c)-vy*Math.sin(c); vy3=vy-y*w*Math.sin(c)-vy*(1-Math.cos(c));
    EJSVIEW: Click link to view it's content
    Control variables:(testing)
    double,double,double
    title="Frame"
    layout=border
    visible=true
    size="694,430"
    position=center
    autoscaleX=false
    autoscaleY=false
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    square=true
    x=x2
    y=y
    sizeX=size
    sizeY=size
    x=x1
    y=0
    sizeX=2*R
    sizeY=2*R
    style=WHEEL
    lineColor=LIGHTGRAY
    fillColor=null
    x=x1
    y=0
    transformation=c
    x=0
    y=y
    sizeX=size
    sizeY=size
    visible=true
    inputX=0
    inputY=y
    maximumPoints=npt
    norepeat=true
    connected=true
    lineColor=RED
    x=0
    y=y
    sizeX=vx
    sizeY=vy
    visible=false
    lineColor=RED
    fillColor=RED
    x=x3
    y=y3
    norepeat=true
    connected=true
    x=x2
    y=y
    sizeX=vx
    sizeY=vy
    lineColor=RED
    fillColor=RED
    x=x3
    y=y3
    sizeX=vx3
    sizeY=vy3
    lineColor=RED
    fillColor=RED
    x=x2
    y=0
    sizeX=2*R
    sizeY=2*R
    transformation=c
    style=WHEEL
    lineColor=LIGHTGRAY
    fillColor=null
    x=x1
    y=ymax-size
    pixelSize=true
    text="Rotating Frame"
    font=Monospaced,PLAIN,20
    x=x2
    y=ymax-size
    pixelSize=true
    text="Inertia Frame"
    font=Monospaced,PLAIN,20
    position=south
    layout=border
    position=east
    layout=GRID:0,2,0,0
    borderType=LOWERED_ETCHED
    variable=_isPaused
    imageOn=/org/opensourcephysics/resources/controls/images/play.gif
    actionOn=_play()
    imageOff=/org/opensourcephysics/resources/controls/images/pause.gif
    actionOff=_pause()
    image=/org/opensourcephysics/resources/controls/images/reset.gif
    action=_reset()
    text="step"
    action=_step()
    text="init"
    action=_initialize()
    position=center
    layout=HBOX
    variable=T
    minimum=1.0
    maximum=10.0
    format="T=0.0s"
    ticks=10
    closest=true
    dragaction=w=2*pi/T;
    action=_initialize()
    variable=vy
    minimum=0.0
    maximum=ymin
    format="vy=0.00"
    action=_initialize()
    variable=dt
    minimum=0.001
    maximum=0.050
    format="dt=0.000s"
    ticks=50
    closest=true