diff options
Diffstat (limited to '2360/CH4/EX4.7')
-rwxr-xr-x | 2360/CH4/EX4.7/ex4_7.sce | 13 |
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");
|