diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3554/CH5/EX5.4 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3554/CH5/EX5.4')
-rw-r--r-- | 3554/CH5/EX5.4/Ex5_4.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3554/CH5/EX5.4/Ex5_4.sce b/3554/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..2b5cfb0f8 --- /dev/null +++ b/3554/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,22 @@ +// Exa 5.4
+
+clc;
+clear all;
+
+// Given data
+
+n=4; // Number of full digits
+V1=12.98;//Reading 1 to be measured(V)
+V2=0.6973;//Reading 2 to be measured(V)
+
+// Solution
+
+Reso=1/10^n; //Resolution
+printf(' Resolution is %.4f \n ',Reso);
+disp("There are 5 digit places in 4 and 1/2 digits display, therefore 12.98 would be displayed as 12.980");
+disp("");
+printf(' Resolution on 1V range = %.4f. Any reading upto the 4th decimal can be displayed \n ',1*Reso);
+disp("Therefore. 12.98 would be displayed as 12.980 and 0.6973 will be displayed as 0.6973");
+disp("");
+printf(' Resolution on 10V range = %.3f. Therefore. 12.98 would be dislayed as 12.98 \n ',10*Reso);
+disp("Therefore on a 10V range,the reading of 0.6973 would be displayed as o.697 instead of 0.6973");
|