20 lines
403 B
C
20 lines
403 B
C
|
|
#include <stdio.h>
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <math.h>
|
||
|
|
|
||
|
|
int main(void) {
|
||
|
|
double rep1,rep2,rep3,rep4,rep5,rep6;
|
||
|
|
rep1=sqrt(fabs(log(0.5)));
|
||
|
|
rep2=sin(M_PI/6.0);
|
||
|
|
rep3=atan(pow(13,2));
|
||
|
|
rep4=pow(exp(-1),4);
|
||
|
|
rep5=log(-3);
|
||
|
|
rep6=pow(sqrt(2),2);
|
||
|
|
printf("%f\n",rep1);
|
||
|
|
printf("%f\n",rep2);
|
||
|
|
printf("%f\n",rep3);
|
||
|
|
printf("%f\n",rep4);
|
||
|
|
printf("%f\n",rep5);
|
||
|
|
printf("%f\n",rep6);
|
||
|
|
return EXIT_SUCCESS;
|
||
|
|
}
|