Mathc initiation/Fichiers h : c55a1
Installer et compiler ces fichiers dans votre répertoire de travail.
c01b.c |
---|
/* ------------------------------------ */
/* Save as : c01b.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(" lim f(x) \n");
printf(" Compute : x->+oo ---- = a \n");
printf(" x**2 \n\n\n");
for(i=1; i<10; i+=1)
printf(" L1(%.0e) = %-10.0e || L1(%.0e) = %.0e\n",
i*100, fax2(i*100),
i*1000000000, fax2(i*1000000000) );
printf(" \n\n"
"With the computation we arrive at the "
"following conjecture : a = %+.1f \n\n",
fax2(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**4/(x**2-1.)
lim f(x)
Compute : x->+oo ---- = a
x**2
L1(1e+02) = 1e+00 || L1(1e+09) = 1e+00
L1(2e+02) = 1e+00 || L1(2e+09) = 1e+00
L1(3e+02) = 1e+00 || L1(3e+09) = 1e+00
L1(4e+02) = 1e+00 || L1(4e+09) = 1e+00
L1(5e+02) = 1e+00 || L1(5e+09) = 1e+00
L1(6e+02) = 1e+00 || L1(6e+09) = 1e+00
L1(7e+02) = 1e+00 || L1(7e+09) = 1e+00
L1(8e+02) = 1e+00 || L1(8e+09) = 1e+00
L1(9e+02) = 1e+00 || L1(9e+09) = 1e+00
With the computation we arrive at the following conjecture : a = +1.0
Press return to continue.