0:00:18.180,0:00:22.415 Welcome to the next video. In[br]the Boolean series. In this 0:00:22.415,0:00:26.265 video we will look at some[br]more examples of relatively 0:00:26.265,0:00:27.420 simple trick tables. 0:00:28.840,0:00:33.140 Now let's look at an[br]example, which is a slightly 0:00:33.140,0:00:34.860 bit more difficult, not. 0:00:36.590,0:00:38.030 P or Q. 0:00:39.320,0:00:45.248 And are so in this case now I[br]have got three different inputs 0:00:45.248,0:00:49.808 because I have got three[br]different letters, so the number 0:00:49.808,0:00:55.280 of rows in my throught table[br]which is calculated by two to 0:00:55.280,0:01:01.717 the N. In this case an the[br]number of inputs is 3, therefore 0:01:01.717,0:01:07.835 this will be two to three, which[br]is 8. So I have got P. 0:01:08.870,0:01:15.464 I have got Q and I have caught[br]R and the input combination half 0:01:15.464,0:01:22.529 of eight is 4, so I'm going to[br]copy four trues an I'm going to 0:01:22.529,0:01:23.942 copy for forces. 0:01:25.670,0:01:29.990 Then I'm just going to copy[br]two truths, two forces 0:01:29.990,0:01:34.742 until I finish filling the[br]table, and then in the last 0:01:34.742,0:01:39.494 column I'm just going to do[br]them, alternating 1 by 1. 0:01:42.640,0:01:47.346 Now, in this case you can see[br]that I have got every different 0:01:47.346,0:01:50.966 combinations and I'm not[br]repeating any one of them, so 0:01:50.966,0:01:55.672 this is the starting of the[br]setup of the table. Now what are 0:01:55.672,0:01:59.292 the intermediate steps before we[br]can actually find the final 0:01:59.292,0:02:03.636 answer for the output? Now there[br]is a bracket and within the 0:02:03.636,0:02:09.790 bracket I have got P or QP or Q[br]will have to be one. I need to 0:02:09.790,0:02:14.210 calculate. But then there is[br]a node operation in front, so 0:02:14.210,0:02:19.130 I going to have to apply that[br]to the output of P or Q and 0:02:19.130,0:02:22.410 then at the end I'm going to[br]have to use. 0:02:24.850,0:02:30.812 The end operation to combine[br]everything together so P or Q, 0:02:30.812,0:02:38.400 I'm going to use this table. Now[br]what do I know about the OR 0:02:38.400,0:02:45.446 the OR only returns force if[br]both of the inputs are force? So 0:02:45.446,0:02:51.950 I'm going to run through the[br]table and find the only inputs 0:02:51.950,0:02:55.202 when both of them are force. 0:02:55.530,0:02:59.490 And the rest of them I can just[br]quickly fill in. 0:03:00.280,0:03:04.336 By truth, I could have gone[br]through two or two, gives me 0:03:04.336,0:03:08.730 through three or two, gives me[br]through, etc. But this one is a 0:03:08.730,0:03:10.420 nice and easy shortcut to 0:03:10.420,0:03:12.970 remember. What does the note do? 0:03:13.980,0:03:18.803 Change three to force and change[br]forced to true so the top half 0:03:18.803,0:03:23.626 up to here is true. So every one[br]of them will be force. 0:03:27.100,0:03:32.212 And the bottom two forces which[br]get then will turn into truth. 0:03:32.212,0:03:38.602 And then I have to do the final[br]combination of not P or Q&R. So 0:03:38.602,0:03:44.566 which are the two that I need to[br]combine together? Here I need to 0:03:44.566,0:03:45.844 use this input. 0:03:47.360,0:03:49.488 And I need to use the R. 0:03:50.830,0:03:56.926 And what do I know about the end[br]and is only true if both of them 0:03:56.926,0:04:01.498 are true? So I'm going to go[br]through the Roseanne. I'm going 0:04:01.498,0:04:06.832 to filter out. Do I have double[br]trues in here? I have one in 0:04:06.832,0:04:12.311 here. And I haven't got it[br]anywhere else, so the rest of 0:04:12.311,0:04:16.321 them will have to be filled in[br]with forces becausw. 0:04:17.120,0:04:22.450 And it's only true if both of[br]the inputs are true. In any 0:04:22.450,0:04:26.960 other cases, the end will be[br]force, so knowing this shortcuts 0:04:26.960,0:04:31.470 can save you quite some time on[br]filling in the tables. 0:04:32.880,0:04:37.148 And now let's look at the last[br]example for this video. 0:04:38.610,0:04:41.878 P. If only if. 0:04:43.030,0:04:49.786 Q and not R. So this is[br]a similar example to the 0:04:49.786,0:04:55.416 previous one because PQ&R I've[br]again have got three different 0:04:55.416,0:04:57.105 inputs, so P. 0:04:59.260,0:04:59.930 Q. 0:05:01.650,0:05:02.100 R. 0:05:06.050,0:05:11.055 Due to the power three gives[br]me 8, so it's to start the 0:05:11.055,0:05:14.905 through table of correctly.[br]I'm going to have to place 0:05:14.905,0:05:16.830 than four truth four forces. 0:05:19.000,0:05:22.219 Two truth 246. 0:05:24.890,0:05:27.634 And then just alternating[br]them 1 by 1. 0:05:31.830,0:05:35.515 Right set up starting, setup,[br]done correctly. Then what do I 0:05:35.515,0:05:39.200 need to look at? I need to look[br]at my priorities. 0:05:40.030,0:05:44.385 There is a bracket here and[br]inside the bracket that is Q and 0:05:44.385,0:05:49.075 not R to be able to combine[br]together Q and not our first I 0:05:49.075,0:05:54.100 need to know what the values are[br]for not R so that's what I need 0:05:54.100,0:05:58.120 to calculate first. Once I've[br]got the values for not RI can 0:05:58.120,0:05:59.795 calculate Q and not R. 0:06:01.700,0:06:06.860 And once that's done, I can[br]combine P together with the Q 0:06:06.860,0:06:11.160 and not R using the if and[br]only if operation. 0:06:12.200,0:06:17.528 Let's get started. R is[br]here, So what is not R every 0:06:17.528,0:06:21.080 true becomes false an every[br]force becomes true. 0:06:25.040,0:06:29.967 So now which are the two columns[br]that I need to combine together 0:06:29.967,0:06:32.999 to find Q and not RI need Q? 0:06:34.670,0:06:36.210 And I need not R. 0:06:37.470,0:06:42.462 So and operation the end only[br]returns true if both of the 0:06:42.462,0:06:47.870 inputs are true. So I'm going to[br]try to filter those ones out. 0:06:53.540,0:06:58.314 And the rest of them I'm going[br]to fill in with force. Now, if 0:06:58.314,0:07:02.747 you are not using lined paper,[br]then you want to be very careful 0:07:02.747,0:07:06.157 about making sure that you[br]lining these trees and force 0:07:06.157,0:07:09.908 values relatively easy to see,[br]because if you are getting a 0:07:09.908,0:07:14.341 little bit wonky then you might[br]take a force for the upper or 0:07:14.341,0:07:18.433 lower row instead of the road[br]that it belongs to. So be 0:07:18.433,0:07:21.843 careful with that. Now I've got[br]Q and not R. 0:07:22.100,0:07:27.235 But what I need here now is the[br]if and only if table. 0:07:28.090,0:07:32.602 Remember if and only if it's[br]true. If the two input values 0:07:32.602,0:07:37.114 are exactly the same and it's[br]false if the input values are 0:07:37.114,0:07:41.626 different. So which columns am[br]I going to use here? But I 0:07:41.626,0:07:43.130 need to use P. 0:07:45.310,0:07:50.910 And I need to use the Q and not[br]R, which we just calculated 0:07:50.910,0:07:56.110 here. So if they are the same,[br]I'm going to return true. If 0:07:56.110,0:08:00.510 they are the different, I'm[br]going to return force. So look 0:08:00.510,0:08:04.910 at this through force different.[br]So I'm returning a force true 0:08:04.910,0:08:08.910 through the same. I'm returning[br]a true true enforce different. 0:08:08.910,0:08:12.510 I'm returning a horse through[br]unforced, different returning or 0:08:12.510,0:08:14.910 force force and force the same. 0:08:15.050,0:08:19.790 I'm returning a tree 4th century[br]different. I'm returning a 0:08:19.790,0:08:24.420 force. Force and force the[br]same. I'm returning a true and 0:08:24.420,0:08:27.750 force on force the same.[br]Again, I'm returning the true. 0:08:29.690,0:08:33.110 I hope you are gaining[br]confidence in finding solutions 0:08:33.110,0:08:38.430 to trig tables now in the next[br]couple of videos we will look at 0:08:38.430,0:08:42.230 some more difficult examples.[br]However, now it's your turn to 0:08:42.230,0:08:46.030 do some practice questions. The[br]answers are at the end. 0:08:46.850,0:08:48.830 So these are the practice[br]questions. 0:08:54.940,0:08:56.480 And here are the answers.