-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cubica.h
35 lines (32 loc) · 860 Bytes
/
Cubica.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CUBICA_H_INCLUDED
#define CUBICA_H_INCLUDED
#include "Ecuacion.h"
#include "Mate.h"
using namespace std;
class Cubica : public Ecuacion
{ private:
float a;
float b;
float c;
float d;
public:
Cubica(float, float, float, float);
~Cubica();
float getA();
float getB();
float getC();
float getD();
void setA(float);
void setB(float);
void setC(float);
void setD(float);
float Discrim1Cub(Mate&);
float Discrim2Cub(Mate&);
float Soluc1Cub(Mate&);
float Soluc2Cub(Mate&);
float Soluc3Cub(Mate&);
float SumaDeDiscrim(Mate&);
float TresSolIgu(Mate&);
float UnaReal(Mate &);
};
#endif // CUBICA_H_INCLUDED