1
00:00:04,000 --> 00:00:06,000
Hello, friends.

2
00:00:06,000 --> 00:00:16,000
Today I just explained you how to find out the area and perimeter of trapezoid, as you see in the given

3
00:00:16,000 --> 00:00:24,000
figure on the front panel, I have a trapezoid with the sides A, B, C, D, and the height is H.

4
00:00:25,000 --> 00:00:30,000
For that purpose, I just create

5
00:00:32,000 --> 00:00:35,000
inputs related to the sides.

6
00:00:36,000 --> 00:00:37,000
Sides.

7
00:00:37,000 --> 00:00:40,000
So this is my side.

8
00:00:40,000 --> 00:00:41,000
A

9
00:00:44,000 --> 00:00:48,000
then this is my side.

10
00:00:48,000 --> 00:00:48,000
B

11
00:00:51,000 --> 00:00:54,000
Then this is my side.

12
00:00:54,000 --> 00:00:54,000
D

13
00:00:57,000 --> 00:00:58,000
side c.

14
00:01:03,000 --> 00:01:05,000
And height H.

15
00:01:08,000 --> 00:01:21,000
Okay, so I just put the all input variables over here and all the input variables right now are floating

16
00:01:21,000 --> 00:01:23,000
type as you see.

17
00:01:24,000 --> 00:01:35,000
So I just arrange on the both side you can arrange using these functions.

18
00:01:36,000 --> 00:01:38,000
So this is my input variable.

19
00:01:38,000 --> 00:01:41,000
Now I need to create the formula.

20
00:01:41,000 --> 00:01:49,000
So for area I just create a indicator so it will display the area.

21
00:01:50,000 --> 00:02:03,000
And one indicator is to represent the to display the parameter.

22
00:02:03,000 --> 00:02:04,000
Okay.

23
00:02:06,000 --> 00:02:13,000
So over here, this is my parameter of the trapezoid right now.

24
00:02:13,000 --> 00:02:28,000
If you want to arrange these functions just like this so I know the Formula one by two A plus H into

25
00:02:28,000 --> 00:02:31,000
H, A plus B into H.

26
00:02:31,000 --> 00:02:34,000
So I need one multiplication function.

27
00:02:35,000 --> 00:02:54,000
I need to multiply A into B, then I need to multiply this before this I need to divide this with to

28
00:02:56,000 --> 00:03:01,000
create a constant over here, A plus B divide by two into

29
00:03:04,000 --> 00:03:04,000
H.

30
00:03:08,000 --> 00:03:16,000
So H is over here and it will give me the area.

31
00:03:16,000 --> 00:03:17,000
Okay.

32
00:03:18,000 --> 00:03:24,000
For the parameter, you just need to add all the input values.

33
00:03:25,000 --> 00:03:38,000
So just add A plus B plus C plus B, it will give you the parameter of the trapezoid.

34
00:03:39,000 --> 00:03:52,000
Let's check if the side A is let's say three, side B is four, side C is 3.5, let's say, and side

35
00:03:52,000 --> 00:04:01,000
D is 2.8 and H the height is, let's say.

36
00:04:04,000 --> 00:04:10,000
For not for it is, let's say, three tonight.

37
00:04:11,000 --> 00:04:16,000
As you see, you find out the you just find out the area parameter.

38
00:04:16,000 --> 00:04:17,000
Okay.

39
00:04:17,000 --> 00:04:23,000
So this is how you can create your own formula in LabVIEW.

40
00:04:23,000 --> 00:04:24,000
Thank you.

