Exam variants
Randomized mechanics exam questions, with the answer key
A new exam every term, and students who compare answers: the usual fix is writing several versions by hand and working out every key. Exam Variants does it from one scene. You choose what varies; the studio simulates every variant for its answer and writes the exam.
Version 1 of 3 on this page.
Build or open the problem
Any scene: an Atwood machine, a block on a slope, a pendulum, a linkage. Switch to Research mode and open Export → Exam Variants.Choose what varies
Tick the values to vary (a mass, a spring constant, a speed, gravity), give each a range and its decimals, and write the question with placeholders such as {m1_mass}. LaTeX is allowed.Add the answers and export
Pick the quantities to ask for (a final value, a maximum, a period), the number of variants and a seed. You get a PDF with the solutions and the key, the students' copy, or the LaTeX source.
One template, a different problem for every student
The question is written once, with placeholders for the values that vary:
\question Masses $m_1 = {m1_mass}$ kg and $m_2 = {m2_mass}$ kg hang over an ideal pulley.
Find the acceleration of the masses and the tension in the rope.Two variants and their key (g = 9.81 m/s²):
| Variant | m₁ | m₂ | a | T |
|---|---|---|---|---|
| 1 | 3.4 kg | 2.1 kg | 2.32 m/s² | 25.47 N |
| 2 | 4.7 kg | 1.8 kg | 4.38 m/s² | 25.54 N |
Every student can get different numbers, so copying an answer does not help, and you have a new exam each term from the same scene. The key is the simulation's, so it also works for problems without a neat closed form.
The output
A LaTeX exam, figures included
One question per variant with its own figure in TikZ and its solution, and an answer key at the end, in the standard exam document class. Remove \printanswers for the students' copy, or download the PDF the studio makes.
The answers
Simulated, not just substituted
Each variant is run in the engine and its answers read from the run, so the key also covers problems with friction, collisions or several bodies. Give enough time for what you ask, and the dialog warns when a quantity never changes.
For a school
Several teachers or a whole department?
Write to us about a course or department licence by invoice.
Examples
Start from a classic problem
Open one and press Space. AP Physics 1 teachers: the examples by unit.
Exam variants are part of Pro
Opening and running the examples is free. Pro, from €4.99 a month, adds exam variants, figures and every export. See the plans.