summaryrefslogtreecommitdiff
path: root/3836/CH9/EX9.13/Ex9_13.sce
blob: 273a8d30587e03887c5e30881fab205f4bb71aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Initializaton

n='f851'                   //Hex Number

//Calculation

w=hex2dec(n)              //Hex to Decimal Coversion
w1 =dec2bin(w)
	

//Result
printf("\n Binary of f851 = %s",(w1))