Suppose your function to differentiate has the signature double f(double).
You could approximate the derivative of f at x as follows:
final double dx = 0.0001; // Anything small
double df = ( f(x+dx) - f(x) )/dx ;
There's no (straightforward) way to establish a symbolic form for a
derivative.
"Goofus" <go*************@hotmail.com> wrote in message
news:10**************@seven.kulnet.kuleuven.ac.be. ..
I'm writing a java applet in which it is needed to differentiate a
function. The Math-package doesn't incorporate this, so does anyone knows a way to
get this done?