<< analyse_eq Symbolic Analysis rebuild_eq >>

Grocer >> Symbolic Analysis > deriv_eq

deriv_eq

derivate an equation decomposed in a tlist

CALLING SEQUENCE

[eqsimpl,reseq_ds]=deriv_eq(reseq,vari)

PARAMETERS

Input

* reseq = an 'equation' tlist, the result of the breaking down of an equation into elementary bricks

* vari = a string, the name of a variable

 

Output

* eqsimpl = the resulting symbolic derivative

* reseq_ds = the corresponding tlist collecting the structure of the derivative

DESCRIPTION

Provides the derivative of a function with respect to a variable x.

EXAMPLE

eq='a*x^2+b*sin(0.5*x)';
an_eq=analyse_eq(eq);
[eqd,reseq_d]=deriv_eq(an_eq,'x');
eqd
eqd2=deriv_eq(reseq_d,'x')

AUTHOR

Eric Dubois 2012

Report an issue
<< analyse_eq Symbolic Analysis rebuild_eq >>