Amazon has introduced Ergo with a demonstration that turns a teacher’s lab materials into a physics simulation, giving students four sliders to change a projectile’s motion. The resulting file plots trajectories with and without drag together and calculates the range, peak height and time in flight for each. According to Amazon, Ergo built the simulation using both a lab handout and an email, and the result fits a Chromebook screen and a phone screen without requiring scrolling.
The teacher’s request called for controls covering launch speed, launch angle, drag coefficient and ball mass, with the finished simulation saved as projectile.html. The class was preparing for an air-resistance lab on Thursday, with the setup and numerical inputs supplied through lab_handout.md and email_from_teacher.txt in the working directory. Rather than requesting separate displays for the two cases, the teacher asked for both trajectories to share a picture and for each case to show its own three measurements.
The classroom requirements extended beyond the physics: the teacher wanted one self-contained file that used no libraries, fetched nothing from the internet and saved nothing to the device. The intended setting was a sandboxed iframe inside the school’s LMS, where the teacher said an automated checker examines every interactive before publication. The requested layouts had specific limits of 1240 by 760 on Chromebooks and 390 by 700 on phones, with no scrolling at either size.
For that checker, the teacher also requested a global window.demo interface with methods named setSpeed, setAngle, setCd and setMass, each moving its corresponding slider and refreshing the simulation. A separate getState() method was requested to return plain numerical values for speed, angle, drag coefficient and mass, alongside range, maximum height and flight time grouped under drag and noDrag. The teacher asked for those readings in SI units, with speed given in meters per second, angle in degrees and mass in kilograms.













