Aller au contenu

Mathc initiation/Fichiers h : x 69fa

Un livre de Wikilivres.


Sommaire


Installer ce fichier dans votre répertoire de travail.


Texte de la légende
fa.h
/* ---------------------------------- */
/* save as fa.h                       */
/* ---------------------------------- */
double Z(
double x,
double y)
{
 return(       x*x*y+3*x*pow(y,4) );
}
char  Zeq[] = "x**2*y+3*x*y**4";
/* ---------------------------------- */
double X(
double t)
{
 return(       sin(2*t) );
}
char  Xeq[] = "sin(2*t)";
/* ---------------------------------- */
double Y(
double t)
{
 return(       cos(t) );
}
char  Yeq[] = "cos(t)";
/* ---------------------------------- */
double f(
double t)
{
 return(sin(2*t)*sin(2*t)*cos(t)+3*sin(2*t)*pow(cos(t),4) );
}
char  feq[] = "sin(2*t)**2*cos(t)+3*sin(2*t)*cos(t)**4";
/* ---------------------------------- */
/* ---------------------------------- */
fb.h
/* ---------------------------------- */
/* save as fb.h                       */
/* ---------------------------------- */
double Z(
double x,
double y)
{
 return(       sin(x)*cos(y) );
}
char  Zeq[] = "sin(x)*cos(y)";
/* ---------------------------------- */
double X(
double t)
{
 return(       PI*t );
}
char  Xeq[] = "PI*t";
/* ---------------------------------- */
double Y(
double t)
{
 return(       sqrt(t) );
}
char  Yeq[] = "sqrt(t)";
/* ---------------------------------- */
double f(
double t)
{
 return(       sin(PI*t)*cos(sqrt(t)) );
}
char  feq[] = "sin(PI*t)*cos(sqrt(t))";
/* ---------------------------------- */
/* ---------------------------------- */
fc.h
/* ---------------------------------- */
/* save as fc.h                       */
/* ---------------------------------- */
double Z(
double x,
double y)
{
 return(       x*log(x+2*y) );
}
char  Zeq[] = "x*log(x+2*y)";
/* ---------------------------------- */
double X(
double t)
{
 return(       sin(t) );
}
char  Xeq[] = "sin(t)";
/* ---------------------------------- */
double Y(
double t)
{
 return(       cos(t) );
}
char  Yeq[] = "cos(t)";
/* ---------------------------------- */
double f(
double t)
{
 return(       sin(t)*log(sin(t)+2*cos(t)) );
}
char  feq[] = "sin(t)*log(sin(t)+2*cos(t))";
/* ---------------------------------- */
/* ---------------------------------- */