Find the total energy of vibration of a string of length L, fixied as both ends, oscillitating in its nth characteristic mode with an amplitude of A. The tension in the string is T and its total mass is M.