CÁLCULO DE ENERGIA

A leitura inicial não pode ser maior que a final
A leitura final não pode ser menor que a inicial