Mathc initiation/a437
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c0a3.c |
---|
/* --------------------------------- */
/* save as c0a3.c */
/* --------------------------------- */
#include "x_afile.h"
#include "fa.h"
/* --------------------------------- */
int main(void)
{
double Mass = simpson_dzdydx(R,
uz, vz, LOOP,
sy, ty, LOOP,
ax, bx, LOOP);
clrscrn();
printf(" The function of density is :\n\n"
" R : x,y,z -> %s\n\n", Req);
printf(" The volume is :\n\n");
printf(" v : x,y -> %s \n", veq);
printf(" u : x,y -> %s\n\n", ueq);
printf(" t : x -> %s \n", teq);
printf(" s : x -> %s\n\n", seq);
printf(" b : -> %s \n", bxeq);
printf(" a : -> %s\n\n", axeq);
printf(" The mass is :\n\n");
printf(" (%+.1f (%s (%s \n", bx, teq, veq);
printf(" M = int( int( int( %s dz dy dx = %.2f\n",Req, Mass);
printf(" (%+.1f (%s (%s\n\n\n", ax, seq, ueq);
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
The function of density is :
R : x,y,z -> (x*y**2*z)
The volume is :
v : x,y -> (+cos(x)*sin(y) + 4)
u : x,y -> 0
t : x -> +3
s : x -> -0
b : -> +3
a : -> -0
The mass is :
(+3.0 (+3 ((+cos(x)*sin(y) + 4)
M = int( int( int( (x*y**2*z) dz dy dx = 292.25
(-0.0 (-0 (0
Press return to continue.