This is the web version of EJS interface
EJS version 4.2.7
  1. CaptureTools=true
  2. DataTools=true
  3. LanguageTools=true
  4. EmersionSupport=true
  5. UseInterpreter=true
  6. AuxiliaryFiles=_data/reset.gif;_data/init.gif;_data/pause.gif;_data/play.gif;
  7. DetectedFiles=_data/init.gif;_data/pause.gif;_data/play.gif;_data/reset.gif;
    NameValueTypeDimension
    NameValueTypeDimension
    NameValueTypeDimension
    NameValueTypeDimension

    Init Page

    t=0; y=y1=y2=0; vy1=ymax/2; vy2=ymin/2; vy=0; _setFPS(fps);

    Evol Page

    Indep. Var. Increment
    d y /dt=vy
    d vy /dt=-g
    d y1 /dt=vy1
    d vy1 /dt=-g
    d y2 /dt=vy2
    d vy2 /dt=-g
    SolverRungeKutta AbsoluteTolerance=0.001

    FixRel Page

    if(y<ymin && y1<ymin && y2<ymin)_pause();

    dvalue

    double dv; public double dvalue (double v) { if(v>0)dv=0.5; else if(v<0)dv=-0.5; else dv=0; return (int)(v*100+dv)/100.; }
    EJSVIEW: Click link to view it's content
    Control variables:(testing)
    int
    title="Frame"
    layout=border
    visible=true
    location="34,20"
    size="691,504"
    position=south
    layout=border
    background=DARKGRAY
    position=west
    layout=FLOW:center,0,0
    borderType=LOWERED_ETCHED
    image="_data/reset.gif"
    action=_reset()
    size="90,35"
    image="_data/init.gif"
    enabled=_isPaused()
    action=_initialize()
    size="90,35"
    variable=_isPaused
    size="90,35"
    imageOn="_data/play.gif"
    actionOn=_play()
    imageOff="_data/pause.gif"
    actionOff=_pause()
    position=center
    variable=fps
    minimum=1
    maximum=20
    format="fps=0"
    dragaction=_setFPS(fps)
    foreground=192,255,0
    position=center
    layout=HBOX
    position=center
    autoscaleX=false
    autoscaleY=false
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    square=true
    background=BLACK
    x=x
    y=y
    sizeX=size
    sizeY=size
    lineColor=128,255,0
    fillColor=128,255,0
    x=x1
    y=y1
    sizeX=size
    sizeY=size
    lineColor=192,0,0
    fillColor=192,0,0
    x=x2
    y=y2
    sizeX=size
    sizeY=size
    lineColor=255,192,0
    fillColor=255,192,0
    x=x+0
    y=y
    sizeX=0+0
    sizeY=vy
    enabledPosition=true
    enabledSize=true
    lineColor=128,0,255
    fillColor=128,0,255
    x=x1+0
    y=y1
    sizeX=0+0
    sizeY=vy1
    enabledPosition=true
    enabledSize=true
    lineColor=128,0,255
    fillColor=128,0,255
    x=x2+0
    y=y2
    sizeX=0+0
    sizeY=vy2
    enabledPosition=true
    enabledSize=true
    lineColor=128,0,255
    fillColor=128,0,255
    x=x
    y=y
    maxpoints=npt
    skippoints=5
    norepeat=true
    connected=false
    color=CYAN
    style=ELLIPSE
    markersize=5
    secondaryColor=GRAY
    x=x1
    y=y1
    maxpoints=npt
    skippoints=5
    norepeat=true
    connected=false
    color=CYAN
    style=ELLIPSE
    markersize=5
    secondaryColor=GRAY
    x=x2
    y=y2
    maxpoints=npt
    skippoints=5
    norepeat=true
    connected=false
    color=CYAN
    style=ELLIPSE
    markersize=5
    secondaryColor=GRAY
    autoscaleX=true
    autoscaleY=true
    title="V_{y}(t)"
    titleX="t(s)"
    titleY="Vy(m/s)"
    interiorBackground=128,192,0
    background=BLACK
    foreground=255,192,0
    x=t
    y=vy
    memory=ntrace
    maxpoints=npt
    norepeat=true
    color=128,255,0
    stroke=stroke
    x=t
    y=vy1
    memory=ntrace
    maxpoints=npt
    norepeat=true
    color=192,0,0
    stroke=stroke
    x=t
    y=vy2
    memory=ntrace
    maxpoints=npt
    norepeat=true
    color=255,192,0
    stroke=stroke