Sindbad~EG File Manager
#define SIMPLIFY 1
#define COMMON_DENOMINATOR 3
#define COMPOUND_FRACTIONS 4
#define NEGATIVE_EXPONENTS 6
#define ELIMINATE_NEGATIVE_EXPONENTS 7
#define FRACTIONAL_EXPONENTS 8
#define ROOTS 9
#define FACTOR 10
#define LINEAR_EQUATION 11
#define LINEAR_EQUATIONS 12
#define SOLVE_EQUATION 13
#define EXPAND 14
#define INEQUALITIES 15
#define ABSOLUTE_VALUE 16
#define COMPLEX_NUMBERS 17
#define ORDINARY_GRAPH 18
#define COMPARE_GRAPHS 19
#define GRAPH_INEQUALITY 20
#define GRAPH_RELATION 21
#define POLYROOTS 22
#define CONTOUR_PLOT 23
#define COMPLEX_CONTOUR_PLOT 24
#define N_ALGCHOICES 24
#define N_TRIGCHOICES 13
#define N_CALCCHOICES 17
/*_________________________________________________________________________*/
/* Following are the possible values of 'problemtype' for the trig disk: */
/* Some values that used to be defined here aren't used, that's why they
start at 104 */
#define TRIG_EXPAND 104
#define TRIG_IDENTITY 105
#define BINOMIAL_THEOREM 106
#define SIGMA_NOTATION 107
#define INDUCTION 108
#define POLAR_GRAPH 109
#define PARAMETRIC_GRAPH 110
#define SPACE_CURVE 111
/*_________________________________________________________________________*/
/* Following are the possible values of 'problemtype' for the calculus disk: */
#define LIMITS 201
#define DIFFERENTIATE_FROM_DEFN 202
#define DIFFERENTIATE 203
#define MINMAX 204
#define IMPLICIT_DIFF 205
#define RELATED_RATES 206
#define INTEGRATION 207
#define LHOPITAL 208
#define ADDSERIES 209 /* eliminate SUM */
#define POWERSERIES 210 /* expand in series */
#define TESTCONVERGENCE 211
#define SYMBOLIC_ODE 212
#define SOLVE_ODE 213
#define SOLVE_TWO_ODES 214
#define HIGH_ORDER_ODE 215
#define RIEMANN_SUMS 216
#define TRAPEZOID_RULE 217
#define SIMPSONS_RULE 218
#define NONPARAMETRIC_SURFACE 219
#define POLAR_NONPARAMETRIC_SURFACE 220
#define PARAMETRIC_SURFACE 221
#define TABLE 222
#define ARCLENGTH 223
#define AREA 224
#define VOLUME 225
#define IMPROPER_INTEGRATION 226 /* this is only used to generate random problems; it's needed because there is a separate php entry page for improper integrals. */
#define CHECK 301 /* for testing the theorem-prover */
#define INFER 302
#define REFUTE 303
#define LPT 304
/* next macro determines if its arg is a problemtype requiring a graph */
#define GRAPHTYPE(x) (x == ORDINARY_GRAPH || x== COMPARE_GRAPHS || \
x == GRAPH_RELATION || x==POLYROOTS || x==GRAPH_INEQUALITY || \
x == CONTOUR_PLOT || x == COMPLEX_CONTOUR_PLOT || \
x == POLAR_GRAPH || x == PARAMETRIC_GRAPH || \
x == SPACE_CURVE || x == NONPARAMETRIC_SURFACE || \
x == POLAR_NONPARAMETRIC_SURFACE || x == PARAMETRIC_SURFACE || \
x == RIEMANN_SUMS || x == TRAPEZOID_RULE || x == SIMPSONS_RULE || \
x == SOLVE_ODE || x == SOLVE_TWO_ODES || x == HIGH_ORDER_ODE)
#define SOLVETYPE(x) (x == SOLVE_EQUATION || x == INEQUALITIES || \
x == LINEAR_EQUATION || x == IMPLICIT_DIFF || \
x == RELATED_RATES || x == MINMAX || x == ABSOLUTE_VALUE || x == TESTCONVERGENCE)
#define SERIESTYPE(x) (x == ADDSERIES || x == POWERSERIES || x == TESTCONVERGENCE)
int get_problemtype(void);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists