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 /2360/CH4/EX4.8 | |
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 '2360/CH4/EX4.8')
-rwxr-xr-x | 2360/CH4/EX4.8/ex4_8.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2360/CH4/EX4.8/ex4_8.sce b/2360/CH4/EX4.8/ex4_8.sce new file mode 100755 index 000000000..2e4d92581 --- /dev/null +++ b/2360/CH4/EX4.8/ex4_8.sce @@ -0,0 +1,16 @@ +// Exa 4.8
+clc;clear;close;
+// Given data
+format('v',8)
+n = 4;// number of bit
+R = 1/(10^n);
+disp(R,"Part (i) : The resolution is");
+// There are 5 digit places in 4 1/2 digits, so
+disp("Part (ii) : 11.87 would be displayed as 11.870")
+Reading= 0.5573;
+format('v',7)
+disp(Reading,"Part (iii) : On 1 V range, 0.5573 will be displayed as : ")
+format('v',6)
+disp(Reading,"On 10 V range, 0.5573 will be displayed as : ")
+
+
|