diff options
Diffstat (limited to '911/CH1/EX1.14.b')
-rw-r--r-- | 911/CH1/EX1.14.b/ex_1_14_b.pdf | bin | 0 -> 111167 bytes | |||
-rw-r--r-- | 911/CH1/EX1.14.b/ex_1_14_b.sce | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/911/CH1/EX1.14.b/ex_1_14_b.pdf b/911/CH1/EX1.14.b/ex_1_14_b.pdf Binary files differnew file mode 100644 index 000000000..5742c8fcc --- /dev/null +++ b/911/CH1/EX1.14.b/ex_1_14_b.pdf diff --git a/911/CH1/EX1.14.b/ex_1_14_b.sce b/911/CH1/EX1.14.b/ex_1_14_b.sce new file mode 100644 index 000000000..b2b472b47 --- /dev/null +++ b/911/CH1/EX1.14.b/ex_1_14_b.sce @@ -0,0 +1,15 @@ +//example 1.14.b//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=110010100011.01110101
+//for integral part//
+//put decimal equivalents of 1100(12), 1010(10) and 0011(3)//
+//subtract 3 for excess 3 so, 9(12-3), 7(10-3) and 0(3-3)//
+i=970
+//for fractional part//
+//put decimal equivalents of 0111(7) and 0101(5)//
+//subtract 3 for excess 3 so, 4(7-3), 2(5-3)//
+f=42
+disp('970.42','decimal equivalent of excess 3 number 110010100011.01110101 =')
\ No newline at end of file |