diff options
Diffstat (limited to '876/CH7/EX7.1/Ex7_1.sce')
-rwxr-xr-x | 876/CH7/EX7.1/Ex7_1.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/876/CH7/EX7.1/Ex7_1.sce b/876/CH7/EX7.1/Ex7_1.sce new file mode 100755 index 000000000..514a60f80 --- /dev/null +++ b/876/CH7/EX7.1/Ex7_1.sce @@ -0,0 +1,7 @@ +//caption:convert 1101 into decimal
+//Ex7.1
+clc
+clear
+close
+decimal=1*2^3+1*2^2+0*2^1+1*2^0
+disp(decimal,'decimal conversion=')
\ No newline at end of file |