I would like to see an implementation of an indefinite integral first in a high level language preferably C++ and then an implementation in assembly language. I've always wondered why in the math library functions of high level languages integration and differentiation are never there so I wonder how difficult it is to implement. I'll make an attempt for an algorithm
1. integral(int upperlim,int lowlim,function y) ;function is a class
2. y.upper = upperlim,y.lower = lowlim
3. int defintgrl
4. defintgrl = y.upper - y.lower
5. return defintgrl
Posted on 2013-01-31 16:38:49 by Snake4eva