Mathc initiation/Fichiers h : c39fb
Apparence
Installer ce fichier dans votre répertoire de travail.
kurv2d.h |
---|
/* --------------------------------- */
/* save as kurv2d.h */
/* --------------------------------- */
double K_y_2d(
double (*P_f)(double x),
double x
)
{
double a = fx_x((*P_f),x,H);
return(fabs(fx_xx((*P_f),x,H))
/
pow(1+a*a,3./2.));
}
/* --------------------------------- */
double h_y_2d(
double (*P_f)(double x),
double x
)
{
double a = fx_x((*P_f),x,H);
return(x - ( ( a*(1+a*a) )
/
fx_xx((*P_f),x,H)));
}
/* --------------------------------- */
double k_y_2d(
double (*P_f)(double x),
double x
)
{
double a = fx_x((*P_f),x,H);
return((*P_f)(x) + ( (1+a*a)
/
fx_xx((*P_f),x,H)));
}
/* --------------------------------- */
/* --------------------------------- */