diff --git a/TP2/rayon2.c b/TP2/rayon2.c new file mode 100644 index 0000000..d9e4e1e --- /dev/null +++ b/TP2/rayon2.c @@ -0,0 +1,14 @@ +#include +int main() { + float x23 ; + float z_230 = 1e1; + float t_340 = 10.; + float oo=1./2*2*1/2; + const float loss = 6.28318/oo*1./4. ; + + + printf("%f %f %f \n",loss, z_230, t_340); + x23 = loss * z_230 * t_340; + printf("resultat = %f\n",x23); + +}