This is the web version of EJS interface
EJS version 5.0
  1. Abstract=http://www.phy.ntnu.edu.tw/ntnujava/ hwang@phy.ntnu.edu.tw
  2. CaptureTools=true
  3. DataTools=false
  4. LanguageTools=true
  5. AppletColSupport=false
  6. UseMacMenuBar=false
  7. RunInBrowserFirst=false
  8. UseInterpreter=true
  9. Author=Fu-Kwun Hwang - Dept. of Physics,National Taiwan normal Univ.
  10. ManifestLines=Permissions: sandbox Codebase: * Caller-Allowable-Codebase: *
    NameValueTypeDimension
    NameValueTypeDimension
    NameValueTypeDimension

    Evol Page

    Indep. Var. Increment
    d x1 /dt=vx1
    d y1 /dt=vy1
    d x2 /dt=vx2
    d y2 /dt=vy2
    SolverRungeKutta AbsoluteTolerance=0.00001

    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)
    title="Frame"
    layout=border
    visible=true
    location="27,27"
    size="570,513"
    position=center
    autoscaleX=false
    autoscaleY=false
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    square=true
    x=xc+vx1
    y=yc+vy1
    sizeX=vx2-vx1
    sizeY=vy2-vy1
    x=x1
    y=y1
    sizeX=w
    sizeY=h
    fillColor=200,220,208,255
    x=x2
    y=y2
    sizeX=w
    sizeY=h
    fillColor=200,220,208,255
    x=x1
    y=y1
    sizeX=vx1
    sizeY=vy1
    enabledSize=ENABLED_ANY
    lineColor=RED
    fillColor=RED
    x=x2
    y=y2
    sizeX=vx2
    sizeY=vy2
    enabledSize=ENABLED_ANY
    lineColor=MAGENTA
    fillColor=MAGENTA
    x=xc
    y=yc
    sizeX=vx1
    sizeY=vy1
    enabledPosition=ENABLED_ANY
    enabledSize=ENABLED_ANY
    lineColor=RED
    fillColor=RED
    x=xc
    y=yc
    sizeX=vx2
    sizeY=vy2
    enabledSize=ENABLED_ANY
    lineColor=MAGENTA
    fillColor=MAGENTA
    x=x1
    y=y1
    pixelSize=true
    text="1"
    font=Monospaced,BOLD,20
    elementposition=SOUTH
    x=x2
    y=y2
    pixelSize=true
    text="2"
    font=Monospaced,BOLD,20
    elementposition=SOUTH
    x=xc+vx1
    y=yc+vy1
    pixelSize=true
    text="1"
    font=Monospaced,BOLD,20
    elementposition=SOUTH
    x=xc+vx2
    y=yc+vy2
    pixelSize=true
    text="2"
    font=Monospaced,BOLD,20
    elementposition=SOUTH
    x=xc+(vx1+vx2)/2
    y=yc+(vy1+vy2)/2
    pixelSize=true
    text="V_{12}"
    font=Monospaced,BOLD,20
    elementposition=SOUTH
    position=south
    layout=border
    position=east
    layout=HBOX
    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()
    position=center
    layout=HBOX