Determine temperature as a function of time and position between two ends of a rod.