Calculate the specific gravity of lead-acid batteries