Formula for voltage regulation in transformers