27 lines
470 B
C
27 lines
470 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <math.h>
|
|
|
|
int main(void){
|
|
double val1;
|
|
double val2;
|
|
double val3;
|
|
double val4;
|
|
double val5;
|
|
double val6;
|
|
val1 = sqrt(fabs(log(0.5)));
|
|
val2 = sin(M_PI/6);
|
|
val3 = atan(pow(13,2));
|
|
val4 = pow(exp(-1),4);
|
|
val5 = log(-3);
|
|
val6 = pow(sqrt(2),2);
|
|
printf("%lf\n", val1);
|
|
printf("%lf\n", val2);
|
|
printf("%lf\n", val3);
|
|
printf("%lf\n", val4);
|
|
printf("%lf\n", val5);
|
|
printf("%lf\n", val6);
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|
|
|