Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,580 --> 00:00:01,780
Hi, guys.
2
00:00:02,140 --> 00:00:06,400
So in this lesson, we're going to learn binary format numbering, whether you want to or not.
3
00:00:06,820 --> 00:00:08,270
Oh all right.
4
00:00:08,290 --> 00:00:08,740
No, no.
5
00:00:08,770 --> 00:00:09,670
This one's a doozy.
6
00:00:09,670 --> 00:00:13,240
So you'll see what I mean in just a moment as we get started.
7
00:00:15,010 --> 00:00:19,750
So very simply, right, the base of the binary number system is to.
8
00:00:21,030 --> 00:00:25,770
And in this system, only numbers zero and one get used.
9
00:00:26,370 --> 00:00:33,960
So each zero or one digit in the binary numbers system is defined by binary digit.
10
00:00:35,050 --> 00:00:40,060
OK, so first, let's try to understand the binary to decimal logic.
11
00:00:41,160 --> 00:00:44,340
In fact, we'll start right away with an example.
12
00:00:44,400 --> 00:00:50,970
So we'll go through the example on the screen and you can see from the tables zero or one at the very
13
00:00:50,970 --> 00:00:56,010
far right of a binary number sequence is multiplied by two to the zero.
14
00:00:57,790 --> 00:01:04,090
A zero to one to the left of it is also multiplied by two to the first power.
15
00:01:04,750 --> 00:01:11,560
OK, so this system continues as a power of two increases as you move out to the left.
16
00:01:12,980 --> 00:01:18,920
So when we look at the example above, we can see that two to the zero equals one.
17
00:01:19,930 --> 00:01:23,870
Two to the one equals two to two, the two equals four.
18
00:01:23,890 --> 00:01:30,130
Due to the three equals eight two to the fourth equals 16 due to the fifth equals 32 to two.
19
00:01:30,160 --> 00:01:31,680
The six equals 64.
20
00:01:32,060 --> 00:01:34,180
Two to the seventh equals one 128.
21
00:01:35,840 --> 00:01:43,550
So since one has written in each digit, we evaluate that the value in each digit is valid and add these
22
00:01:43,550 --> 00:01:44,850
digit values.
23
00:01:45,440 --> 00:01:47,330
And then the result is 255.
24
00:01:49,020 --> 00:01:51,450
OK, so we'll continue with the example below.
25
00:01:51,750 --> 00:01:58,740
So likewise, the rightmost digit will correspond to to to the zeroth, and the exponent of two will
26
00:01:58,740 --> 00:02:01,170
increase as you move to the left.
27
00:02:01,620 --> 00:02:06,390
But here we see there is no one in every step.
28
00:02:07,380 --> 00:02:08,210
Wait, no, no.
29
00:02:08,520 --> 00:02:14,220
For this reason why we include the values in the digit that says one in the addition process.
30
00:02:15,340 --> 00:02:17,890
We're just not going to include the digits, the right to zero.
31
00:02:18,610 --> 00:02:27,970
So starting from the right, we'll need to add up the first third, fifth eight digits C.
32
00:02:28,300 --> 00:02:34,470
So as a result, this result right here in this example, there's some of the numbers due to the zero
33
00:02:34,540 --> 00:02:39,070
equals one to two, the second which goes for two to the fourth.
34
00:02:39,340 --> 00:02:46,180
She was 16 to the seventh equals one eight and that will be 149.
35
00:02:47,530 --> 00:02:51,580
Well, now that makes you an expert in binary to decimal logic.
36
00:02:52,330 --> 00:02:56,710
So now that you got that, I want to focus on decimal to binary logic.
37
00:02:57,310 --> 00:02:57,700
What?
38
00:02:57,820 --> 00:02:58,330
Yes.
39
00:02:58,690 --> 00:03:01,150
Again, let's try to look at the subject through an example.
40
00:03:01,660 --> 00:03:08,500
So you can see on the screen we will try to convert the decimal number 25 into the binary number system.
41
00:03:09,310 --> 00:03:09,730
Go ahead.
42
00:03:10,800 --> 00:03:11,850
No, I'm just kidding.
43
00:03:12,060 --> 00:03:16,890
That conversion process actually has more than one method, but for now, I just want to tell you about
44
00:03:16,890 --> 00:03:18,810
the easiest and most widely used one.
45
00:03:19,080 --> 00:03:19,440
OK.
46
00:03:20,560 --> 00:03:27,850
So when we want to convert any decimal number to a binary number, we start to create a table.
47
00:03:28,930 --> 00:03:30,490
Like you see on the same screen.
48
00:03:31,730 --> 00:03:37,580
And we write the number that we have 25, for this example, at the beginning, and we'll write two
49
00:03:37,640 --> 00:03:38,960
over here on the left side.
50
00:03:40,180 --> 00:03:47,260
Now, the purposes of these TOS is that we're going to continue dividing our number and each result
51
00:03:47,560 --> 00:03:48,280
by two.
52
00:03:50,890 --> 00:03:53,800
So in other words, first will divide 2005 by two.
53
00:03:54,670 --> 00:04:00,550
Now I know the result is actually twelve point five, but in this system, we will only focus on integers
54
00:04:00,790 --> 00:04:05,420
and proceed with the logic of doing a first division that we learned in our lives.
55
00:04:05,440 --> 00:04:05,710
Right.
56
00:04:05,980 --> 00:04:12,910
So when we divide five by two, the result is 12 and the remainder is one.
57
00:04:13,510 --> 00:04:14,560
Mm hmm.
58
00:04:15,220 --> 00:04:18,160
So the results are the remainder here are very important to us.
59
00:04:19,350 --> 00:04:24,630
So therefore, when writing the results at our table, you should note, please the remainder on the
60
00:04:24,630 --> 00:04:25,320
side.
61
00:04:26,190 --> 00:04:32,610
And when we divide our new result 12 by two, the result is six the remainder zero.
62
00:04:33,780 --> 00:04:37,870
So we continue with this logic until the result is zero.
63
00:04:37,890 --> 00:04:44,700
And finally, we write the remaining numbers that we noted on the right side from bottom to top.
64
00:04:45,480 --> 00:04:52,500
And as you can see on the screen, we find it the equivalent of 25 in the binary number system is one
65
00:04:52,500 --> 00:04:54,510
one zero zero one.
66
00:04:55,840 --> 00:04:56,320
Wow.
67
00:04:56,470 --> 00:04:57,130
Good for you.
68
00:04:57,160 --> 00:05:03,940
See, now if you can't actually be sure the result, after finding the binary equivalent of a decimal
69
00:05:03,940 --> 00:05:09,910
number at first, you can always verify it with the binary to decimal logic.
70
00:05:10,390 --> 00:05:12,070
So for this example, let's do it.
71
00:05:13,400 --> 00:05:20,630
So here we've reached 25 from the sum of the numbers to two, the zero equals one to the third equals
72
00:05:20,630 --> 00:05:23,360
eight to the fourth equals 16.
73
00:05:23,750 --> 00:05:26,870
And see, we've realized that our result is correct.
74
00:05:28,180 --> 00:05:34,570
So I think that both conversion processes are fairly easy and even enjoyable.
75
00:05:35,170 --> 00:05:36,340
But of course, that's just me.
76
00:05:37,210 --> 00:05:41,710
It may be difficult at first, but after a little practice, I'm sure you're going to get up to speed
77
00:05:41,710 --> 00:05:44,530
and you're going to have a lot of fun doing these kind of transformations.
78
00:05:45,160 --> 00:05:45,550
All right.
79
00:05:46,650 --> 00:05:48,660
Now that's it for this.
80
00:05:49,080 --> 00:05:53,250
We've learned decimal to binary and binary to decimal conversions.
81
00:05:53,620 --> 00:05:54,300
So that's cool.
82
00:05:54,900 --> 00:05:58,160
Let's see in the next lesson, though not still going to be good.
7690
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.