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

    Evol Page

    Indep. Var. Increment
    d c1 /dt=w1
    d c2 /dt=w2
    d w1 /dt=-g*Math.sin(c1)/h1
    d w2 /dt=-g*Math.sin(c2)/h2
    SolverRungeKutta AbsoluteTolerance=0.00001

    關係式

    x0=h0*Math.sin(c2); y0=0; z0=zmax-h0*Math.cos(c2); x=x0; y=h1*Math.sin(c1); z=z0-h1*Math.cos(c1);

    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,double
    title="Frame"
    layout=border
    visible=true
    size="615,617"
    position=center
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    minimumZ=zmin
    maximumZ=zmax
    projectionMode="PERSPECTIVE_ON"
    cameraAzimuth=0.019999999999999997
    cameraAltitude=0.05500000000000001
    cameraFocusX=0.0
    cameraFocusY=0.0
    cameraFocusZ=0.0
    cameraRotation=0.0
    cameraDistanceToScreen=50.0
    x=x0
    y=y0
    z=z0
    sizeX=size
    sizeY=size
    sizeZ=size
    x=x
    y=y
    z=z
    sizeX=size
    sizeY=size
    sizeZ=size
    inputX=x
    inputY=y
    inputZ=zmin
    maximumPoints=npt
    active=_isPlaying()
    connected=_isPlaying()
    x=x0
    y=y0
    z=z0
    sizeX=x-x0
    sizeY=y-y0
    sizeZ=z-z0
    x=0
    y=dy
    z=zmax
    sizeX=x0
    sizeY=y0-dy
    sizeZ=z0-zmax
    x=0
    y=-dy
    z=zmax
    sizeX=x0
    sizeY=y0+dy
    sizeZ=z0-zmax
    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
    variable=h0
    minimum=size*3
    maximum=xmax
    format="Hup=0.00"
    dragaction=h2=h0+h1;
    variable=h1
    minimum=size*3
    maximum=xmax
    format="Hdown=0.00"
    dragaction=h2=h0+h1;
    text="clear"
    action=_view.trail3D.clear();