Answer to Question #239222 in Discrete Mathematics for Bujji

Question #239222

If a function is defined as f(x,n) mod n. Determine the

i.     Domain of f

ii.   Range of f

iii.          G(g(g(g(7)))) if g (n) = f(209, n).   


1
Expert's answer
2021-09-24T01:02:43-0400

Part i

The mod function we can only apply on integers

So, Domain "\\{f(x,n)\\}= Set \\space of \\space integers = \\{...-2,-1,0,1,2...\\}"


Part ii

Range of f(x,n)= {0,1,2,...n-1}

Because x and n = remainder when xn divided by nx


Part iii

"g(7)=f(209,7)= 209 mod 7= 6\\\\\ng(g(7))=g(6)=f(209,6)= 5\\\\\ng(g(g(7)))=f(209,5)= 4\\\\\ng(g(g(g(7))))=f(209,4)= 5\\\\"


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS