added new voltage equation