We need to initialize oldtemps so that oldtemps is the
temperature of the left heat source, oldtemps is the
temperature of the right heat source, and every other entry of
oldtemps is the initial temperature of the rod. This last step will,
of course, require a for loop.
Return to lesson.
Eric N. Eide
Department of Computer Science
University of Utah