Graphics Reference
In-Depth Information
exercise A-2
in base 5 the results of the operation defined by a25aaff6 16 + 6789aba 12 + 35671 8 + 1100221 3 - 1250. Get the
result of the operation (666551 7 ) also in base 13 (aa199800a 11 ) + (fffaaa125 16 ) / (33331 4 + 6)
the result of the first operation in base 10 is calculated as follows:
>> base2dec('a25aaf6',16) + base2dec('6789aba',12) +...
base2dec('35671',8) + base2dec('1100221',3)-1250
Ans =
190096544
but still need to pass the previous decimal result base 5.
>> dec2base (190096544,5)
Ans =
342131042134
then, the final result of the first operation in base 5 is 342131042134.
the result of the second operation in base 10 is calculated as follows:
>> base2dec('666551',7) * base2dec('aa199800a',11) +...
79 * base2dec('fffaaa125',16) / (base2dec ('33331', 4) + 6)
Ans =
2.7537e + 014
We now transform the result into base 13.
>> dec2base (275373340490852,13)
Ans =
BA867963C1496
exercise A-3
in base 13, get the result of the following operation:
(666551 7 ) (aa199800a 11 ) + (fffaaa125 16 ) / (33331 4 + 6)
First, we perform the operation in base 10:
Search WWH ::




Custom Search