diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2075/CH8/EX8.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2075/CH8/EX8.8')
-rwxr-xr-x | 2075/CH8/EX8.8/pe8_8.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2075/CH8/EX8.8/pe8_8.sce b/2075/CH8/EX8.8/pe8_8.sce new file mode 100755 index 000000000..adc33aa5a --- /dev/null +++ b/2075/CH8/EX8.8/pe8_8.sce @@ -0,0 +1,19 @@ +//example 8.8
+clc;funcprot(0);
+//Initialization of Variable
+V=120;//line voltage
+A=60;//degree
+D=.35;
+pi=3.14;
+//calculation
+Va=D*V;
+disp(Va,"average voltage in V:")
+Vd=V*2^.5*(cos(A*pi/180)+1)/2/pi;
+disp(round(Vd),"dc voltage in V:")
+printf('\nthe markers indicae Vp=163V Vave=41')
+Vr=.9*V;
+disp(Vr,"full-wave rms voltage in V:")
+Vrms=V*(2^.5)*(.5*(pi-1.047)+.25*sin(2*A*pi/180))^.5/pi^.5;
+disp(Vrms,"rms voltage in V:")
+printf('\nthe markers indicate Vp=169V Vave=106V')
+clear()
|