summaryrefslogtreecommitdiff
path: root/1994/CH7/EX7.4/Example7_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1994/CH7/EX7.4/Example7_4.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 '1994/CH7/EX7.4/Example7_4.sce')
-rwxr-xr-x1994/CH7/EX7.4/Example7_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1994/CH7/EX7.4/Example7_4.sce b/1994/CH7/EX7.4/Example7_4.sce
new file mode 100755
index 000000000..14c71fc21
--- /dev/null
+++ b/1994/CH7/EX7.4/Example7_4.sce
@@ -0,0 +1,15 @@
+//Chapter-7,Example7_4,pg 7-23
+Vsh1=400*10^-3
+Rsh=0.01
+Ish=Vsh1/Rsh
+printf("current through shunt\n")
+printf("Ish=%.2f A\n",Ish)
+Ish=50
+Vsh=Ish*Rsh
+printf("voltage through shunt\n")
+printf("Ish=%.2f V\n",Vsh)
+Rm=750//coil resistance
+Im=Vsh1/Rm
+Rm1=Vsh/Im//meter resistance
+printf("meter resistance\n")
+printf("Rm1=%.2f ohm\n",Rm1)