# Example sine wave

    Vm = 25;
    w = 200*pi;
    phi = 30*pi/180;
    f = w/(2*pi);
    fprintf('angular frequency %g\n',w);
    fprintf('frequency %g Hz\n',f);
    fprintf('period %g msec\n',1000/f);
    fprintf('peak value %g V\n',Vm);
    fprintf('rms value %g V\n',Vm/sqrt(2));

    angular frequency 628.319
    frequency 100 Hz
    period 10 msec
    peak value 25 V
    rms value 17.6777 V