Mathc initiation/a245
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c1a.c |
|---|
/* --------------------------------- */
/* save as c1b.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "f1b.h"
/* --------------------------------- */
int main(void)
{
double i;
clrscrn();
printf(" Does lim x->oo %s exist ?\n\n", feq);
for(i=1000; 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 = exp(-6/2) = exp(-3) = %5.5f \n\n",
feq,exp(-3));
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Does lim x->oo [(2*x-3)/(2*x+3)]**x exist ?
f(+1000.0) = 0.04979
f(+1500.0) = 0.04979
f(+2000.0) = 0.04979
f(+2500.0) = 0.04979
f(+3000.0) = 0.04979
f(+3500.0) = 0.04979
f(+4000.0) = 0.04979
f(+4500.0) = 0.04979
With the table we arrive at the following conjecture.
lim x->oo [(2*x-3)/(2*x+3)]**x = exp(-6/2) = exp(-3) = 0.04979
Press return to continue.