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.8/4_08.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.8/4_08.sce')
-rwxr-xr-x | 243/CH4/EX4.8/4_08.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/243/CH4/EX4.8/4_08.sce b/243/CH4/EX4.8/4_08.sce new file mode 100755 index 000000000..c66af3743 --- /dev/null +++ b/243/CH4/EX4.8/4_08.sce @@ -0,0 +1,9 @@ +//Example No. 4_08
+//Machine Epsilon
+//Pg No. 72
+clear ; close ; clc ;
+
+deff('q = Q(p)','q = 1 + (p-1)*log10(2)' )
+p = 24
+q = Q(p)
+mprintf('q = %.1f \n We can say that the computer can store numbers with %i significant decimal digits \n ',q,q)
\ No newline at end of file |