1
00:00:10,000 --> 00:00:11,000
Hello, friends.

2
00:00:11,000 --> 00:00:16,000
Today we discuss about one algebra formula.

3
00:00:16,000 --> 00:00:19,000
That is A plus B whole square.

4
00:00:19,000 --> 00:00:24,000
It is equal to a square plus B square plus two.

5
00:00:24,000 --> 00:00:24,000
AB.

6
00:00:24,000 --> 00:00:34,000
Let's verify it using math script window in LabVIEW for that purpose I just go to structures math script

7
00:00:34,000 --> 00:00:36,000
window over here.

8
00:00:36,000 --> 00:00:38,000
This is my math script window.

9
00:00:38,000 --> 00:00:53,000
So over here I just add input A and second input is my B, So first I have to check out what is the

10
00:00:53,000 --> 00:00:57,000
value of A plus B whole square.

11
00:00:57,000 --> 00:01:14,000
So to find out the value of A plus, b, C is equal to I, just a plus B into a.

12
00:01:17,000 --> 00:01:18,000
Plus.

13
00:01:19,000 --> 00:01:19,000
Be.

14
00:01:20,000 --> 00:01:23,000
It will give me A plus B whole square.

15
00:01:23,000 --> 00:01:25,000
You can use this.

16
00:01:25,000 --> 00:01:33,000
Or let's say another one is D is equal to A plus B?

17
00:01:38,000 --> 00:01:46,000
And if you want to find out the power or you can check for square of it.

18
00:01:46,000 --> 00:01:51,000
So let's say P is equal to power.

19
00:01:52,000 --> 00:01:57,000
Of C comma second value.

20
00:01:57,000 --> 00:01:58,000
That is my two.

21
00:01:58,000 --> 00:02:05,000
So just it will give me P is equal to A plus B whole square.

22
00:02:05,000 --> 00:02:08,000
So the value of P and C should be same.

23
00:02:08,000 --> 00:02:17,000
So the formula for this is we know that A plus B whole square is equal to a square.

24
00:02:17,000 --> 00:02:25,000
So let's say another variable G is equal to A into a.

25
00:02:25,000 --> 00:02:31,000
This is my A square plus B into B.

26
00:02:31,000 --> 00:02:39,000
This is my B square plus two into A into B.

27
00:02:39,000 --> 00:02:47,000
So the output of G, P and C should be same.

28
00:02:47,000 --> 00:02:48,000
So let's check.

29
00:02:49,000 --> 00:02:51,000
I just add output.

30
00:02:51,000 --> 00:02:54,000
So my output is first.

31
00:02:54,000 --> 00:02:58,000
It is c because it will give me a plus b whole square.

32
00:02:58,000 --> 00:03:01,000
Second one output should be.

33
00:03:03,000 --> 00:03:10,000
P This will give me also A plus B whole square and the output is g.

34
00:03:11,000 --> 00:03:16,000
So the output of these should be same.

35
00:03:16,000 --> 00:03:18,000
Just create indicator.

36
00:03:18,000 --> 00:03:20,000
Create indicator over here.

37
00:03:20,000 --> 00:03:22,000
Create indicator over here.

38
00:03:22,000 --> 00:03:24,000
And this is my input.

39
00:03:26,000 --> 00:03:27,000
Create control.

40
00:03:27,000 --> 00:03:28,000
Create control.

41
00:03:29,000 --> 00:03:38,000
So as you see over here, in case of power, I just change it to double.

42
00:03:38,000 --> 00:03:39,000
Double precision.

43
00:03:40,000 --> 00:03:44,000
So this is my output and this is my input.

44
00:03:44,000 --> 00:03:46,000
So let's check.

45
00:03:46,000 --> 00:03:52,000
So let's A is two and B is three.

46
00:03:52,000 --> 00:03:56,000
So A plus B will become two plus three is five.

47
00:03:56,000 --> 00:03:58,000
Five square is equal to 25.

48
00:03:58,000 --> 00:04:01,000
So output should be 25.

49
00:04:01,000 --> 00:04:12,000
In all these, as you see over here, the output is different because it will give the power raise to

50
00:04:12,000 --> 00:04:13,000
two.

51
00:04:13,000 --> 00:04:15,000
So let's check.

52
00:04:15,000 --> 00:04:23,000
So if I put one over here, so what is the output as you see?

53
00:04:23,000 --> 00:04:33,000
If you want to check out the power C raise to one because over here it will give you C raise to.

54
00:04:33,000 --> 00:04:35,000
Oh, okay.

55
00:04:35,000 --> 00:04:36,000
I just.

56
00:04:38,000 --> 00:04:40,000
Did a mistake or here.

57
00:04:40,000 --> 00:04:46,000
Or here, it should be D in place of C, so that's why it will give me.

58
00:04:46,000 --> 00:04:48,000
So the correct format is this.

59
00:04:48,000 --> 00:04:50,000
So now it will give you the correct output.

60
00:04:50,000 --> 00:05:05,000
That is 25 because I just squared the value of 25 into two means 25 into 25, it will give me 625.

61
00:05:07,000 --> 00:05:16,000
Okay, so this is how you can work with math script window to verify an algebra question.

62
00:05:16,000 --> 00:05:20,000
Let's go with another algebra question in this.

63
00:05:20,000 --> 00:05:26,000
Let's say I want to check out the formula of A minus B whole square.

64
00:05:26,000 --> 00:05:29,000
So I just put minus over here.

65
00:05:31,000 --> 00:05:35,000
I just put minus over here again.

66
00:05:37,000 --> 00:05:46,000
And this also put minus and the formula for A minus B, whole square is A square plus.

67
00:05:46,000 --> 00:05:48,000
B square minus two.

68
00:05:48,000 --> 00:05:48,000
A, B.

69
00:05:48,000 --> 00:05:50,000
Let's check.

70
00:05:50,000 --> 00:05:53,000
So let's say it is my five.

71
00:05:54,000 --> 00:05:57,000
The value of A is my five and B is two.

72
00:05:57,000 --> 00:06:01,000
So five minus two, whole square should be nine.

73
00:06:01,000 --> 00:06:02,000
Let's check.

74
00:06:03,000 --> 00:06:08,000
So as you see, the output is nine in all the cases.

75
00:06:08,000 --> 00:06:15,000
So this is how you can verify algebra quotient of second order.

76
00:06:16,000 --> 00:06:17,000
So thank you.

