# Mathc initiation/a331

Sommaire
Installer ce fichier dans votre répertoire de travail.
Texte de la légende :
| fa.h /* ---------------------------------- */ /* save as fa.h */ /* ---------------------------------- */ #define LOOP 2*100 /* ---------------------------------- */ double f( double x, double y) { return( y); } char feq = "y"; /* ---------------------------------- */ double g( double t) { return( cos(t)); } char geq = "cos(t)"; /* ---------------------------------- */ double h( double t) { return( sin(t)); } char heq = "sin(t)"; /* ---------------------------------- */ double xf( double x, double y) { return( x * (y)); } char xfeq = "x * (y)"; /* ---------------------------------- */ double yf( double x, double y) { return( y * (y)); } char yfeq = "y * (y)"; /* ---------------------------------- */ double xxf( double x, double y) { return( x*x * (y)); } char xxfeq = "x**2 * (y)"; /* ---------------------------------- */ double yyf( double x, double y) { return( y*y * (y)); } char yyfeq = "y**2 * (y)"; /* ---------------------------------- */ /* ---------------------------------- */ double b = PI; char beq = "PI"; double a = 0.; char aeq = "0"; /* ---------------------------------- */ /* ---------------------------------- */ . . . . . . . . . . . . . . . | fb.h /* ---------------------------------- */ /* save as fb.h */ /* ---------------------------------- */ #define LOOP 2*100 /* ---------------------------------- */ double f( double x, double y, double z) { return( 1); } char feq = "1"; /* ---------------------------------- */ /* ---------------------------------- */ double g( double t) { return( cos(t)); } char geq = "cos(t)"; /* ---------------------------------- */ double h( double t) { return( sin(t)); } char heq = "sin(t)"; /* ---------------------------------- */ double k( double t) { return( (t)); } char keq = "(t)"; /* ---------------------------------- */ /* ---------------------------------- */ double xf( double x, double y, double z) { return( x * 1); } char xfeq = "x * 1"; /* ---------------------------------- */ double yf( double x, double y, double z) { return( y * 1); } char yfeq = "y * 1"; /* ---------------------------------- */ double zf( double x, double y, double z) { return( z * 1); } char zfeq = "z * 1"; /* ---------------------------------- */ /* ---------------------------------- */ double xxplsyyf( double x, double y, double z) { return( (x*x+y*y) * (1)); } char xxplsyyfeq = "(x**2+y**2) * (1)"; /* ---------------------------------- */ double xxplszzf( double x, double y, double z) { return( (x*x+z*z) * (1)); } char xxplszzfeq = "(x**2+z**2) * (1)"; /* ---------------------------------- */ double yyplszzf( double x, double y, double z) { return( (y*y+z*z) * (1)); } char yyplszzfeq = "(y**2+z**2) * (1)"; /* ---------------------------------- */ /* ---------------------------------- */ double b = 3*PI; char beq = "3*PI"; double a = 0.; char aeq = "0"; /* ---------------------------------- */ /* ---------------------------------- */ |
| fc.h /* ---------------------------------- */ /* save as fc.h */ /* ---------------------------------- */ #define LOOP 2*100 /* ---------------------------------- */ double M( double x, double y) { return( (x*y*y)); } char Meq = "+x*y**2"; /* ---------------------------------- */ double N( double x, double y) { return( (x*x*y)); } char Neq = "+x**2*y"; /* ---------------------------------- */ /* ---------------------------------- */ double g( double t) { return( (t)); } char geq = "(t)"; /* ---------------------------------- */ double h( double t) { return( (3*t*t)); } char heq = "(3*t**2)"; /* ---------------------------------- */ /* ---------------------------------- */ double b = 1.; char beq = "1"; double a = 0.; char aeq = "0"; /* ---------------------------------- */ /* ---------------------------------- */ . . . . . . . . . | fd.h /* ---------------------------------- */ /* save as fd.h */ /* ---------------------------------- */ #define LOOP 2*100 /* ---------------------------------- */ double M( double x, double y, double z) { return( y); } char Meq = "+y"; /* ---------------------------------- */ double N( double x, double y, double z) { return( z); } char Neq = "+z"; /* ---------------------------------- */ double P( double x, double y, double z) { return( x); } char Peq = "+x"; /* ---------------------------------- */ /* ---------------------------------- */ double g( double t) { return( (t)); } char geq = "(t)"; /* ---------------------------------- */ double h( double t) { return( (t*t)); } char heq = "(t**2)"; /* ---------------------------------- */ double k( double t) { return( (t*t*t)); } char keq = "(t**3)"; /* ---------------------------------- */ /* ---------------------------------- */ double b = 2.; char beq = "2"; double a = 0.; char aeq = "0"; /* ---------------------------------- */ /* ---------------------------------- */ |