linear temperature distribution, simple project for university