summaryrefslogtreecommitdiff
path: root/165/CH4/EX4.26
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /165/CH4/EX4.26
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '165/CH4/EX4.26')
-rw-r--r--165/CH4/EX4.26/ex4_26.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/165/CH4/EX4.26/ex4_26.sce b/165/CH4/EX4.26/ex4_26.sce
new file mode 100644
index 000000000..bd7e878db
--- /dev/null
+++ b/165/CH4/EX4.26/ex4_26.sce
@@ -0,0 +1,28 @@
+//Example 4.26
+close;
+clc;
+
+E=3; //in volts
+Rm=2000; //Meter resitence
+Rz=28000; //Multiplier resistence
+
+//Given R x 1 range
+R=10; //in ohms
+Rx=20; //in ohms
+V=E*R/(R+Rx); //Voltage across parallel combination
+Im=V/(Rm+Rz); //Current through meter
+printf('\nCurrent through meter in R x 1 range for 20 ohm = %.2f uA\n',Im*10^6)
+
+//Ohmmeter is set at R x 10 range
+R=100 //in ohms
+Rx=200; //in ohms
+V=E*R/(R+Rx); //Voltage across parallel combination
+Im=V/(Rm+Rz); //Current through meter
+printf('\nCurrent through meter in R x 10 range for 200 ohm = %.2f uA\n',Im*10^6)
+
+//Ohmmeter is set at R x 100 range
+R=1000; //in ohms
+Rx=2000; //in ohms
+V=E*R/(R+Rx); //Voltage across parallel combination
+Im=V/(Rm+Rz); //Current through meter
+printf('\nCurrent through meter in R x 100 range for 2 k ohm = %.2f uA\n',Im*10^6) \ No newline at end of file