summaryrefslogtreecommitdiff
path: root/1370/CH8/EX8.8/example8_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1370/CH8/EX8.8/example8_8.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1370/CH8/EX8.8/example8_8.sce')
-rwxr-xr-x1370/CH8/EX8.8/example8_8.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1370/CH8/EX8.8/example8_8.sce b/1370/CH8/EX8.8/example8_8.sce
new file mode 100755
index 000000000..d910688d7
--- /dev/null
+++ b/1370/CH8/EX8.8/example8_8.sce
@@ -0,0 +1,13 @@
+//example8.8
+clc
+disp("(V_dc(av))=80 V, (V_rms)=230 V")
+disp("Note that given ac mains voltage is rms unless and otherwise specified to be peak")
+v=230*sqrt(2)
+format(8)
+disp(v,"Therefore, V_m(in V)=sqrt(2)*(V_rms)=")
+disp("Now , (V_dc(av))=(V_m*(1+cos(alpha)))/(2*pi)")
+disp("Therefore, 80=(325.269*(1+cos(alpha)))/(2*pi)")
+disp("Therefore, cos(alpha)=0.5453")
+c=acosd(0.5453)
+format(6)
+disp(c,"Therefore, alpha(in degree)=")