getDenom takes as argument a rational fraction and returns the
denominator of this fraction. Unlike denom,
getDenom does not simplify the fraction before extracting
the denominator.
Input :
^2-1)/(x-1)) Output :
Input :
^2+2*x+1)/(x^2-1)) Output :
^2-1