Below is a graph I want to use to measure loss over heat. A low heat and a high heat will signify a greater loss, whereas an average heat will signify a lesser loss.
- Loss is left
- Heat is bottom
The loss will have to have a maximum and minimum (Such as no more than 1, and no less than 0.5). The numbers used are purely fictional and can be replaced with anything else.
I apologise if this is vague, however while developing this application I realised that an algorythm will be far superior to a bunch of conditions.
The output I want would be something like this
What would the loss be at temperature X (I will always have the temperature, and only require the loss)

I assume that $f(60)=f(0)$ (It doesn't really look so in your graph).
$h = $ highest, $l =$ lowest, $m = $ highest point's x-value, $p = $ period (60 in your graph).
Your function is:
$$f(x) = \frac{h-l}{2}cos \left( \frac{2\pi}{p}(x-m) \right) + \frac{h+l}{2}$$
For $h=0.9, l=0.6, m=0, p=60$ it looks like this:
Of course, there are many many other functions that looks almost the same. But I think that this is the most simple one.
Your graph looks more or less like $cos(x)$ that is stretched and moved. So I've looked for a function of the type:
$$Acos(Bx + C) + D$$
$A$ stretches it in the $y$-axis, $B$ stretches it in the $x$-axis, $C$ moves it in the $x$-axis, and $D$ moves it in the $y$-axis.