diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /243/CH4/EX4.9/4_09.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '243/CH4/EX4.9/4_09.sce')
-rwxr-xr-x | 243/CH4/EX4.9/4_09.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/243/CH4/EX4.9/4_09.sce b/243/CH4/EX4.9/4_09.sce new file mode 100755 index 000000000..10e169837 --- /dev/null +++ b/243/CH4/EX4.9/4_09.sce @@ -0,0 +1,16 @@ +//Example No. 4_09
+//Propagation of Error
+//Pg No. 75
+clear ; close ; clc ;
+
+x = 0.1234*10^4
+y = 0.1232*10^4
+d = 4
+er_x = 10^(-d + 1)/2
+er_y = 10^(-d + 1)/2
+ex = x*er_x
+ey = y*er_y
+ez = abs(ex) + abs(ey)
+er_z = abs(ez)/abs(x-y)
+
+mprintf('\n |er_x| <= %.2f o/o\n |er_y| <= %.2fo/o \n ex = %.3f \n ey = %.3f \n |ez| = %.3f \n |er_z| = %.2fo/o \n',er_x *100,er_y*100,ex,ey,ez,er_z*100)
\ No newline at end of file |