Différences entre les versions de « Mathc initiation/c33cc »

petit correction
(petit correction)
 
(petit correction)
<syntaxhighlight lang="c">
/* ---------------------------------- */
/* save as c17dc17c.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fdfc.h"
/* --------------------------------- */
int main(void)
 
ay = 0;
by = 34;
n = 2*150;
ny = 2*150;
M = trapezoid_dxdy(f, u,v,n, ay,by,ny);
 
 
printf(" With the trapezoidal's rule.\n\n");
}
/* --------------------------------- */
 
</syntaxhighlight>
 
<syntaxhighlight lang="dos">
 
f : (x,y)-> sqrt(9-yx**2)3+4*y
 
 
u : (y)-> 0y/2.
 
v : (y)-> sqrt(9-y**2)
 
 
With the trapezoidal's rule.
 
(34.000 (sqrt(9-y**2)
int( int( sqrt(9-yx**2)3+4*y dx dy = 1710.999950666577
(0.000 (0y/2.
 
 
Press return to continue.
 
 
</syntaxhighlight>
4 901

modifications