Hello, friends.
Today we discuss about one algebra formula.
That is A plus B whole cube that is equal to a cube plus B cube plus three a, B into A plus B.
So we use math script window to verify the formula over here.
This is my math script window.
Just drag and drop this as we know that.
First of all, I just add variable first variable that is my a second variable that is my P.
So now let's see is my output and that is equal to A plus B whole cube.
So A plus B.
Into A plus B?
Into.
A plus B?
So this will give me A plus B whole cube.
You can find out using different method.
Also, let's say D is my output of A plus B?
And using power formula.
You can find out, let's say E is my output.
So that is equal to power of D comma three.
It will give me a plus.
Q So the output of E and C is same.
So the formula says A plus B whole cube is equal to let's say another F is my output that is equal to
a cube.
That is a into A into A plus.
B into B into B plus.
Three into A into B.
Into a plus.
Be.
This is my formula of A plus B whole cube.
So add output.
So output is my C, another output is my.
E and another output is my F.
So the output of these three should be same.
So let's say create control for A create control for B.
Now the output create indicator.
Create indicator.
So over here.
So just drag and drop.
And over here.
So let's say A is my two and B is my four.
And just change the representation of E!
So I just put double over here.
So when I hit on run button, as you see output.
So it shows me the indexes are out of bound for the variable you specified.
Let's check.
So over here, C is equal to A plus, B into A plus, B into A plus B, it will give me A plus B whole
cube D is my A plus B, and over here, the power is D, comma three.
Let's check.
Just delete this one and check for.
This one.
So hit on one button it is.
Okay.
So now the error is in the formula.
Let's check.
What is the error?
So now F is my output and now the formula should be a into.
A.
Into.
Let's check it works or not.
Add output f.
Create control for this not control indicator for this.
Hit on run button as you see it is working properly.
So now add.
B into B into B.
Let's again check output.
It works.
So now plus three into A into B.
Let's check for it.
It is also working.
So now or here it should be into.
I left that A into B, so now it will it will work properly.
So the output is 216 as you see.
So output is same.
So this is how you can find out the error in your program.
This is called troubleshooting.
So this is how you can use math script window to find out the A plus B whole cube.
Thank you.