summaryrefslogtreecommitdiff
path: root/260/CH2/EX2.2/2_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '260/CH2/EX2.2/2_2.sce')
-rw-r--r--260/CH2/EX2.2/2_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/260/CH2/EX2.2/2_2.sce b/260/CH2/EX2.2/2_2.sce
new file mode 100644
index 000000000..33df1f268
--- /dev/null
+++ b/260/CH2/EX2.2/2_2.sce
@@ -0,0 +1,14 @@
+//Eg-2.2
+//pg-51
+
+clear
+clc
+close()
+
+truevalue=.69;
+operatingvalue=0.63;
+err=truevalue-operatingvalue;
+perrelerr=err/truevalue*100;
+disp("error and pecentage relative error")
+disp(err)
+disp(perrelerr) \ No newline at end of file