summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.9
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH6/EX6.9')
-rw-r--r--3871/CH6/EX6.9/Ex6_9.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3871/CH6/EX6.9/Ex6_9.sce b/3871/CH6/EX6.9/Ex6_9.sce
new file mode 100644
index 000000000..1c7e59fa0
--- /dev/null
+++ b/3871/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,24 @@
+//===========================================================================
+//chapter 6 example 9
+clc;clear all;
+
+//variable declaration
+Rm = 25; //instrument resistance in Ω
+V = 25*10^-3; //full-scale deflection voltage in V
+V1 = 10; //voltage to be measured in V
+t = 10;
+alphac = 0.004;
+alpham = 0.00015;
+
+//calculations
+Im = V/(Rm); //full-scale deflection in mA
+R = (V1/(Im))-Rm; //external resistance in Ω
+Rt = Rm+R;
+Rm1 = Rm*(1+(alphac*t)); //instrument resistance with 10°C rise in temperature in Ω
+R1 = R*(1+(alpham*t)); //series resistance with 10°C rise in temperature in Ω
+R2 = Rm1+R1; //total resistance in the voltmeter circuit in Ω
+V2 = V1*(Rt/(R2)); //reading of voltmeter at 10°C rise in temerature in V
+er = ((V2-V1)/(V1))*100; //percentage error in %
+
+//reult
+mprintf('percentage error = %3.2f percentage",er);