Why do most mathematics literature use 2L for the period of a function? Is it related to heat equation with a rod of length L?