Data Representation Using Binary Digits


Exponential value of the place



Download 220,83 Kb.
bet3/6
Sana07.10.2022
Hajmi220,83 Kb.
#851653
1   2   3   4   5   6
Bog'liq
Лаб2 Аружан

Exponential value of the place

104

103

102

101

100

Decimal value of the place

10,000

1,000

100

10

1

Table 1 Exponential and decimal values corresponding to a digit's place in a number
Note that the exponential values are raised to a power corresponding to the place of the digit. For example, the exponential value of the 4th place is 104.
To determine the value of the number, multiply the digit contained in a column by the value that column represents. The following is a sample calculation for the previous example.
4 × 104 + 3 × 103 + 8 × 102 + 7 × 101 + 2 × 100 =
4 × 10,000 + 3 × 1000 + 8 × 100 + 7 × 10 + 2 × 1 =
40,000 + 3000 + 800 + 70 + 2 =
43,872
While performing these calculations on a decimal number seems trivial, it demonstrates a pattern, or formula can be used to convert a number in any numbering system to decimal.
dp(b)p + dp-1(b)p-1 + . . . + d0(b)0
Where p is the place, b is the base, dp is the digit in the highest place in the number, and dp-1 is the next highest place in the number, and so on.
Using the number example above, dp = 4, dp-1 = 3, b = 10, and p = 4.
4 × 104 + 3 × 103 + 8 × 102 + 7 × 101 + 2 × 100 = 43,872
The formula above can be used to compute the decimal value of any number in a given base. Below is the calculation for converting 214 to its decimal value:


Download 220,83 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish