1 00:00:02,340 --> 00:00:11,010 Lo again and now are going to see how to convert from decimal numbers to binary, as you can see, we 2 00:00:11,010 --> 00:00:19,650 have two different methods repeated finance obstruct or repeated or repeated the division by two. 3 00:00:20,340 --> 00:00:20,670 Yes. 4 00:00:22,210 --> 00:00:28,240 And now we're all going to start with the fine arts obstruct method, which is an easy method. 5 00:00:29,140 --> 00:00:34,780 I mean, for me, I found it very easy, but personally, you choose whatever you want. 6 00:00:34,990 --> 00:00:35,520 No. 7 00:00:36,010 --> 00:00:43,750 As you can see that we have here an IP address that we had before and then what we are going to do, 8 00:00:44,020 --> 00:00:46,180 we are going to think the first. 9 00:00:47,350 --> 00:00:53,710 The first number that we have one, 65 and we are going to compare it with our first number that we 10 00:00:53,710 --> 00:00:56,410 have on this table, which is 128. 11 00:00:57,250 --> 00:01:00,550 Now what we are going to do, we are going to see. 12 00:01:01,810 --> 00:01:03,730 Of course, we are going to start from the left side. 13 00:01:03,730 --> 00:01:11,470 We are going to see if this number that we have on our IP address is it more or less or equal to that 14 00:01:11,470 --> 00:01:12,970 number, which is 128. 15 00:01:13,540 --> 00:01:18,520 So it has to be bigger or equal to one at 28. 16 00:01:18,530 --> 00:01:20,080 So we are going to put one. 17 00:01:21,220 --> 00:01:24,700 Then we are going to take 165 minus 128. 18 00:01:25,120 --> 00:01:27,040 It would give us the number of. 19 00:01:28,930 --> 00:01:34,090 Thirty seven, and then we are going to do the same thing, what are going to compare between 37 and 20 00:01:34,090 --> 00:01:41,260 64, if 287 is bigger or equal to 64 are going to put on if if it was less, what are going to put there? 21 00:01:41,710 --> 00:01:44,650 Obviously, it is less than 64. 22 00:01:44,660 --> 00:01:48,340 So we are going to put eight zero, as you can see in the table. 23 00:01:51,640 --> 00:01:53,650 As you see, we are going to compare it. 24 00:01:55,700 --> 00:02:00,560 Then we have 37 is bigger than 32, so I'm going to put one. 25 00:02:01,770 --> 00:02:04,640 And we are going to take 37 minus 32. 26 00:02:04,980 --> 00:02:12,510 We are going to have far now as obviously it five, is it less than 16 less than eight? 27 00:02:12,960 --> 00:02:15,510 But it is bigger are over. 28 00:02:15,660 --> 00:02:16,470 Number four? 29 00:02:20,650 --> 00:02:26,710 It is bigger than number four, so what are going to convert are going to put one and then. 30 00:02:29,020 --> 00:02:34,180 We are going to do five minus four, which is one we are going to compare the number two, obviously 31 00:02:34,180 --> 00:02:37,180 number two is bigger, the number one, so we are going to put two zero with it. 32 00:02:37,570 --> 00:02:45,640 We are going to compare it with number one and we have one equals one and one minus one equals zero. 33 00:02:45,790 --> 00:02:48,550 And when we have, the answer is zero with that. 34 00:02:49,610 --> 00:02:55,030 So we're going own are going to fill the the empty part with zeros. 35 00:02:56,700 --> 00:03:00,860 As you can see, we have our binary IP address. 36 00:03:05,770 --> 00:03:10,750 And we are going to go with the same method that we did here with fifty eight and one, ninety nine 37 00:03:10,750 --> 00:03:12,400 and forty three. 38 00:03:15,470 --> 00:03:21,920 So we can have our binary binary IP address. 39 00:03:23,500 --> 00:03:30,340 I mean, I found this solution is easier because we are going to the other ones in other methods, and 40 00:03:30,340 --> 00:03:32,700 now we are going to see the division by two. 41 00:03:33,880 --> 00:03:37,880 Some people find the definition by two is easier than the other one, but I used to. 42 00:03:37,900 --> 00:03:43,380 I prefer the first one to us because we can calculate some subnet mask with the same ones and zeros 43 00:03:43,380 --> 00:03:45,040 that would be noticeable anyway. 44 00:03:47,260 --> 00:03:52,750 And you are going to write down the decimal number and continually divide it by two to give a result 45 00:03:52,750 --> 00:03:54,400 and the remainder of zero. 46 00:03:55,410 --> 00:03:56,610 Either zero or one. 47 00:03:57,490 --> 00:03:58,080 So great. 48 00:03:58,290 --> 00:04:01,500 But we should have the final equal zero. 49 00:04:03,020 --> 00:04:06,800 So we are going to take 165 and divide it by two. 50 00:04:11,540 --> 00:04:20,750 Since we have 165 divided right, you have 82 and the risk is one going to 82 divided by two, we're 51 00:04:20,750 --> 00:04:23,510 going to have what you want and the divide is zero. 52 00:04:25,580 --> 00:04:29,720 And why would they why we take a woman because we're here if we. 53 00:04:30,990 --> 00:04:34,140 If we took the exact number. 54 00:04:36,170 --> 00:04:44,270 The exact number of the division of 165, divided by two are going to have twenty two and a half twenty 55 00:04:44,270 --> 00:04:45,590 two point five. 56 00:04:46,160 --> 00:04:49,420 We don't have or a half in the binary. 57 00:04:49,430 --> 00:04:54,080 We should have either one and zero if we had something like twenty two and a half, that means it is 58 00:04:54,080 --> 00:04:54,380 a one. 59 00:04:54,560 --> 00:04:58,220 If we added exactly that mean the rest is zero, let's complete. 60 00:04:59,540 --> 00:05:01,010 So are going all right. 61 00:05:01,010 --> 00:05:01,730 There is better. 62 00:05:02,090 --> 00:05:08,300 There is a budget when an even number is divided by two, the remaining zero, as I said, anyway, 63 00:05:08,300 --> 00:05:11,870 we are going to take 20 and divided by one. 64 00:05:13,590 --> 00:05:16,620 And when the odds is no divided by the Remain is one. 65 00:05:17,670 --> 00:05:18,180 And odd. 66 00:05:18,750 --> 00:05:25,950 Exactly then we have to divide it by two means, then that means there remain is zero, then we're all 67 00:05:25,950 --> 00:05:28,760 going to take ten divided by two. 68 00:05:28,770 --> 00:05:32,070 That means equals five and the Remain is zero. 69 00:05:32,400 --> 00:05:36,390 Now we are going to take five divided by two, though we'll give it two and a half. 70 00:05:36,400 --> 00:05:37,560 It is an odd number. 71 00:05:37,560 --> 00:05:40,110 So we are going to put two and there is one. 72 00:05:40,920 --> 00:05:43,710 No, we are going to divide two on two. 73 00:05:43,740 --> 00:05:45,960 That means equals one. 74 00:05:46,260 --> 00:05:49,320 And the rest here is zero. 75 00:05:49,590 --> 00:05:55,290 And then we are going to divide one by two and it will give us the zero. 76 00:05:56,530 --> 00:06:00,520 I devoted, but what was actually zero point five with the zero A.. 77 00:06:00,940 --> 00:06:12,400 And that the our IP address so are going to take from the down up and it would give us our IP address 78 00:06:12,400 --> 00:06:13,000 in binary. 79 00:06:13,000 --> 00:06:15,160 So what are going to take from here? 80 00:06:16,600 --> 00:06:18,280 This is the left to the right. 81 00:06:18,460 --> 00:06:22,150 You are going to see it is mentioned in the video. 82 00:06:26,870 --> 00:06:31,460 Like this way, from down to up, left to right. 83 00:06:33,770 --> 00:06:42,440 We can do the same thing to the 20 to a 58 to one, 99 to 48, we are going to have the same result 84 00:06:42,440 --> 00:06:44,150 as the first method. 85 00:06:46,630 --> 00:06:50,590 As you can see, 50, 50, 50 divided by two. 86 00:06:50,680 --> 00:06:53,230 That will give us 29. 87 00:06:53,260 --> 00:06:54,570 It would give it zero. 88 00:06:54,590 --> 00:06:58,810 Then we are going to keep going until we have our. 89 00:07:01,920 --> 00:07:04,890 Our binary IP address. 90 00:07:05,820 --> 00:07:06,360 Thank you.