diff options
Diffstat (limited to '911/CH1/EX1.6.b')
-rw-r--r-- | 911/CH1/EX1.6.b/ex_1_6_b.pdf | bin | 0 -> 108797 bytes | |||
-rw-r--r-- | 911/CH1/EX1.6.b/ex_1_6_b.sce | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/911/CH1/EX1.6.b/ex_1_6_b.pdf b/911/CH1/EX1.6.b/ex_1_6_b.pdf Binary files differnew file mode 100644 index 000000000..55d8c47f0 --- /dev/null +++ b/911/CH1/EX1.6.b/ex_1_6_b.pdf diff --git a/911/CH1/EX1.6.b/ex_1_6_b.sce b/911/CH1/EX1.6.b/ex_1_6_b.sce new file mode 100644 index 000000000..d8ad68285 --- /dev/null +++ b/911/CH1/EX1.6.b/ex_1_6_b.sce @@ -0,0 +1,13 @@ +// example 1.6(b) / /
+clc
+//clears the screen //
+clear
+//clears already existing variables //
+// binary to octal conversion //
+y= bin2dec ('1110100')
+//binary to decimal conversion//
+a= dec2oct (y)
+//decimal to octal conversion //
+disp ('octal representation of given no is : ' )
+disp (a)
+// answer in octal form//
\ No newline at end of file |