summaryrefslogtreecommitdiff
path: root/1241/CH2/EX2.2/exa2_2.sce
blob: 6f359877ae6fc0e1abfabed489fb3f513b6662ed (plain)
1
2
3
4
5
6
//Example 2-2//
//Binary to Decimal Conversion//
a=bin2dec('1011101001')
//Decimal equivalent of the binary number//
disp(a)
//answer in decimal form//