diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH6/EX6.8/Ex6_8.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3871/CH6/EX6.8/Ex6_8.sce')
-rw-r--r-- | 3871/CH6/EX6.8/Ex6_8.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/3871/CH6/EX6.8/Ex6_8.sce b/3871/CH6/EX6.8/Ex6_8.sce new file mode 100644 index 000000000..fb2005137 --- /dev/null +++ b/3871/CH6/EX6.8/Ex6_8.sce @@ -0,0 +1,27 @@ +//===========================================================================
+//chapter 6 example 8
+clc;clear all;
+
+
+//variable decalaration
+Rm = 5; //coil resistance in Ω
+Rm1 = 0.00075; //coil resistance in Ω
+Im = 0.015; //full-scale defelction current in A
+I = 100; //current to be measured in A
+T1 = 0.004; //temperature coeficient of copper in Ω/Ω/°C
+T2 = 0.00015; //temperature coeficient of manganin in Ω/Ω/°C
+T =10; //rise in temperature in °C
+
+//calculations
+N = I/(Im); //multiplying power of shunt
+Rs = Rm/(N-1); //resistance of manganin shunt in Ω
+Rc = Rm*(1+(T1*T)); //coil resitance with 10°C in temperature in Ω
+Rsh = Rm1*(1+(T2*T)); //shunt resitance with 10°C in temperature in Ω
+In = (Rsh/((Rc+Rsh)))*100; //new instrument current in A
+r = (In/(Im))*100; //new instrument reading in A
+e = ((r-I)/(I))*100; //percentage error in %
+
+
+//result
+mprintf('percentage error %3.3f percentage",e);
+
|