identities ? ?

i was wondering how is it possible to create a program of identities

lets take into consideration the identity
2 2 2
(a+b) = a + 2ab + b

know how do u create a program on this
??

like a program which will ask the user to enter its question

something like
2
(a+2)

so the user will get the answer by the formula

??

please help
There exist programs which can do algebra, but they are pretty complex. That is because all those mathematical formulas and when to apply them need to be programmed into the computer.

Also, it took me a minute to figure out what you wanted. On the lower-right side of your Format: box there is a superscript button:

  (a+b)2 = a2 + 2ab + b2

Hope this helps.
The specific problem of finding the expansion of (a+b)n can be solved using the Pascal Triangle
hmmm so does that mean its pretty hard to make a program

can you make a program on this identity and show me ?

thanks
Topic archived. No new replies allowed.