Sommaire
Installer ce fichier dans votre répertoire de travail.
Texte de la légende
|
fa.h
|
/* ---------------------------------- */
/* save as fa.h */
/* ---------------------------------- */
double f(
double x,
double y)
{
return( (y*y*y*y + 3*y - 4*x*x*x - 5*x - 1) );
}
char feq[] = "y**4 + 3*y - 4*x**3 - 5*x - 1";
/* ---------------------------------- */
double dy(
double x,
double y)
{
return( (12*x*x + 5) / (4*y*y*y + 3) );
}
char dyeq[] = "(12*x**2 + 5) / (4*y**3 + 3)";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fb.h
|
/* ---------------------------------- */
/* save as fb.h */
/* ---------------------------------- */
double f(
double x,
double y)
{
return( (4*y*y + 9*x*x - 40) );
}
char feq[] = "4*y**2 + 9*x**2 - 40";
/* ---------------------------------- */
double dy(
double x,
double y)
{
return( (-9*x / 4*y) );
}
char dyeq[] = "-9*x / 4*y";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fc.h
|
/* ---------------------------------- */
/* save as fc.h */
/* ---------------------------------- */
double f(
double x,
double y)
{
return( (x*x*y + sin(y) - 2*PI) );
}
char feq[] = "x**2 * y + sin(y) - 2*PI";
/* ---------------------------------- */
double dy(
double x,
double y)
{
return( - (2*x*y)/(x*x + cos(y)) );
}
char dyeq[] = "-(2*x*y)/(x**2 + cos(y))";
/* ---------------------------------- */
/* ---------------------------------- */
|
|