summaryrefslogtreecommitdiff
path: root/1673/CH1/EX1.5
diff options
context:
space:
mode:
Diffstat (limited to '1673/CH1/EX1.5')
-rwxr-xr-x1673/CH1/EX1.5/1_5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1673/CH1/EX1.5/1_5.sce b/1673/CH1/EX1.5/1_5.sce
new file mode 100755
index 000000000..f5688ed56
--- /dev/null
+++ b/1673/CH1/EX1.5/1_5.sce
@@ -0,0 +1,9 @@
+//relative error
+//example 1.5
+//page 10
+clc;clear;close;
+n=8.6;// the corrected number
+N=1;//the no is rounded to one decimal places
+E_A=(10^-N)/2;
+E_R=E_A/n;
+printf('the relative error of the number is:%0.4f',E_R);