summaryrefslogtreecommitdiff
path: root/995/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH2/EX2.1/Ex2_1.sce')
-rwxr-xr-x995/CH2/EX2.1/Ex2_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/995/CH2/EX2.1/Ex2_1.sce b/995/CH2/EX2.1/Ex2_1.sce
new file mode 100755
index 000000000..7ca1dd204
--- /dev/null
+++ b/995/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,9 @@
+//Ex:2.1
+clc;
+clear;
+close;
+marked=220;//in ohms
+measured=207;//in ohms
+err=marked-measured;
+tol=(err/marked)*100;
+printf("Tolerance = %f %%",tol);