Mathc initiation/a273
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c1a.c |
|---|
/* --------------------------------- */
/* save as c1a.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "f1a.h"
/* --------------------------------- */
int main(void)
{
double i;
clrscrn();
printf(" Does lim x->oo %s exist ?\n\n", feq);
for(i=100000; i<500000; i+=50000)
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.5f \n\n", feq,exp(1));
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Does lim x->oo [1-6./(2*x+3)]**[(2*x+3)/(-6)] exist ?
f(+100000.0) = 2.71832
f(+150000.0) = 2.71831
f(+200000.0) = 2.71830
f(+250000.0) = 2.71830
f(+300000.0) = 2.71830
f(+350000.0) = 2.71829
f(+400000.0) = 2.71829
f(+450000.0) = 2.71829
With the table we arrive at the following conjecture.
lim x->oo [1-6./(2*x+3)]**[(2*x+3)/(-6)] = e = 2.71828
Press return to continue.