summaryrefslogtreecommitdiff
path: root/620/CH23/EX23.3/example23_3.sce
blob: 38b06c71980f9b3a7003c38a94f09f01343443dd (plain)
1
2
3
4
5
x_c=2;
i=25;
v=i*x_c;
vm=sqrt(2)*v;
disp("the peak voltage (in V) is"); disp(vm);