summaryrefslogtreecommitdiff
path: root/3871/CH3/EX3.15
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH3/EX3.15
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3871/CH3/EX3.15')
-rw-r--r--3871/CH3/EX3.15/Ex3_15.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3871/CH3/EX3.15/Ex3_15.sce b/3871/CH3/EX3.15/Ex3_15.sce
new file mode 100644
index 000000000..3161d5be4
--- /dev/null
+++ b/3871/CH3/EX3.15/Ex3_15.sce
@@ -0,0 +1,22 @@
+//===========================================================================
+//chapter 3 example 15
+
+clc;clear all;
+
+//variable decelaration
+er = 0.015; //limiting error
+V = 100; //range of voltmeter in V
+I = 150; //range of ammeter in mA
+V1 = 70; //magnitude of voltage being measured in V
+I1 = 80; //magnitude of current being measured in mA
+
+//calculations
+dV = er*V; //magnitude(dV/V of limiting error of the voltmeter in V
+eV = (dV/(V1))*100; //percentage(dI/I) limitng error at this voltage in %
+dI = er*I; //magnitude of limitng error off the ammeter in mA
+eI = (dI/(I1))*100; //percentage limitng error at this current in %
+P = V1*(I1/(1000)); //power in W
+dPx = eV+eI; //relative limiting error(dPx/Px) in power measurement in %
+
+//result
+mprintf("relative limitng error in power measurement= %3.4f percentage",dPx);