This would be the main formula, based on it we cleared the formula that calculates the voltage: