Somehow, I just keep getting 0

Even when my Rational has parameters like (3,4) I still end up returning
a value of 0