help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: differential and integral calculus


From: Michael Creel
Subject: Re: differential and integral calculus
Date: Fri, 04 Feb 2005 15:59:49 +0100
User-agent: KMail/1.7.2

On Friday 04 February 2005 15:15, address@hidden wrote:

> > f(x)=(x^2-3x)*sin x
> > f'(x)=?
>
> Athough Octave will not provide a symbolic answer for the above example,
> you can use the formula below to provide approximations for plotting the
> derivative:
>
> f'(x) = limit[as dx approaches zero]((f(x + dx) - f(x))/dx)
>
> Choose dx to whatever accuracy you desire.

You might also try numgradient, in octave-forge. In that function, dx is 
chosen automatically, with the aim of improving accuracy.
M.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]