LISTING PROGRAM
Program
Menghitung_daya_mekanik_dan_generator_DC_shunt;
Uses crt;
Procedure f_Pm(f_P2,f_1,f_s:
real;var result:real);
Begin
Result:= f_P2*(f_1-f_s);
End;
Procedure f_Eg(f_Ia,f_Ra,f_Vt: real;var
result:real);
Begin
Result:=f_Ia*f_Ra+f_Vt;
End
Var
Pil,P2,1,s,Eg,Ia,Ra,Vt,rf_Pm,rf_Eg:real;
Begin
Clrscr;