KONVERSI GRAY


Nama : Abdul Aziz
Nim : 0803040017
T. Informatika

1. Konversi Bilangan Desimal ke Kode Gray

– 2710

-27 / 2 = 13 sisa 1
-13 / 2 = 6 sisa 1
-6 / 2 = 3 sisa 0
-3 / 2 = 1 sisa 1

2710 =110112

1 + 1 + 0 + 1 + 1

1 0 1 1 0
Jadi kode gray dari 2710 = 10110 kode gray

2. Konversi kode gray Ke bilanga Desimal
– 10110

– 1 0 1 1 0

1 + 1 + 0 + 1 + 1

– 10110 gray= 110112
– 1 x 24 + 1 x 23 + 0 x 22 + 1 x 21 + 1 x2 0 = 2710

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s