Re: Differentiation in java
From: rubylips (rubylips_at_act365.com)
Date: 10/01/04
- Next message: AnonymousOne: "Re: javax"
- Previous message: Tux: "Re: Memory usage of my application ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
>
>
>
- Next message: AnonymousOne: "Re: javax"
- Previous message: Tux: "Re: Memory usage of my application ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|