DEV/DEV1.1/TP11/formules.c
Bekkouche Anis 1765a453cf ejeejh
2024-10-07 17:30:04 +02:00

21 lines
461 B
C

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(void) {
double prem;
double deux;
double troi;
double quat;
double cinq;
double sixi;
prem =sqrt(fabs(log(0.5)));
deux = (double) sin(3.1415/6);
troi = (double) atan(pow(13, 2));
quat = (double) pow(exp(-1), 4);
cinq = (double) log(-3);
sixi = (double) pow(sqrt(2), 2);
printf("%lf %lf %lf %lf %lf %lf\n", prem, deux, troi, quat, cinq, sixi);
return EXIT_SUCCESS;
}