immediately after arriving in budapest, milanković met the director of the library of the hungarian academy of science, koloman von szilly who, as a mathematician, eagerly accepted milanković and enabled him to work undisturbed in the academy's library and the central meteorological institute. milanković spent four years in budapest, almost the entire war. he used mathematical methods to study the current climate of inner planets of the solar system. in 1916 he published a paper entitled "investigation of the climate of the planet mars". milanković calculated that the average temperature in the lower layers the atmosphere on mars is and the average surface temperature is . also, he concluded that: "this large temperature difference between the ground and lower layers of the atmosphere is not unexpected. great transparency for solar radiation makes that is the climate of mars very similar to altitudes climate of our earth." today it is known that the average temperature is , but that the ground temperatures and air temperatures generally differ. in any case, milanković theoretically proved that mars has an extremely harsh climate. in addition to considering mars, he dealt with the climatic conditions prevailing on venus and mercury. his calculations of the temperature conditions on the neighboring moon are particularly significant. milanković knew that one day on the moon lasts 15 earth days, and this is the amount and length of night. milanković calculated that the surface temperature on the day side of the moon reaches +100.5 °c. also, he calculated that the temperature during the early morning on the moon, or before the rise of the sun over horizon, was −58 °c. today it is known that the surface temperature on the day side of the moon reaches +108 °c and that it falls at night to −153 °c.