values to be rescaled rescaled values old start old end new start new end multiply and add to values such that the old start becomes the new start, and the old end becomes the new end.