I kind of forgot how to do this. Any help will be appreciated.
Asked
Active
Viewed 145 times
2 Answers
1
Try doing this in two steps:
- First add $1$. This shifts the interval from $(-1,1)$ to $(0,2)$.
- Now multiply by $15$. This stretches the interval $(0,2)$ to $(0,30)$.
Symbolically, if $x$ is in the interval $(-1,1)$ then computing $15(x+1)$ will yield a number in the interval $(0,30)$.
mweiss
- 23,647
0
Consider a linear map that takes $-1$ to $0$, and $1$ to $30$. Then:
$0 = -1a + b$, and
$30 = 1a + b$.
So: $b = 15$, and $a = 15$. The transformation is:
$f(x) = 15x + 15$
DeepSea
- 77,651