You are on page 1of 21

Sistem Bilangan

Mekatronika 1
Teknik Mesin
UNJANI

Herman Budi Harja S.T.,M.T


Referensi tambahan
Binary Mathematics, Gerald R
Introduction
Sistem Bilangan 10
because we happened to
have ten fingers.

If dinosaurs had ruled the


earth, they would be happy to
use a 8-based counting
system.
Bilangan

Egyptians/Roman
Direpresentasikan dalam simbol.
Indian/Arabian (Sistem bilangan
modern)

1,475,268
Jenis Bilangan

Desimal Base 10
Binary Base 2
Octal Base 8 Desimal Biner

Hexadecimal
Base 16

Oktal Heksadesimal
Base 10 (Bilangan Decimal)

What does 157 mean?


157 = 1 x 100 + 5 x 10 + 7 x 1
= 1 x 102 + 5 x 101 + 7 x 100
Bilangan Biner
Sebagai Base 2 system
Penggunaan pada model sinyal elektrik
komputer yang merepresentasikan informasi
0 no voltage or an off state
1 the presence of voltage or an on state
Bit Biner and Bytes

1 bit merupakan satu bit information yang


bernilai 1 or 0
Only two possible values
1 byte 8 bits
256 possible values from 0-255 base 10 or
00000000 to 11111111 base 2
10100110 is a single byte
Istilah Significant Digits

Biner: 11101101

MSB LSB
Most significant digit Least significant digit

Heksadesimal: 1D63A7A

MSB LSB
Skala pada Bilangan Biner
Base 2 Number Base 10 Equivalent Power Positional Value

000 0 20 1
001 1 21 2
010 2 22 4
011 3 23 8
100 4 24 16
101 5 25 32
110 6 26 64
111 7 27 128
Konversi dari Bilangan
Decimal ke Bilangan Biner
The easiest way to convert a decimal number to its
binary equivalent is to use the Division Algorithm
This method repeatedly divides a decimal
number by 2 and records the quotient and
remainder
The remainder digits (a sequence of zeros and ones)
form the binary equivalent in least significant to most
significant digit sequence
Division Algorithm
Convert 67 to its binary equivalent:
6710 = x2
Step 1: 67 / 2 = 33 R 1 Divide 67 by 2. Record quotient in next row

Step 2: 33 / 2 = 16 R 1 Again divide by 2; record quotient in next row

Step 3: 16 / 2 = 8 R 0 Repeat again

Step 4: 8 / 2 = 4 R 0 Repeat again

Step 5: 4 / 2 = 2 R 0 Repeat again

Step 6: 2 / 2 = 1 R 0 Repeat again

Step 7: 1 / 2 = 0 R 1 STOP when quotient equals 0

1 0 0 0 0 1 12
Konversi Biner ke Decimal
Conversion
The easiest method for converting a
binary number to its decimal equivalent
is to use the Multiplication Algorithm
Multiply the binary digits by increasing
powers of two, starting from the right
Then, to find the decimal number
equivalent, sum those products
Multiplication Algorithm
Convert (10101101)2 to its decimal equivalent:

Binary 1 0 1 0 1 1 0 1
x x x x x x x x
Positional Values 27 26 25 24 23 22 21 20

Products 128 + 32 + 8 + 4 + 1

17310
Sistem Bilangan Oktal
Sebagai Base 8 System
Bernilai digit 0 - 7
Readily dikonversi bilangan biner
Groups of three (binary) digits can be used
to represent each octal digit
Konversi dari dan ke bilangan desimal
menggunakan Metoda multiplication and
division algorithms
Sistem Bilangan Heksadecimal

Base 16 system
Menggunakan digit 0-9 dan
huruf A,B,C,D,E,F
Groups of four bits
represent each
base 16 digit
Konversi Decimal ke Heksadecimal

Konversi 83010 ke bilangan heksadecimal :

830 / 16 = 51 R14 = E in Hex

51 / 16 = 3 R3
3 / 16 = 0 R3

33E16
Konversi Hexadecimal ke Desimal

Konversi 3B4F16 ke bilangan desimal

Hex Digits 3 B 4 F
x x x x
Positional Values
163 162 161 160
Products 12288 +2816 + 64 +15

15,18310
Konversi Biner ke Heksadesimal
Metoda termudah untuk konversi biner ke
heksadesimal substitution code
Each hex number converts to 4 binary digits
contoh
tanpa kalkulator!!!!

Konversi kode biner ke bilangan Desimal.


10100101 (Bin)
11011100 (Bin)
Konversi bilangan Desimal ke kode biner
376 (Dec)
Konversi bilangan Heksadesimal ke kode biner
BADDEF
Penjumlahan dua kode biner
1010010+ 11011100 = ?
Use of templates
You are free to use these templates for your personal
and business presentations.

We have put a lot of work into developing all these templates and retain the copyright
in them. They are not Open Source templates. You can use them freely providing
that you do not redistribute or sell them.

Do Dont
Use these templates for your Resell or distribute these templates
presentations Put these templates on a website for
Display your presentation on a web download. This includes uploading
site provided that it is not for the them onto file sharing networks like
purpose of downloading the template. Slideshare, Myspace, Facebook, bit
If you like these templates, we would torrent etc
always appreciate a link back to our Pass off any of our created content as
website. Many thanks. your own work

You can find many more free templates on the


Presentation Magazine website
www.presentationmagazine.com

You might also like