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 /3830/CH1/EX1.26 | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3830/CH1/EX1.26')
-rw-r--r-- | 3830/CH1/EX1.26/Ex1_26.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3830/CH1/EX1.26/Ex1_26.sce b/3830/CH1/EX1.26/Ex1_26.sce new file mode 100644 index 000000000..0377dfa2d --- /dev/null +++ b/3830/CH1/EX1.26/Ex1_26.sce @@ -0,0 +1,23 @@ +// Exa 1.26
+
+clc;
+clear;
+
+// Given
+
+R = 50; // Resistance value (Ohms)
+dR = 0.2; // variation in Resistance value (Ohms)
+I = 4; // Current value measured (Amp)
+dI = 0.02; // variation in current measurements (Amp)
+
+// Solution
+
+Per_Limiting_Error_Resis = dR/R * 100;
+Per_Limiting_Error_Curr = dI/I * 100;
+
+P = I^2 * R;
+dP = Per_Limiting_Error_Curr*2 + Per_Limiting_Error_Resis;
+
+printf('The limiting error in resistance measurement = ± %.2f percent \n',Per_Limiting_Error_Resis);
+printf(' The limiting error in current measurement = ± %.2f percent \n',Per_Limiting_Error_Curr);
+printf(' The limiting error in power measurement = %.2f percent \n',dP);
|