diff options
Diffstat (limited to '2702/CH5/EX5.21/Ex_5_21.sce')
-rw-r--r-- | 2702/CH5/EX5.21/Ex_5_21.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2702/CH5/EX5.21/Ex_5_21.sce b/2702/CH5/EX5.21/Ex_5_21.sce new file mode 100644 index 000000000..70dbcac4d --- /dev/null +++ b/2702/CH5/EX5.21/Ex_5_21.sce @@ -0,0 +1,22 @@ +// Exa 5.21
+clc;
+clear;
+close;
+// Given data
+// Part (a)
+PerError= 1;// in %
+A= 10^5;// (Assumed value)
+ABita= 1/PerError*100;
+Bita= 1/(PerError*A);
+disp("% error A Aß 1+Aß")
+disp(string(PerError)+" "+string(A)+" "+string(ABita)+" "+string(1+ABita))
+// Part (b)
+PerError= 5;// in %
+ABita= 1/PerError*100;
+Bita= 1/(PerError*A);
+disp(string(PerError)+" "+string(A)+" "+string(ABita)+" "+string(1+ABita))
+// Part (c)
+PerError= 50;// in %
+ABita= 1/PerError*100;
+Bita= 1/(PerError*A);
+disp(string(PerError)+" "+string(A)+" "+string(ABita)+" "+string(1+ABita))
|