Let x be the height and y the temperature.Problem 1
Up to a certain height the temperature above sea level can be modelled by a linear function of height h in meters. At the height 500m the temperature is 15 degrees celsius, at a height of 10 000m the temperature is -80 degrees. Determine an equation for the relation between height and temperature.
y=f(x)=ax+b, with a and b to determine.
You know the gradient, which may be
Is that what you want ?
Now, replace in y=ax+b to get b