I have a range and I want to convert it to a range using a non-linear function. My range is from $[100,1000000]$ and I want a non linear function so that this range converts to $[1,100]$ in non-linear way. I tried $y=100000/x$ and then linear transform it to $1-100$ range. But this method gives a very sharp gradient, eg
100-1000
200-500
300-333
400-250
...
10000-10
100000-1
1000000-1
I want something which gradually changes but still non-linear and not so steep. Is their any better way to solve this problem?
One possibility is applying $\sqrt{x}/10; \sqrt{100}/10=10; \sqrt{1,000,000}/10=1000$?