Google Classroom
GeoGebraGeoGebra Classroom

Study Simulating Air Particles in Container

This simulation use the Sequence command to generate n_p number of points with random() x and y coordinates, spread over horizontal distance lx and vertical distance ly, within the region lx by ly Sequence((random() lx, random() ly), t, 1, n_p, 1) generates the n_p number of points. The randomness of appearance of a point (random() lx, random() ly), is generated by animating slider t and with the command UpdateConstruction() inside the On Update panel under Scripting tab.