#include<stdio.h>
#include<conio.h>
void main()
clrscr();
{
int a,b;
a=a^2;
b=b^2;
printf("a^2+b^2+2*a*b");
getch();
}
Chat with our AI personalities
There are 3 main rules for expansion of algebraic expressions. They are as follows: 1) a2 _ b2 = (a-b) (a+b) 2) (a+b)2 = a2 + 2ab +b2 3) (a-b)2 = a2 - 2ab +b2
(a+b-c)2 = a2 + b2 +c2 +2ab - 2bc - 2ac
I'm going to assume a few things... 1.) the 2s after a letter are 2 2.) this is addition, because it's easier for me and if you wanted another operation, you should have stated so. 2a2b+a2+5ab+3ab2+b2+2a2b+2ab 4ab+a2+5ab+3b2a+b2+4ab+2ab 15ab+3b2a+a2+b2
perfect trinomial square?? it has the form: a2 + 2ab + b2
Some special cases that are relevant in practice are: (a + b)2 = a2 + 2ab + b2 (a - b)2 = a2 - 2ab + b2 (x + a)(x + b) = x2 + (a+b)x + ab