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

    Evol Page

    Indep. Var. Increment
    d x /dt=vx
    d y /dt=vy
    d vx /dt=q*vy*calB(x)/m
    d vy /dt=-q*vx*calB(x)/m
    SolverRungeKutta AbsoluteTolerance=0.00001

    calB

    public double calB (double x) { return B0*Math.exp(-x*x/(2*sigma*sigma)); }
    EJSVIEW: Click link to view it's content
    Control variables:(testing)
    title="Frame"
    layout=border
    visible=true
    size="536,470"
    position=center
    autoscaleX=false
    autoscaleY=false
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    square=true
    x=x
    y=y
    norepeat=true
    connected=true
    x=x
    y=y
    sizeX=size
    sizeY=size
    x=x
    y=y
    sizeX=vx
    sizeY=vy
    enabledPosition=ENABLED_ANY
    enabledSize=ENABLED_ANY
    lineColor=RED
    fillColor=RED
    points=100
    min=xmin
    max=xmax
    variable="x"
    functionx="x"
    functiony="B0*Math.exp(-x*x/(2*sigma*sigma))"
    javaSyntax=true
    position=south
    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()