﻿1
00:00:05,710 --> 00:00:12,340
‫Welcome to the booth algorithm demonstration but the base story board for this demonstration we are

2
00:00:12,340 --> 00:00:19,980
‫using the seven segments located on the basis three board to display your input one in your input 2.

3
00:00:20,080 --> 00:00:26,620
‫We are also using two separate four digit seven segment displays on the breadboard to display the result

4
00:00:26,740 --> 00:00:28,100
‫of this multiplication.

5
00:00:29,010 --> 00:00:36,570
‫With bous algorithm we are working with Plaza's multiplication of signed numbers meaning we can do multiplication

6
00:00:36,690 --> 00:00:43,920
‫of negative numbers or 2 positive numbers or one negative and one positive for the slides which is we're

7
00:00:43,920 --> 00:00:52,390
‫using switch 0 which is a slack and determines whether we're displaying what 1 or input 2 on the 7 segment

8
00:00:52,380 --> 00:00:59,250
‫display on the basis three board we're using switch one for add or subtract.

9
00:00:59,280 --> 00:01:06,910
‫This determines when we are going to add or subtract in the values of input 1 and 2 the pushbuttons

10
00:01:07,000 --> 00:01:15,370
‫we're using the push button right to be the add or subtract 1 push button down to add or subtract 10

11
00:01:15,740 --> 00:01:19,000
‫and the push button left to add or subtract 100.

12
00:01:19,360 --> 00:01:22,320
‫And then the center button is used to execute the command.

13
00:01:22,570 --> 00:01:29,140
‫So to start out our select is called high meaning we're displaying or put one in or as contract as one

14
00:01:29,440 --> 00:01:30,580
‫meaning we're adding.

15
00:01:30,580 --> 00:01:34,970
‫So if I press one we're going to add one if I press 10.

16
00:01:34,990 --> 00:01:38,120
‫We had 10 if I press 100 we had 100.

17
00:01:38,140 --> 00:01:41,670
‫Now I can do a subtract by pulling the switch two down.

18
00:01:41,830 --> 00:01:44,970
‫Now subtract 100 or subtract one.

19
00:01:44,980 --> 00:01:47,990
‫So now my input 1 is a value of 10.

20
00:01:48,130 --> 00:01:50,500
‫If I pull my switch zero down.

21
00:01:50,500 --> 00:01:54,730
‫Now I'm displaying my input to which is the value of 0.

22
00:01:54,760 --> 00:01:56,100
‫We can now to subtract.

23
00:01:56,130 --> 00:02:01,930
‫And if we subtract 1 we'll see that instantly we get the notification that we have a negative number.

24
00:02:01,930 --> 00:02:07,250
‫So we're at negative 1 and we keep going down we can keep subtracting sort negative 2.

25
00:02:07,660 --> 00:02:15,540
‫So my input one by point slides which is ten point aside switch down the input 2 is a negative 2.

26
00:02:15,580 --> 00:02:18,370
‫So 10 times negative 2 is negative 20.

27
00:02:18,460 --> 00:02:25,580
‫If I press the center button we'll see that we now have a negative 20.

28
00:02:25,600 --> 00:02:27,730
‫It shows up in the result register.

29
00:02:28,150 --> 00:02:34,000
‫So we can do eight different combinations so we can do two negative numbers if I go back to my input

30
00:02:34,000 --> 00:02:41,930
‫1 and we subtract subtract 10 and subtract 100.

31
00:02:41,930 --> 00:02:50,560
‫So my input 1 is negative 100 my input 2 is a negative 2 which we know negative 100 times negative 2

32
00:02:51,240 --> 00:02:58,210
‫is a positive 200 so we press her center button to execute and the result register now displays a 200.

33
00:02:58,220 --> 00:03:04,010
‫And so we can go through any different combination of negative and positive numbers and to display them

34
00:03:04,310 --> 00:03:07,510
‫on the four digit 7st display.

35
00:03:07,610 --> 00:03:09,550
‫So we can go through and I'll just do a real quick.

36
00:03:09,590 --> 00:03:20,560
‫We'll just make a large number negative for 33 and we'll make our second digit make it a positive positive

37
00:03:20,610 --> 00:03:21,440
‫to 98.

38
00:03:21,440 --> 00:03:26,010
‫So we have 298 times negative 4:33.

39
00:03:26,180 --> 00:03:27,510
‫And if we multiply those.

40
00:03:27,650 --> 00:03:29,840
‫The result is negative.

41
00:03:29,840 --> 00:03:32,830
‫One hundred and twenty nine thousand thirty four.

42
00:03:32,990 --> 00:03:40,310
‫And so a combination of negative and positive numbers up to negative nine hundred ninety nine through

43
00:03:40,550 --> 00:03:42,170
‫nine hundred ninety nine.

44
00:03:42,170 --> 00:03:46,080
‫We can get any different combination of those and display them with this demonstration.

45
00:03:46,100 --> 00:03:49,740
‫Now does the demonstration boose algorithm running on the basis three board.

