heat equation with fixed temperatures at ends