Question
Quantitative Aptitude Question on Functions
If f(x)=3x−55x+2 and g(x)=x2−2x−1,then the value of g(f(f(3))) is
A
2
B
31
C
6
D
32
Answer
2
Explanation
Solution
f(x)=3x−55x+2 and g(x)=x2−2x−1
Substituting, f(3)=(3×3−5)(5×3+2)=417
f(f(3))=(3×(417)−5)(5×(417)+2)=3
g(f(f(3)))=g(3)=9−6−1=2.