Mathc initiation/a265
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c2i.c |
|---|
/* --------------------------------- */
/* save as c2i.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fi.h"
/* --------------------------------- */
int main(void)
{
double i;
clrscrn();
printf(" Does lim x->oo %s exist ?\n\n", feq);
for(i=100; i<5000; i+=500)
printf(" f(%+.1f) = %5.5f \n", i, f(i));
printf(" \n\n"
" With the table we arrive at the following conjecture.\n\n"
" lim x->oo %s = e = %5.3f \n\n", feq,exp(1));
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Does lim x->oo (1+1/x**2)**x**2 exist ?
f(+100.0) = 2.71815
f(+600.0) = 2.71828
f(+1100.0) = 2.71828
f(+1600.0) = 2.71828
f(+2100.0) = 2.71828
f(+2600.0) = 2.71828
f(+3100.0) = 2.71828
f(+3600.0) = 2.71828
f(+4100.0) = 2.71828
f(+4600.0) = 2.71828
With the table we arrive at the following conjecture.
lim x->oo (1+1/x**2)**x**2 = e = 2.718
Press return to continue.