diff options
Diffstat (limited to '3637/CH4/EX4.10')
-rw-r--r-- | 3637/CH4/EX4.10/Ex4_10.pdf | bin | 0 -> 85559 bytes | |||
-rw-r--r-- | 3637/CH4/EX4.10/Ex4_10.sce | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/3637/CH4/EX4.10/Ex4_10.pdf b/3637/CH4/EX4.10/Ex4_10.pdf Binary files differnew file mode 100644 index 000000000..0a524de1a --- /dev/null +++ b/3637/CH4/EX4.10/Ex4_10.pdf diff --git a/3637/CH4/EX4.10/Ex4_10.sce b/3637/CH4/EX4.10/Ex4_10.sce new file mode 100644 index 000000000..74e139e50 --- /dev/null +++ b/3637/CH4/EX4.10/Ex4_10.sce @@ -0,0 +1,11 @@ +//problem 10 pagenumber 4.42
+//given
+z=['111111','100110'];
+vref1=20;//volt
+e=1/base2dec(z(1),2)*vref1;format(6);
+disp('Minimum voltage each bit = '+string(e)+' volt');
+e=base2dec(z(2),2)/base2dec(z(1),2)*vref1;
+
+disp('Output voltage at '+string(z(2))+' = '+string(e)+' volt');
+
+
|