80.9k views
1 vote
G(n)=2n+2
h(n)=n^2-2
Find (g(h(n))

User Avern
by
7.7k points

1 Answer

3 votes

Substitute h(n) for the argument of g(n).

... g(h(n)) = g(n^2-2) = 2(n^2-2) +2

... = 2n^2 -4 +2 . . . . . . . eliminate parentheses

... g(h(n)) = 2n^2 -2

User Alexander Sandberg
by
7.2k points