summaryrefslogtreecommitdiff
path: root/243/CH4/EX4.8/4_08.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /243/CH4/EX4.8/4_08.sce
downloadScilab-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-x243/CH4/EX4.8/4_08.sce9
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