feet : initial commit of all the files
This commit is contained in:
30
polynome.h
Normal file
30
polynome.h
Normal file
@@ -0,0 +1,30 @@
|
||||
typedef struct Poly {
|
||||
float a;
|
||||
float b;
|
||||
float c;
|
||||
|
||||
float delta;
|
||||
|
||||
float sx; //sommet x
|
||||
float sy; //sommet y
|
||||
|
||||
float x1;
|
||||
float x2;
|
||||
float x0;
|
||||
} Poly;
|
||||
|
||||
enum STATUS {
|
||||
OK,
|
||||
FAIL
|
||||
};
|
||||
|
||||
enum STATUS Calcul_Delta(Poly* poly);
|
||||
enum STATUS Calcul_x1_x2(Poly* poly);
|
||||
enum STATUS Calcul_x0(Poly* poly);
|
||||
enum STATUS Calcul_Sommet(Poly* poly);
|
||||
enum STATUS Calcul_Fonction(Poly* poly, float x, float *out);
|
||||
|
||||
#define LONGUEUR_X 10
|
||||
#define LONGUEUR_Y 10
|
||||
enum STATUS Dessiner_Graph(Poly* poly);
|
||||
int main();
|
||||
Reference in New Issue
Block a user