[Top][All Lists]

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

Re: Fw: Derivate

From: Ben Sapp
Subject: Re: Fw: Derivate
Date: Fri, 12 Apr 2002 08:42:39 -0600

Hi Oscar, 

You can do this with the development version of Octave if you have 
GiNaC( installed and then you get the 
octave-forge( package and install it.  It will detect 
GiNaC and install the symbolic toolbox.    To take the derivative of the 
sin(x) would look like this:

address@hidden ben]$ octave
GNU Octave, version 2.1.35 (i686-pc-linux-gnu).
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.

*** This is a development version of Octave.  Development releases
*** are provided for people who want to help test, debug, and improve
*** Octave.
*** If you want a stable, well-tested version of Octave, you should be
*** using one of the stable releases (when this development release
*** was made, the latest stable version was 2.0.16).

octave:1> symbols
octave:2> x = sym("x")
x =

octave:3> a = Sin(x)
a =

octave:4> differentiate(a,x)
ans =


Good luck and I hope this helps. 


On Thursday 11 April 2002 10:50 pm, Oscar Vasquez wrote:
> ----- Original Message -----
> From: Oscar Vasquez
> To: address@hidden
> Sent: Thursday, April 11, 2002 10:45 PM
> Subject: Derivate
> Hello:
>         I just want to know if exist a funtion to deriv an expresion, for
> example: I do:
> f = "sin(x);"
> exist something like d(f)/dx???
> Help me please...

Ben Sapp                         Los Alamos National Laboratory
email: <mailto:address@hidden>   Phone: (505)667-3277
Fax:   (505)665-7920             URL:

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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