Hello friends.
Today we discuss about how to perform different algebra expression or how to verify different algebra
expression using formula node in labview.
So just go to structures formula node.
Today we verify A plus B whole square is equal to A squared plus B square plus two a, B.
So for that purpose I just put a input.
That is a second input is my B, as you see, and the expression let's say variable is my C that is
equal to A plus B whole square.
So A plus B, whole square.
For whole square, you just put this expression and put semicolon.
So it is my output and let's say D is my another output because if A plus B whole square is equal to
a square plus B square plus two.
AB So I just put a.
Into A over here, plus B into B plus.
Two and two.
A into B, This will give me.
The output.
So over here, just add output.
That is my c.
Another output is my.
The So C and D, the value of C and D should be same.
So just create indicator over here.
Create control over here.
It is my.
And this is my.
Create control over here.
This is my.
So I just put semicolon over here so that broken arrow go on as you see.
So now when I put some value inside A and B, let's say it is a is my five and B is my two, so the
output should be five plus two.
It is seven, seven into seven.
It is 49.
In both the cases, as you see, the output is 49.
So my formula is verified.
If you want to check out the formula of A minus B, so just put a minus.
The whole square and the formula is A squared plus B squared minus two AB.
So let's check for this.
It will give me five minus two.
It is three three.
Whole square is.
It is nine, so output should be nine.
So formula is verified.
So this is how you can solve different mathematical expression or algebra expression using formula node.
Thank you.