summaryrefslogtreecommitdiff
path: root/2123/CH6/EX6.17/Exa_6_17.sce
blob: 40514186d151b37d10b29f7e3e7ff2ced6df5eba (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example No. 6.17
clc;
clear;
close;
format('v',7);

//Given Data : 
Vrms=415;//volt
f=50;//Hz
Vdc=Vrms/sqrt(1/%pi*integrate('1','t',0,2*%pi/3));
disp(Vdc,"Value of Vdc in Volts : ");