diff --git a/DEV1.1/TP10/formule b/DEV1.1/TP10/formule new file mode 100755 index 0000000..fedb66b Binary files /dev/null and b/DEV1.1/TP10/formule differ diff --git a/DEV1.1/TP10/formule.c b/DEV1.1/TP10/formule.c new file mode 100644 index 0000000..3793cc9 --- /dev/null +++ b/DEV1.1/TP10/formule.c @@ -0,0 +1,20 @@ +#include +#include +#include + +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; +} \ No newline at end of file