diff options
Diffstat (limited to '2627/CH11/EX2.13')
-rwxr-xr-x | 2627/CH11/EX2.13/Ex_B_2_13.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2627/CH11/EX2.13/Ex_B_2_13.sce b/2627/CH11/EX2.13/Ex_B_2_13.sce new file mode 100755 index 000000000..a8bce08e0 --- /dev/null +++ b/2627/CH11/EX2.13/Ex_B_2_13.sce @@ -0,0 +1,6 @@ +//Part B Ex 2.13
+clc;clear;close;
+format('v',5);
+decimal=26;//given decimal value
+binary=dec2bin(decimal);//equivalent binary value
+disp(binary,"Equivalent binary value is");
|