Mathc initiation/Fichiers h : c78ea

Un livre de Wikilivres.


Sommaire


Installer ce fichier dans votre répertoire de travail.

fa.h
utilitaire
/* --------------------------------- */
/* save as fa.h                      */
/* --------------------------------- */
double f1(
double x)
{
 return( cosh(2*x) );
}
char  f1eq[] = "cosh(2*x) ";
/* --------------------------------- */
double f2(
double x)
{
 return( 1. + 2.*sinh(x)*sinh(x));
}
char  f2eq[] = "1 + 2*sinh(x)**2";
/* --------------------------------- */
/* --------------------------------- */
double g1(
double x)
{
 return( cosh(2.*x) );
}
char  g1eq[] = "cosh(2*x) ";
/* --------------------------------- */
double g2(
double x)
{
 return( 2.*cosh(x)*cosh(x) - 1 );
}
char  g2eq[] = "2*cosh(x)**2 - 1";
/* --------------------------------- */
/* --------------------------------- */