The codomain is the set of all possible values which can come out as a result but the range is the set of values which actually comes out.figure out