This is the web version of EJS interface
EJS version 4.2
  1. Author=Fu-Kwun Hwang - Dept. of Physics, National Taiwan Normal Univ.
  2. Abstract=hwang@phy.ntnu.edu.tw
  3. CaptureTools=true
  4. DataTools=true
  5. LanguageTools=true
    NameValueTypeDimension
    NameValueTypeDimension

    Evol Page

    Indep. Var. Increment
    d x /dt=vx
    d y /dt=vy
    d vx /dt=g*sc
    d vy /dt=-g*cs
    SolverRungeKutta AbsoluteTolerance=0.00001

    Name:E,active=E,條件:Method:E,(誤差範圍E),stopatEvent=E
    E


    動作
    E

    Name:t,active=t,條件:Method:t,(誤差範圍t),stopatEvent=t
    t


    動作
    t

    Name:,active=,條件:Method:,(誤差範圍),stopatEvent=


    動作

    FixRel Page

    if(x-xm+d/2*(sc-cs)>1.e-4)_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)
    double
    title="Frame"
    layout=border
    visible=true
    location="2,158"
    size="472,526"
    position=center
    autoscaleX=false
    autoscaleY=false
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    square=true
    x=x
    y=y
    sizeX=size
    sizeY=size
    transformation=c
    style=RECTANGLE
    elementposition=CENTERED
    maxpoints=4
    x=linex
    y=liney
    enabledSecondary=true
    color=null
    stroke=stroke
    position=south
    layout=border
    position=east
    layout=FLOW:center,0,0
    borderType=LOWERED_ETCHED
    image=/org/opensourcephysics/resources/controls/images/reset.gif
    action=_reset()
    text="init"
    action=_initialize()
    variable=_isPaused
    imageOn=/org/opensourcephysics/resources/controls/images/play.gif
    actionOn=_play()
    imageOff=/org/opensourcephysics/resources/controls/images/pause.gif
    actionOff=_pause()
    position=center
    layout=HBOX
    variable=e
    minimum=0.0
    maximum=1.0
    format="e=0.0"