General energy equation holds for