function y = penyearah(x)
Vrms = x(1);
alpha = (pi/180)*x(2);
Vm = Vrms*sqrt(2);
y = (Vm/pi)*(1 + cos(alpha));