1 2 3 4 5 6
//Chapter 21, Problem 16 clc; reg=2.5; //regulation e2=240; //secondary voltage v2=240-((reg*e2)/100); //secondary terminal voltage printf("Load voltage = %d V",v2);