Transférer les fichiers vers 'TP2'

This commit is contained in:
Jose-maria FULLANA 2021-10-06 20:31:46 +02:00
parent f9db7774c5
commit f7d6bc0405
1 changed files with 14 additions and 0 deletions

14
TP2/rayon2.c Normal file
View File

@ -0,0 +1,14 @@
#include <stdio.h>
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);
}