Start Here — A Complete Tour
Goal-seek when you can't rearrange — nsolve()
continues from lesson 9 — values defined earlier in the course stay live here
Some equations can't be rearranged cleanly. nsolve("residual", "variable", guess) finds the value that drives the residual to zero numerically — and it is unit-aware: the unit of your guess is the unit of the answer. Here we size a cylinder: what radius gives a 100 m³ tank that is 3 m tall?
= 3 m
= 100 m^3
= 3.2574 m guess 1 m; the unit carries through
✓ pass plug it back in: the volume really is 100 m³