Is there a method by which a number between the range of lets say (a, b) can be scaled to a different range of lets say (p, q)?
In my case, I have a number between in