Fuente TeX:
U = -mgh_A + mgl\cos\beta