'programming algebra in c'

ks-raman
ks-raman used Ask the Experts™
on
Kindly help me how to program algebra peoblems in c.
 For example how to program to get answer for the
expression (a+b)^2.
And i want to do programming in partial fractions,
symbolic differentiation and integration.
If the source code is available please please tell me
wherefrom i can get it.
 
   Thanking you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This sounds like homework and thus I cannot give you the code.

It is against EE policy for experts to do homework problems.

I can give you a push in the right direction, however.

You perform algebraic equations in C almost exactly the same as the equations are written. The only difference, in the example you gave, between the equation and how you would write this is nothing more than a matter of syntax, in many cases there is no difference at all.

In the above example you use the ^ symbol do indicate that (a + b) should be raised to the power of 2. To accomplish this in C you must use the pow function.

P.S. In C the ^ sysmbol represents the bitwise exclusive OR operator.
Top Expert 2006

Commented:
No comment has been added lately and this question is therefore classified abandoned.

If asker wishes to close the question, then refer to
http://www.experts-exchange.com/help/closing.jsp

Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:
PAQed with B grade to Exceter

Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Sunny
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial