21 lines
461 B
C
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;
|
|
}
|