<![CDATA[Ejs Open Source Brownian Motion Gas Model Java Applet]]> true false true false false false true true false false ]]> ./Brownian motion/particle.png ./01authorPacoEsquembre2011.png;./01authorfu-kwun.hwang.png;./01authorlookang50x50.png DESCRIPTION_EDITOR Brownian motion true false _default_ Brownian motion false http://weelookang.blogspot.sg/2015/08/ejss-brownian-motion-model.html

Brownian motion

This is a simulation of brownian motion of a particle that collides with a large set of smaller particles which move with uniform motion in different random directions.

For more info:

http://weelookang.blogspot.sg/2010/06/ejs-open-source-brownian-motion-gas.html

]]>
DESCRIPTION_EDITOR Copyright true false _default_ Copyright false

Original Author:

Simulación preparada por Francisco Esquembre para el libro

Creación de Simulaciones Interactivas en Java.
Aplicación a la Enseñanza de la Física

(C) Pearson Educación 2004.

Modified by Fu-Kwun Hwang

http://www.phy.ntnu.edu.tw/ntnujava/

]]>
20 1 false VARIABLE_EDITOR Common true false VARIABLE_EDITOR language true false "]]> VARIABLE_EDITOR Disks true false VARIABLE_EDITOR Events true false VARIABLE_EDITOR lookang true false VARIABLE_EDITOR layout true false CODE_EDITOR Initialisation true false CODE_EDITOR lookang true false ODE_EDITOR Motion true false ERROR_EDITOR Error handling code true false ANY_ERROR t dt vx[i] vy[i] getA(i,vx) getA(i,vy) Euler 10000 false false false false CODE_EDITOR Fixed Rel true false 0 && d0 && d LIBRARY_EDITOR collision true false LIBRARY_EDITOR vdistribution false false nv-1)id=nv-1; V[id]+=1; } } ]]> LIBRARY_EDITOR playpause true false LIBRARY_EDITOR getAx true false LIBRARY_EDITOR setSize true false LIBRARY_EDITOR fullscreen true false LIBRARY_EDITOR android true false -1; //&& ua.indexOf("mobile"); } ]]> org.colos.ejss.model_elements.hardware.AccelerometerElement accelerometer HTML_VIEW_EDITOR HtmlView Page true false 0 0 0 800 600 true true Elements.Panel true Elements.Panel Elements.ComboBox 0)? opts[0]:""; // selected option //["mass on cart =0.00 kg","mass on cart =0.05 kg","mass on cart =0.100 kg","mass on cart =0.15 kg","mass on cart =0.20 kg","mass on cart =0.25 kg","mass on cart =0.30 kg"] if ( option=="single air molecule"){ n=2; } //printing else if (selected[0] == "print"){ if (print == true){ print = false; } else if (print == false){ print = true; } } //printing //coefficient of resititution between particles else if ( option == "e particles = 0"){ ed = 0; } else if ( option == "e particles = 0.5"){ ed = 0.5; } else if ( option == "e particles = 1"){ ed = 1; } //coefficient of resititution between particles //coefficient of resititution between particle and wall else if ( option == "e particle and wall = 0"){ ep = 0; } else if ( option == "e particle and wall = 0.5"){ ep = 0.5; } else if ( option == "e particle and wall = 1"){ ep = 1; } //coefficient of resititution between particle and wall //size for 1,2,5,7 and 10 else if ( option == "size = 1"){ sizen = 1; setSize(); } else if ( option == "size = 2"){ sizen = 2; setSize(); } else if ( option == "size = 5"){ sizen = 5; setSize(); } else if ( option == "size = 7"){ sizen = 7; setSize(); } else if ( option == "size = 10"){ sizen = 10; setSize(); } //size else if ( option=="two air molecules"){ n=3; } else if ( option=="three air molecules"){ n=4; } else if ( option=="four air molecules"){ n=5; } else if ( option=="five air molecules"){ n=6; } else if ( option=="N = 10"){ n=11; } else if ( option=="N = 20"){ n=21; } else if ( option=="N = 30"){ n=31; } else if ( option=="N = 40"){ n=41; } else if ( option=="N = 50"){ n=51; } else if ( option=="N = 100"){ n=101; } else if ( option=="air molecules show"){ see=true; for (var i=1; i=0&&Math.abs(vmax)<=2 ) { temptext = "Low Temperature"; } else if ( Math.abs(vmax)>2&&Math.abs(vmax)<=4 ) { temptext = "Medium Temperature"; } else if ( Math.abs(vmax)>4&&Math.abs(vmax)<=6 ) { temptext = "High Temperature"; } else if ( Math.abs(vmax)>6&&Math.abs(vmax)<=8 ) { temptext = "Very High Temperature"; } else if ( Math.abs(vmax)>8&&Math.abs(vmax)<=10 ) { temptext = "Extremely High Temperature"; } if(parent.cordova) { // check it is running in Android //var option1 = _view.comboBox.getProperty("SelectedOptions"); parent.TTS.speak(option, function () { // success }, function (reason) { // error }); } else { var msg = new SpeechSynthesisUtterance(option); window.speechSynthesis.speak(msg); }]]> Elements.TwoStateButton Elements.Button Elements.Button Elements.CheckBox true Elements.Panel false Elements.PlottingPanel Elements.Shape2D Elements.ShapeSet2D Elements.Shape2D Elements.ShapeSet2D Elements.ArrowSet2D Elements.Arrow2D Elements.Trace Elements.TextSet2D Elements.TraceSet Elements.Shape2D Elements.Shape2D