R as Q Vector space/Q to Q else zero/Exercise