From f7d6bc0405ba5a8527d35933c57bfd022814d9c8 Mon Sep 17 00:00:00 2001 From: Jose-maria FULLANA Date: Wed, 6 Oct 2021 20:31:46 +0200 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'TP2'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TP2/rayon2.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 TP2/rayon2.c 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); + +}