Let f(x)=-4(2)^x. The graph of g(x)=f(x)+k is shown below. Identify the value of k.

Given:
The function is:
[tex]f(x)=-4(2)^x[/tex]
The graph of the function [tex]g(x)=f(x)+k[/tex] is given.
To find:
The value of k.
Solution:
We have,
[tex]f(x)=-4(2)^x[/tex]
[tex]g(x)=f(x)+k[/tex]
Using these two functions, we get
[tex]g(x)=-4(2)^x+k[/tex]
From the given graph it is clear that the graph of g(x) passes through the point (0,2). It means the point (0,2) satisfies the function g(x).
Substituting [tex]g(x)=2[/tex] and [tex]x=0[/tex] in the above function, we get
[tex]2=-4(2)^0+k[/tex]
[tex]2=-4(1)+k[/tex]
[tex]2=-4+k[/tex]
[tex]2+4=k[/tex]
[tex]6=k[/tex]
Therefore, the value of k is 6.