@physletName|QTime @code|qTime.QTime.class @archive|QTime4_.jar,STools4.jar @appletSize|400|300 @scriptHeader|setAutoRefresh(false);setEnergyOffset(false); @scriptFooter|setAutoRefresh(true); @embedParam|b|ShowControls|false|show controls: @embedParam|d|minX|-10|xmin: @embedParam|d|maxX|10|xmax: @embedParam|i|FPS|10|animation frames per second: @embedParam|i|numPts|512|calculated points: @embedParam|d|dt|0.02|time step per frame: @embedParam|s|caption||Caption: @embedParam|s|potential|0|initial potential: @embedParam|s|real|0|initial real part: @embedParam|s|imaginary|0|initial imaginary part: setReal| #FFDA92 >>> tt >>> Set real part of the wave function as a function of x and t. >>> tt >>> Set wave Re s|f|cos(2*pi*x)*exp(-2*sqr(x+6))|Re(x,t): setImaginary| #FFDA92 >>> tt >>> Set imaginary part of the wave function as a function of x and t. >>> tt >>> Set wave Im s|f|sin(2*pi*x)*exp(-2*sqr(x+6))|Im(x,t): setPotential| #FFDA92 >>> tt >>> a function of x for the potential in which the wave propagates >>> tt >>> Set potential s|f|20*(step(1+x)-step(x-1))|V(x,t): forward| #FFFF70 >>> tt >>> Start clock. Resume after "pause". Creating a new script "Forward" with just this command will result in an appropriate button. >>> tt >>> Forward pause| #FFFF70 >>> tt >>> Freeze the animation. Creating a new script "Pause" with just this command will result in an appropriate button. >>> tt >>> Pause stepForward| #FFFF70 >>> tt >>> Forward the animation one time step dt. Creating a new script "Forward" with just this command will result in an appropriate button. >>> tt >>> Step forward stepTimeBack| #FFFF70 >>> tt >>> Step the time backward by dt. Creating a new script "Back" with just this command will result in an appropriate button. >>> tt >>> Step backward reset| #FFFF70 >>> tt >>> Reset the clock to time=0. >>> tt >>> Reset setCaption| #CCFFCC >>> tt >>> Set a title that will be displayed in the QTime applet >>> tt >>> Title s|s||text: setShowAxes| #CCFFCC >>> tt >>> Show or hide the the X and Y axes on the graph. >>> tt >>> Show axes f|show|false|axes are visible: setShowPotential| #CCFFCC >>> tt >>> Show or hide the potential. >>> tt >>> Show_Potential b|show|false|potential is visible: setYMinMax| #B3EFFF >>> tt >>> Set the range of the y axis. >>> tt >>> Y range d|min|-10|ymin: d|max|10|ymax: setYAutoscaleOn| #B3EFFF >>> tt >>> The y range will zoom automatically to display all values. >>> tt >>> Autoscale on setYAutoscaleOff| #B3EFFF >>> tt >>> Use fixed y range. >>> tt >>> Autoscale off