summaryrefslogtreecommitdiff
path: root/1076/CH10/EX10.35/10_35.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1076/CH10/EX10.35/10_35.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 '1076/CH10/EX10.35/10_35.sce')
-rwxr-xr-x1076/CH10/EX10.35/10_35.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/1076/CH10/EX10.35/10_35.sce b/1076/CH10/EX10.35/10_35.sce
new file mode 100755
index 000000000..290403145
--- /dev/null
+++ b/1076/CH10/EX10.35/10_35.sce
@@ -0,0 +1,28 @@
+clear
+clc
+
+Ia=10*exp(%i *30 *%pi/180)
+Ib=15*exp(%i *-60*%pi/180)
+Ic=0-(Ia+Ib)
+
+Iac=(Ia +Ia +Ib)/3
+Icb=Ic +Iac
+Iba=Iac-Ia
+Ia0=(Ia +Ib +Ic)/3
+
+a=exp(%i * 2 * %pi/3)
+
+Ia1=(Ia + a*Ib + a*a*Ic)/3
+Ia2=(Ia + a*Ic + a*a*Ib)/3
+
+disp(round(Ia1*100)/100, "Ia1","(a)Symmetrical Line Components")
+disp(round(Ia2*100)/100, "Ia2")
+disp(round(Ia0*100)/100, "Ia0")
+
+Iac0=(Iac+Icb+Iba)/3
+Iac1=(Iac+ a*Icb+ a*a*Iba)/3
+Iac2=(Iac+a*a*Icb+a*Iba)/3
+
+disp(round(Iac1*100)/100, "Iac1","(b)Symmetrical Delta Components")
+disp(round(Iac2*100)/100, "Iac2")
+disp(round(Iac0*100)/100, "Iac0")