1
00:00:05,000 --> 00:00:12,000
Hello, friends, who they discuss in mathematical expression find whether the given number is owed

2
00:00:12,000 --> 00:00:13,000
or even.

3
00:00:14,000 --> 00:00:27,000
OK, so for that purpose, I just require input number, so I just take no as you see or hear.

4
00:00:27,000 --> 00:00:28,000
This number is blocking type.

5
00:00:28,000 --> 00:00:33,000
I just change it to the integer type integer 32 type.

6
00:00:33,000 --> 00:00:36,000
OK, so here this is Mike your number.

7
00:00:36,000 --> 00:00:42,000
And I just use some indicator I square indicator.

8
00:00:44,000 --> 00:00:56,000
It is for the even number and I just copied this and or here I got on.

9
00:00:56,000 --> 00:01:08,000
OK, so I have two indicators and one input control, and I just go to the programming part, or you

10
00:01:08,000 --> 00:01:10,000
can see the block diagram part.

11
00:01:10,000 --> 00:01:11,000
I just copy this.

12
00:01:13,000 --> 00:01:22,000
In the block diagram, also where the given number is odd or even find out whether they're giving them

13
00:01:22,000 --> 00:01:28,000
bodies or even I have to just go to the mathematical expression or here.

14
00:01:28,000 --> 00:01:31,000
Here I go to Portland and they made that case.

15
00:01:32,000 --> 00:01:34,000
I do it with two functions.

16
00:01:35,000 --> 00:01:41,000
So first I I'm using this, so I just copy this drag and drop out here.

17
00:01:41,000 --> 00:01:42,000
I just.

18
00:01:43,000 --> 00:01:56,000
Here is my input, and I have to just do it and by do so if the remainder is there, I have a comparison

19
00:01:57,000 --> 00:01:57,000
block.

20
00:01:58,000 --> 00:02:06,000
If the given number is equal to zero, if the remainder is ill, not given, no.

21
00:02:06,000 --> 00:02:10,000
In this case, the number is even OK.

22
00:02:12,000 --> 00:02:19,000
So otherwise it's not even number.

23
00:02:19,000 --> 00:02:23,000
So I go to the wedding function or here.

24
00:02:23,000 --> 00:02:25,000
I just use the negate function.

25
00:02:27,000 --> 00:02:33,000
So number is given, or only not another.

26
00:02:34,000 --> 00:02:38,000
So if it is equal to zero, then it is one.

27
00:02:38,000 --> 00:02:41,000
If it is not equal to zero, then it is odd.

28
00:02:41,000 --> 00:02:42,000
OK.

29
00:02:42,000 --> 00:02:47,000
So this is how you can find out that the given number is even or.

30
00:02:47,000 --> 00:02:58,000
And I have another way of doing this is like I just used divide a function.

31
00:03:01,000 --> 00:03:09,000
And book is here again, I have to divide it will do so again.

32
00:03:09,000 --> 00:03:14,000
Over here, the number is again, I use the same function.

33
00:03:18,000 --> 00:03:26,000
If it is equal to zero in this case, the function is even otherwise OK.

34
00:03:26,000 --> 00:03:27,000
OK.

35
00:03:27,000 --> 00:03:30,000
Using this way, you can do it less formal also.

36
00:03:30,000 --> 00:03:32,000
So I just copy this.

37
00:03:34,000 --> 00:03:35,000
So you want to?

38
00:03:37,000 --> 00:03:39,000
He's using another formula.

39
00:03:40,000 --> 00:03:40,000
OK.

40
00:03:41,000 --> 00:03:51,000
So I just go to the bar panel park and when I put and you see.

41
00:03:52,000 --> 00:03:59,000
And in this case, it gave me a number.

42
00:03:59,000 --> 00:04:10,000
And over here and you see and I divide and by two, it is equal to not equal to zero in this case.

43
00:04:10,000 --> 00:04:15,000
So I have to just check the value here because I'm in error is there.

44
00:04:22,000 --> 00:04:34,000
Create the indicator, and it will give me the value because in this case, you have to this divide

45
00:04:34,000 --> 00:04:36,000
a function only give you the.

46
00:04:40,000 --> 00:04:43,000
Caution, not it will not give you the remainder.

47
00:04:44,000 --> 00:04:48,000
So this logic tells or here, I just believe this.

48
00:04:50,000 --> 00:04:54,000
So to find out the old and even no, the logic is this one.

49
00:04:54,000 --> 00:05:01,000
So as you see, and I can invest more when money is there or no?

50
00:05:01,000 --> 00:05:02,000
Well, is there even?

51
00:05:02,000 --> 00:05:04,000
No, oh no, no.

52
00:05:05,000 --> 00:05:06,000
Oh no, no.

53
00:05:06,000 --> 00:05:14,000
So this is how you can find out on an even number using led you with mathematical expressions.

54
00:05:15,000 --> 00:05:15,000
Thank you.

