Mathc initiation/h77a
Installer ce fichier dans votre répertoire de travail.
fa.h |
---|
/* ------------------------------------ */
/* Save as : fa.h */
/* ------------------------------------ */
double f(
double x)
{
return( (pow(x,6)+pow(x,4)) / (pow(x,4)-x-1) +10*x );
}
char feq[] = "((x**6+x**4)/(x**4-x-1)) + 10*x";
/* ------------------------------------ */
double fax2(
double x)
{
return((
(
(pow(x,6) + pow(x,4))
/
(pow(x,4) - x-1)
)
+ 10*x
)
/ pow(x,2) );
}
char faxeq[] = "(((x**6+x**4)/(x**4-x-1)) + 10*x) / x**2";
/* ------------------------------------ */
double fbx(
double x)
{
return((
(
(
(pow(x,6) + pow(x,4))
/
(pow(x,4) - x-1)
)
+ 10*x
)
- pow(x,2) )
/ x );
}
char fbxeq[] = "((((x**6+x**4)/(x**4-x-1)) + 10*x)-x**2) / x";
/* ------------------------------------ */
double fc(
double x)
{
return((
(
(
(pow(x,6) + pow(x,4))
/
(pow(x,4) - x-1.)
)
+ 10.*x
)
- pow(x,2) - 10.*x )
);
}
char fceq[] = "((((x**6+x**4)/(x**4-x-1)) + 10*x)-x**2-10*x)";
/* ------------------------------------ */
double fax2bxc(
double x)
{
return( pow(x,2)+10*x+1 );
}
char fax2bxceq[] = "x**2+10*x+1";
/* ------------------------------------ */
/* ------------------------------------ */
Déclaration des fichiers h.