If f:Z→Z is defined as f(n)=11n and g:Z→Z is defined
If f:Z→Z is defined as f(n)=11n and g:Z→Z is defined as g(n)=nmod7, then (g∘f)(4) is,
- A.
4
- B.
7
- C.
44
- D.
2
Attempted by 106 students.
Show answer & explanation
Correct answer: D
Solution: Evaluate the composition by computing f(4) first and then applying g to that result.
Step 1: Compute f(4) = 11 × 4 = 44.
Step 2: Compute g(44) = 44 mod 7 = 2, because 7 × 6 = 42 and the remainder is 2.
Therefore (g∘f)(4) = 2.