MATH Home | Components | Ports | Classes | Functions | Enumeratives | Global Variables

MATH.ecua3



FUNCTION ecua3
RETURN TYPE: NO_TYPE


ARGUMENTS:
NAME  TYPE  INITIAL  RANGE  DESCRIPTION  UNITS  
a[4] IN REAL    Array of the equation coefficients  
r1 OUT REAL    First solution of the cubic equation  
r2 OUT REAL    Second solution of the cubic equation  
r3 OUT REAL    Third solution of the cubic equation  

DECLS:
NAME  TYPE  INITIAL  RANGE  DESCRIPTION  UNITS  
REAL    Intermediate variable  
Q3 REAL    Cubic value of Q  
REAL    Intermediate variable  
aux REAL    Auxiliary variable  
nroots INTEGER    Number of roots  
pi CONST REAL  3.14159265358979  PI number  
theta REAL    Intermediate variable  



Document generated automatically with EcosimPro Version: 5.4.14 Date: 2015:02:02 Time: 10:24:38