diff options
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);
|