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 /2345/CH15/EX15.20/Ex15_20.sce | |
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 '2345/CH15/EX15.20/Ex15_20.sce')
-rwxr-xr-x | 2345/CH15/EX15.20/Ex15_20.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2345/CH15/EX15.20/Ex15_20.sce b/2345/CH15/EX15.20/Ex15_20.sce new file mode 100755 index 000000000..10e1de2af --- /dev/null +++ b/2345/CH15/EX15.20/Ex15_20.sce @@ -0,0 +1,9 @@ +//Finding current
+//Example 15.20(pg. 405)
+clc
+clear
+//Let current in XA=I, in XY=I1, in AY=I-40, in YB=I-40+I1-60, in BX=I+I1-150.
+//By Kirchhoff's second law, in circuit XAYA I-I1=20
+// and in circuit XAYBX 25I+15I1=1950
+I1=(1950-500)/(15+25)//in Amperes
+printf('Thus the current in branch XY is I1=%2.2f Amps',I1)
|