ID:152076
 
What's a reasonable way to calculate temperature based on ONLY latitude and elevation (ignoring any other factors involved)?

The minimum elevation is 1, and the maximum is 255. 128 is sea level.
constant * (cos(latitude) + sin(elevation * 90 / maxelevation)) + mintemperature