title: rescaling ranges
body: <p>for example i have two ranges </p>
  
  <pre><code>                       (1) 0 to 3
                         (2) 10 to 15
  </code></pre>
  
  <p>in range (1) i have numbers between 0 and 3, where 0 is minimum and 3 is maximum value...(it has also values 1 and 2)...</p>
  
  <p>now i wanted to rescale both ranges (1) and (2) to range 0 to 1. Can you show me how to do it or at least point to helpful sites? thanks a lot!</p>