write program to compute wall temperature stuff