Map x linearly from [in min, in max] to [out min, out max]. Also shows the round-trip check mapping the result back.

y0.5
Inverse map y โ†’ in-range x50