How the labs work
- Every lab is a plain page with a separate model file. The same model file runs in the browser and in
tests/verify.mjsunder Node. - A check compares the model with a number printed in the book (a table value, a worked example or a reading from a figure, with about ±10 % reading error). A failed check fails the test run.
- A known deviation is a difference from the book that remains after checking the model. It is shown in the lab with the numbers on both sides. The test run also fails if a deviation changes.
- Statements that could not be checked against the book carry a not verified mark.
- Sign convention: z and y point up and left, the same as in the book unless a lab says otherwise.
Run every lab's checks at once: node vehicle-dynamics-labs/tests/verify.mjs