Hello, friends.
Today I just explained you how to find out the area and perimeter of trapezoid, as you see in the given
figure on the front panel, I have a trapezoid with the sides A, B, C, D, and the height is H.
For that purpose, I just create
inputs related to the sides.
Sides.
So this is my side.
A
then this is my side.
B
Then this is my side.
D
side c.
And height H.
Okay, so I just put the all input variables over here and all the input variables right now are floating
type as you see.
So I just arrange on the both side you can arrange using these functions.
So this is my input variable.
Now I need to create the formula.
So for area I just create a indicator so it will display the area.
And one indicator is to represent the to display the parameter.
Okay.
So over here, this is my parameter of the trapezoid right now.
If you want to arrange these functions just like this so I know the Formula one by two A plus H into
H, A plus B into H.
So I need one multiplication function.
I need to multiply A into B, then I need to multiply this before this I need to divide this with to
create a constant over here, A plus B divide by two into
H.
So H is over here and it will give me the area.
Okay.
For the parameter, you just need to add all the input values.
So just add A plus B plus C plus B, it will give you the parameter of the trapezoid.
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
D is 2.8 and H the height is, let's say.
For not for it is, let's say, three tonight.
As you see, you find out the you just find out the area parameter.
Okay.
So this is how you can create your own formula in LabVIEW.
Thank you.