Mathc initiation/c77c
Installer et compiler ces fichiers dans votre répertoire de travail.
c01c.c |
---|
/* ------------------------------------ */
/* Save as : c01c.c */
/* ------------------------------------ */
#include "x_hfile.h"
#include "fa.h"
/* ------------------------------------ */
int main(void)
{
double i;
clrscrn();
printf(" The curve y = ax**2 + bx + c (a!=0) \n\n\n"
" is a branch of the curve of f at +oo if \n\n\n\n"
" lim f(x) \n"
" x->+oo ---- = a \n"
" x**2 \n\n\n"
" lim [f(x)-ax**2] \n"
" and x->+oo --------- = b \n"
" x \n\n\n"
" lim [f(x)-ax**2-bx] = c \n"
" and x->+oo \n\n\n");
stop();
clrscrn();
printf(" f : x-> %s\n\n\n", feq);
printf(" Compute : lim [f(x)-ax**2] \n");
printf(" x->+oo --------- = b (with a=1) \n");
printf(" x \n\n\n");
for(i=1; i<10; i+=1)
printf(" L2(%.0e) = %-10.0e || L2(%.0e) = %.0e\n",
i*100, fbx(i*100),
i*1000000000, fbx(i*1000000000) );
printf(" \n\n"
"With the computation we arrive at the "
"following conjecture : b = %+.1f \n\n",
fbx(i*1000000000));
stop();
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Exemple de sortie écran :
The curve y = ax**2 + bx + c (a!=0)
is a branch of the curve of f at +oo if
lim f(x)
x->+oo ---- = a
x**2
lim [f(x)-ax**2]
and x->+oo --------- = b
x
lim [f(x)-ax**2-bx] = c
and x->+oo
Press return to continue.
**************************
f : x-> ((x**6+x**4)/(x**4-x-1)) + 10*x
Compute : lim [f(x)-ax**2]
x->+oo --------- = b (with a=1)
x
L2(1e+02) = 1e+01 || L2(1e+09) = 1e+01
L2(2e+02) = 1e+01 || L2(2e+09) = 1e+01
L2(3e+02) = 1e+01 || L2(3e+09) = 1e+01
L2(4e+02) = 1e+01 || L2(4e+09) = 1e+01
L2(5e+02) = 1e+01 || L2(5e+09) = 1e+01
L2(6e+02) = 1e+01 || L2(6e+09) = 1e+01
L2(7e+02) = 1e+01 || L2(7e+09) = 1e+01
L2(8e+02) = 1e+01 || L2(8e+09) = 1e+01
L2(9e+02) = 1e+01 || L2(9e+09) = 1e+01
With the computation we arrive at the following conjecture : b = +10.0
Press return to continue.