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.10 | |
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.10')
-rwxr-xr-x | 243/CH4/EX4.10/4_10.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/243/CH4/EX4.10/4_10.sce b/243/CH4/EX4.10/4_10.sce new file mode 100755 index 000000000..f9fe38d6d --- /dev/null +++ b/243/CH4/EX4.10/4_10.sce @@ -0,0 +1,14 @@ +//Example No. 4_10
+//Errors in Sequence of Computations
+//Pg No. 77
+clear ; close ; clc ;
+
+x_a = 2.35 ;
+y_a = 6.74 ;
+z_a = 3.45 ;
+ex = abs(x_a)*10^(-3+1)/2
+ey = abs(y_a)*10^(-3+1)/2
+ez = abs(z_a)*10^(-3+1)/2
+exy = abs(x_a)*ey + abs(y_a)*ex
+ew = abs(exy) + abs(ez)
+mprintf('\n ex = %.5f \n ey = %.5f \n ez = %.5f \n exy = %.5f \n ew = %.5f \n',ex,ey,ez,exy,ew)
\ No newline at end of file |