Ajout des TP
This commit is contained in:
18
BUT1/DEV1.1/Maths/Formules/arctan.c
Normal file
18
BUT1/DEV1.1/Maths/Formules/arctan.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double nombrearctan=13;
|
||||
|
||||
printf("La valeur de arctan est :%lf\n" , atan(pow(nombrearctan,2)));
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
18
BUT1/DEV1.1/Maths/Formules/exponentielle.c
Normal file
18
BUT1/DEV1.1/Maths/Formules/exponentielle.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double nombre=-1;
|
||||
|
||||
printf("La valeur de l'exponentielle est :%lf\n" , pow(exp(nombre),4));
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
16
BUT1/DEV1.1/Maths/Formules/formules.c
Normal file
16
BUT1/DEV1.1/Maths/Formules/formules.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double nombre=0.5;
|
||||
double nombre2=M_PI;
|
||||
|
||||
printf("%lf => %lf\n" , nombre, sqrt(fabs(log(nombre))));
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
18
BUT1/DEV1.1/Maths/Formules/logartihme-3.c
Normal file
18
BUT1/DEV1.1/Maths/Formules/logartihme-3.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double nombre=-3;
|
||||
|
||||
printf("La valeur du logartihme est :%lf\n" , log(nombre));
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
18
BUT1/DEV1.1/Maths/Formules/racinede2.c
Normal file
18
BUT1/DEV1.1/Maths/Formules/racinede2.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double nombre=2;
|
||||
|
||||
printf("La valeur de la racine est :%lf\n" , pow(sqrt(nombre),2));
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
18
BUT1/DEV1.1/Maths/Formules/sin.c
Normal file
18
BUT1/DEV1.1/Maths/Formules/sin.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double nombre=M_PI/6;
|
||||
|
||||
printf("La valeur du sinus est :%lf\n" , sin(M_PI/6));
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user