function y = penyearah(x)
% Phase Controlled Rectifier
% PENYEARAH TERKENDALI ALPHA 
Vm = (sqrt(2))*x(1);
alpha = x(2);
y = (Vm/pi)*(1 + cos(alpha));

