mustish1
asked on
Needs help in function
Can any one please explain that ? Thanks
Define function f, g: N -----> N by
f(x) = 2x
g(x) = [x/2]
Is f o g the same as g o f? Explain
Answer: No. For example, (f o g)(5) = 4, but (g o f)(5) = 5.
Define function f, g: N -----> N by
f(x) = 2x
g(x) = [x/2]
Is f o g the same as g o f? Explain
Answer: No. For example, (f o g)(5) = 4, but (g o f)(5) = 5.
ASKER
No.
What does the g o f and f o g notation mean?
do you know what g(5) is?
ASKER
No
do you know what [5/2] is?
ASKER
5-2
no, 5/2 = 2.5
[2.5] = 2
[2.5] = 2
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
... there is an assumption here that [x] refers to the integer part of x
eg [2.5] = 2
eg [2.5] = 2
do you understand why (g o f)(5) = 5 ?