Maximum input to function is $40$, minimum is $1$. Function works like this:
$f(40)=0.2$,
$f(1)=1$
we also want to know what $f(x)$ would produce. The answer would be "linear" to these two cases - for example, $f(20)$ would return something around $0.6$.
Can someone help me with this function?