diff options
Diffstat (limited to '165/CH4/EX4.26')
-rw-r--r-- | 165/CH4/EX4.26/ex4_26.sce | 28 |
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 |