1 2 3 4 5 6 7 8
disp("Part a"); f=60; t=1/f; disp("the period (in ms) is"); disp(t*1000); disp("Part b"); t1=10^(-3); f1=1/t1; disp("the frequency (in kHz) of the waveform is"); disp(f1/1000);