Just for normal college/university level calc1&2, you will need 
approximately 300 rules to do general integration.  Derivation can be 
done with only about 15rules though (though in general the rules are a 
bit tougher)

Logan Capaldo wrote:
>
> On Apr 27, 2006, at 2:04 PM, SleepJunkie wrote:
>
>> I can integrate and derive perfectly fine. It's more of "I just want to
>> do this" then "Do my homework" program. If I do it, however, I'll get
>> extra credit, which is always good.
>>
>> I guess this is going to be harder than I thought. I'll have to program
>> in the chain rule, quotient rule, product rule, and others..
>>
>> More suggestions are welcome :)
>>
>> --Posted via http://www.ruby-forum.com/.
>>
>
> I think you're going to have to look at the source of some other 
> computer algebra systems to see and how its done. This isn't a trivial 
> problem, and it's not just a matter of knowing all the rules, 
> especially for integrations. (Try writing a program to do integration 
> by parts, how is it going to decide what u and v should be for instance?)
>
>
>