summaryrefslogtreecommitdiff
path: root/196/CH5/EX5.3/example_5_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /196/CH5/EX5.3/example_5_3.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 '196/CH5/EX5.3/example_5_3.sce')
-rwxr-xr-x196/CH5/EX5.3/example_5_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/196/CH5/EX5.3/example_5_3.sce b/196/CH5/EX5.3/example_5_3.sce
new file mode 100755
index 000000000..667b16654
--- /dev/null
+++ b/196/CH5/EX5.3/example_5_3.sce
@@ -0,0 +1,17 @@
+//Chapter 5
+//Example 5-3
+//DesignASimpleSwitchArrangement
+//Page 124
+clear;clc;
+//Given
+Edc = 5 ; Erms = 5 ; Epeak = 5 ; Eptop = 5 ;// Voltages of meters
+Ifs = 50*10^-6 ; // Full scale Meter Current
+Ri1 = Edc / Ifs ; // DC Voltmeter
+Ri2 = 0.90 * (Erms / Ifs );// Rms ac voltmeter ( Sine wave only )
+Ri3 = 0.636 * (Epeak / Ifs );//Peak Reading Voltmeter ( Sine wave only )
+Ri4 = 0.318 * (Eptop / Ifs );//Peak-to-Peak ac Voltmeter(sine wave only)
+printf ( "\n\n Ri1 = %.4f ohm", Ri1 )
+printf ( "\n\n Ri2 = %.4f ohm", Ri2 )
+printf ( "\n\n Ri3 = %.4f ohm", Ri3 )
+printf ( "\n\n Ri4 = %.4f ohm", Ri4 )
+xcos ('Figure5_3.xcos')