1 2 3 4 5 6 7 8 9 10
//chapter20 //example20.1 //page437 V_NL=400 // V V_FL=300 // V regulation=((V_NL-V_FL)/V_FL)*100 printf("percent voltage regulation = %.3f percent \n",regulation)