summaryrefslogtreecommitdiff
path: root/2360/CH4/EX4.7/ex4_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2360/CH4/EX4.7/ex4_7.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 '2360/CH4/EX4.7/ex4_7.sce')
-rwxr-xr-x2360/CH4/EX4.7/ex4_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2360/CH4/EX4.7/ex4_7.sce b/2360/CH4/EX4.7/ex4_7.sce
new file mode 100755
index 000000000..2fe6a06d4
--- /dev/null
+++ b/2360/CH4/EX4.7/ex4_7.sce
@@ -0,0 +1,13 @@
+// Exa 4.7
+format('v',7);clc;clear;close;
+// Given data
+n = 3;// number of bit
+R = 1/(10^n);
+V = 1;// in V
+// For 1V range,
+Resolution = V*R;// in V
+disp(Resolution,"For 1 V range, the resolution in V is");
+// For 50 V range,
+V = 50;// in V
+Resolution = V*R;// in V
+disp(Resolution,"For 50 V range, the resolution in V is");