summaryrefslogtreecommitdiff
path: root/3871/CH10/EX10.5/Ex10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH10/EX10.5/Ex10_5.sce')
-rw-r--r--3871/CH10/EX10.5/Ex10_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3871/CH10/EX10.5/Ex10_5.sce b/3871/CH10/EX10.5/Ex10_5.sce
new file mode 100644
index 000000000..6bd6b4cbd
--- /dev/null
+++ b/3871/CH10/EX10.5/Ex10_5.sce
@@ -0,0 +1,16 @@
+//===========================================================================
+//chapter 10 example 5
+clc;clear all;
+
+//variable declaration
+Vx1 = 0.835; //indicated calue of voltage drop across the unknown resistance in V
+emf = -25*10^-6; //thermal emf with unknown resistance in V
+S = 0.10025; //resistance of standard resistor in Ω
+Vs = 0.984; //voltage drop across standard resistor in V
+
+//calculations
+Vx = Vx1-emf;
+X = (S*Vx)/Vs; //Resistance of resistor under test in Ω
+
+//result
+mprintf("unknown resistor = %3.5f Ω",X);