Mathc initiation/a240
Installer ce fichier dans votre répertoire de travail.
x_eq.h |
---|
/* ------------------------------------ */
/* Save as : x_eq.h */
/* ------------------------------------ */
void p_BezierCurves(
double n,
char c
)
{
double k;
for(k=0;k<=n;k++)
printf("\n%7.0f * P%.0f.%c * pow((1-t),%2.0f) * pow(t,%2.0f) +",
binomial(n,k),
k,
c,
n-k,
k
);
printf("\b\b ");
printf("\n\n");
}
/* ------------------------------------ */
/* ------------------------------------ */