(4.2) |
int Degree_Max_Convert_Trigo_Interval(int n,VECTOR &A,INTEGER_VECTOR &SSin,INTEGER_VECTOR &CCos); int Degree_Max_Convert_Trigo_Interval(int n,INTEGER_VECTOR &A, INTEGER_VECTOR &SSin,INTEGER_VECTOR &CCos);with:
VOID Convert_Trigo_Interval(int n,VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,VECTOR &Coeff,int *degree); VOID Convert_Trigo_Interval(int n,INTEGER_VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,INTEGER_VECTOR &Coeff,int *degree); VOID Convert_Trigo_Interval(int n,INTERVAL_VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,INTERVAL_VECTOR &Coeff,int *degree);with:
VOID Convert_Trigo_Pi_Interval(int n,VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,INTEGER_VECTOR &Coeff,int *degree); VOID Convert_Trigo_Pi_Interval(int n,INTEGER_VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,INTEGER_VECTOR &Coeff,int *degree); VOID Convert_Trigo_Pi_Interval(int n,INTERVAL_VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,INTEGER_VECTOR &Coeff,int *degree);Similar procedures exists for interval trigonometric equations i.e. equations where the coefficients A are intervals. In that case degree will no more an integer but an INTERVAL which indicate the lowest and highest degree of the resulting polynomial. In some case the number of roots of the trigonometric equation may exceed the degree of the equivalent polynomial. For example the equation has the roots while the degree of the equivalent polynomial is only 1. In all cases the total number of roots of the trigonometric equation will never exceed the degree+2.
Having determined the equivalent polynomial you my use the tools described in section 5 for determining the number of roots of the trigonometric equation. But you still have to manage the search interval. The following procedure is able to determine this search interval and to determine the number of roots of the trigonometric equation:
int Nb_Root_Trigo_Interval(int n,VECTOR &A,INTEGER_VECTOR &SSin, INTEGER_VECTOR &CCos,REAL Inf,REAL Sup)with: