summaryrefslogtreecommitdiff
path: root/2234/CH3/EX3.17/ex3_17.sce
blob: 8d918484fecf60ef18d7e7179116521149521fd1 (plain)
1
2
3
4
5
clc;
vpp=25;  //peak to peak voltage in volt
vp=vpp/2;  //calculating peak value in volt
rms=vp/sqrt(2);  //calculating rms value
disp(rms,"Rms value in volt = ");  //displaying result