diff options
Diffstat (limited to '911/CH1/EX1.2')
-rw-r--r-- | 911/CH1/EX1.2/ex_1_2.pdf | bin | 0 -> 107942 bytes | |||
-rw-r--r-- | 911/CH1/EX1.2/ex_1_2.sce | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/911/CH1/EX1.2/ex_1_2.pdf b/911/CH1/EX1.2/ex_1_2.pdf Binary files differnew file mode 100644 index 000000000..1c162bdda --- /dev/null +++ b/911/CH1/EX1.2/ex_1_2.pdf diff --git a/911/CH1/EX1.2/ex_1_2.sce b/911/CH1/EX1.2/ex_1_2.sce new file mode 100644 index 000000000..4fd4408e2 --- /dev/null +++ b/911/CH1/EX1.2/ex_1_2.sce @@ -0,0 +1,9 @@ +//example 1.2 //
+// decimal to binary conversion //
+clc
+clear
+disp('decimal equivalent of 00001110 is')
+ans = bin2dec ('00001110')
+// decimal equivalent of binary number //
+disp (ans)
+// answer in decimal form//
\ No newline at end of file |