Sommaire
Installer ce fichier dans votre répertoire de travail.
fa.h
/* ---------------------------------- */ /* save as fa.h */ /* ---------------------------------- */ double f( double x) { return( 1./( (3.+2.*x)*(3.+2.*x)) ); } char feq[] = "1/(3+2*x)^2"; /* ---------------------------------- */ /* ---------------------------------- */
fb.h
/* ---------------------------------- */ /* save as fb.h */ /* ---------------------------------- */ double f( double x) { return( atan(x)/(1+pow(x,2)) ); } char feq[] = "atan(x)/(1+pow(x,2))"; /* ---------------------------------- */ /* ---------------------------------- */
fc.h
/* ---------------------------------- */ /* save as fc.h */ /* ---------------------------------- */ double f( double x) { return( x*exp(-x) ); } char feq[] = "x*exp(-x)"; /* ---------------------------------- */ /* ---------------------------------- */
.