Can you give an example? General purpose programming languages aren't
very good at calculus (for that you'd be better off with a specialised
mathematical language like Mathematica). You can try solving problems
numerically, by doing the calculations iteratively in very small
steps, but that will always introduce errors.
You might find something of interest on this site, which contains some
mathematical applications in BBC BASIC, including calculus:
Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.
Horses for courses. The OP referred to "solving differential calculus
problems" so he may want precise formulaic solutions rather than
actual numbers.
If you want closed form solutions, you might try
Macsyma or Mathematica instead of Basic. If you
want numerical approximations to solutions, there are
books on Numerical Methods in Basic which, though
currently out-of-print, might be found in a used
book shop or library.
I once wrote a modification to a recursive Basic
parser that could emit symbolic derivatives and
integrals of some very simple formula, but it couldn't
handle any but a few functions and polynomial
operations. It's a lot easier to do symbolic
manipulation in a Lisp-like language.
IMHO. YMMV.
--
rhn A.T nicholson d.0.t C-o-M