1 00:00:00,340 --> 00:00:06,370 Hello, my name is Typhoon, and in this lecture we are about to uncover the intriguing world of knot 2 00:00:06,370 --> 00:00:07,000 logic. 3 00:00:07,030 --> 00:00:11,500 This is a fascinating concept that is simpler than you might think. 4 00:00:11,500 --> 00:00:19,300 So imagine having it this magical mirror that shows the opposite of whatever you put in front of it. 5 00:00:19,330 --> 00:00:26,740 So buckle up as we embark on a journey to demystify this concept and understand how it works. 6 00:00:26,740 --> 00:00:30,520 So think of this knot here. 7 00:00:30,520 --> 00:00:31,990 Let's get it down. 8 00:00:32,200 --> 00:00:32,980 Knot. 9 00:00:37,510 --> 00:00:46,150 So think of this logic as a pair of glasses that you can wear to see things from a different perspective. 10 00:00:46,180 --> 00:00:53,590 Just like the glasses transform colors and shapes, so not logic transforms whether something is true 11 00:00:53,590 --> 00:00:54,850 or false. 12 00:00:54,850 --> 00:01:00,290 So it's like a spell that flips things around revealing the opposites. 13 00:01:00,310 --> 00:01:06,490 So in the realm of computers, not logic is like asking a question and getting the opposite answer. 14 00:01:07,510 --> 00:01:10,990 It's like asking, is it not raining? 15 00:01:11,020 --> 00:01:15,670 If the answer is yes, then it means it's not raining, it's sunny. 16 00:01:15,700 --> 00:01:20,500 So if the answer is no, then it's still raining, right? 17 00:01:20,500 --> 00:01:26,770 So note logic helps computers to understand the opposite of a given condition. 18 00:01:26,830 --> 00:01:32,320 Imagine you have a magical switch that can turn things on and off. 19 00:01:32,320 --> 00:01:36,730 And when you use not logic on the switch, it's like reversing the state. 20 00:01:36,730 --> 00:01:42,060 So if the switch is off in this case, off is zero. 21 00:01:42,070 --> 00:01:44,350 Here, let me write it down. 22 00:01:44,350 --> 00:01:46,900 So off here. 23 00:01:48,160 --> 00:01:50,110 Is equal to zero. 24 00:01:50,110 --> 00:01:56,680 And actually, yeah, we can also use this, but on we can use the green for it. 25 00:01:57,600 --> 00:02:00,840 But on here is. 26 00:02:01,640 --> 00:02:03,630 Equals to one, right? 27 00:02:07,100 --> 00:02:11,240 But we have the magical switch that can turn things on and off. 28 00:02:11,240 --> 00:02:16,720 So when you use not logic on the switch, it's like reversing the state. 29 00:02:16,730 --> 00:02:19,070 So if the switch is off here. 30 00:02:20,000 --> 00:02:25,490 Um, which is in this case is zero not logic turns it to on. 31 00:02:26,280 --> 00:02:27,810 It's like reversing the state, Right? 32 00:02:27,810 --> 00:02:32,130 So and if the switch is on here. 33 00:02:33,250 --> 00:02:41,620 Then not logic turns it off as if it's you are flipping the switch with a twist of a magic. 34 00:02:42,310 --> 00:02:46,090 And let's consider a locked door here and a special key. 35 00:02:46,780 --> 00:02:51,580 When you use the key to unlock the door, it's like saying not locked. 36 00:02:51,580 --> 00:02:57,320 And in other words, the door is not locked in its locked state anymore. 37 00:02:57,370 --> 00:03:00,940 So if you don't use the key, the door remains locked. 38 00:03:01,210 --> 00:03:08,880 The note logic helps us determine if the door is locked or not without even touching the key. 39 00:03:08,890 --> 00:03:16,240 And note logic is used in various ways in computers so it can change the state of a signal, like turning 40 00:03:16,240 --> 00:03:21,300 the light off it's on or turning it on if it's off. 41 00:03:21,310 --> 00:03:27,190 So it can help computers to make decisions based on the opposite conditions. 42 00:03:27,190 --> 00:03:30,480 Like, for example, if this is the. 43 00:03:30,730 --> 00:03:37,480 Let's actually name this mirror not and we are giving the on state but and after that we are returning 44 00:03:37,480 --> 00:03:44,140 the off right or we are giving the off state and we are returning the on right. 45 00:03:44,140 --> 00:03:45,070 So. 46 00:03:46,160 --> 00:03:53,530 And this is just like a magical mirror shows us the opposite of what we see, not logic. 47 00:03:53,540 --> 00:03:58,130 Help computers see the opposite of what's true. 48 00:03:58,130 --> 00:03:59,330 So there you have it. 49 00:03:59,330 --> 00:04:07,160 It's a comprehensive exploration of not logic and enhancing concept that brings a touch of magic to 50 00:04:07,160 --> 00:04:13,700 the world of computers, much like wearing those special glasses that show you a different view. 51 00:04:13,730 --> 00:04:18,850 So not logic helps computers see things from a different angle. 52 00:04:18,860 --> 00:04:21,470 Next time you across not logic. 53 00:04:21,560 --> 00:04:28,640 Remember that it's like asking a magical question that reveals the opposite side of things and keep 54 00:04:28,640 --> 00:04:35,780 on questing for knowledge and embrace the wonder of logic in the captivating universe of Peter's. 55 00:04:35,810 --> 00:04:37,310 I'm waiting you in the next lecture.