mechanical energy methods