methods for determining voltage