Maxima Function
gcdivide (p, q)
When takegcd is true,
gcdivide divides the polynomials p and q by their greatest common divisor
and returns the ratio of the results.
When takegcd is false,
gcdivide returns the ratio p/q.
To use this function write first load(functs).