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 /1076/CH16/EX16.15 | |
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 '1076/CH16/EX16.15')
-rwxr-xr-x | 1076/CH16/EX16.15/16_15.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1076/CH16/EX16.15/16_15.sce b/1076/CH16/EX16.15/16_15.sce new file mode 100755 index 000000000..ec1c8c624 --- /dev/null +++ b/1076/CH16/EX16.15/16_15.sce @@ -0,0 +1,20 @@ +clear
+clc
+
+z1=complex(2,1)
+z2=complex(2,3)
+z3=complex(1,2)
+
+ib= 40 * exp (%i * -1 * acos (.8))
+ic= 60 * exp (%i * -1 * acos (.6))
+
+i1=((ib*z2)+((ib+ic)*z3))/(z1+z2+z3)
+i2=i1-ib
+i3=i2-ic
+
+mprintf("\n Current A to B in Ampere")
+disp(round(i1*100)/100)
+mprintf("\n Current B to C in Ampere")
+disp(round(i2*100)/100)
+mprintf("\n Current A to C in Ampere")
+disp(round(-i3*100)/100)
|