Re: Differentiation in java

From: rubylips (rubylips_at_act365.com)
Date: 10/01/04


Date: Thu, 30 Sep 2004 23:10:05 +0100

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" <goofus_mcdoofus@hotmail.com> wrote in message
news:1096534716.61838@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?
>
>
>



Relevant Pages

  • Differentiation in java
    ... 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 ...
    (comp.lang.java)
  • Re: Macro To Move Cell Over
    ... As you gave no idea how to differentiate, ... What I gave you is a macro that you can incorporate in your ... Not ideal, but a darn sight faster than manually moving it, and you can get ... > Basically nouns vs adjectives. ...
    (microsoft.public.excel.programming)