Evaluate numerical expressions involving rational numbers