Niles said:
1) When I put a frying-pan on the hotplate (let's say that the hotplate has a temperature of 400 K), then no matter how long the frying-pan is on the plate, the maximum temperature the pan will gain is 400 K?
Yes,
2) When you touch a piece of steel when it is summer-time (e.g. a hand-rail), the steel sometimes feels extremely hot. This is of course because the steel conducts heat very well. But what is the maximum temperature this steel can acquire?
In theory the temperature of the surface of the sun!
In practice it depends on:
The reflectivity of the surface - a perfect black will absorb more energy.
The fraction of the area of the surface facing the sun.
Most importantly the rate of cooling to the surroundings.
If you put a perfectly black material inside a perfectly insulated box the part of it facing directly toward the sun would reach the same temperature as the sun.
The same thing applies to the earth,
Imagine drawing a sphere around the Earth with the radius of the Earth's orbit.
The sun's disc would fill a very small fraction of the surface of that sphere, the rest would be cold dark space.
The Earth receives energy from that fraction of the area that is the sun's disc and relects some of it.
The Earth then heats up and emits it's own heat to the rest of that area.
By knowing the temperature of the sun and the fraction of the surface covered by the sun you can work out what temperature the Earth should be.