Write an exponential equation for the following graph. Will give brainiest if you answer

Answer:
f(x) = [tex]2(\frac{1}{2})^x[/tex]
Step-by-step explanation:
Let the exponential function is,
f(x) = a(b)ˣ
Since, the given graph passes through two points (0, 2) and (1, 1)
For point (0, 2),
2 = a(b)⁰
2 = a
For point (1, 1),
1 = a(b)¹
ab = 1
2(b) = 1
b = [tex]\frac{1}{2}[/tex]
Therefore, equation of the exponential function will be,
f(x) = [tex]2(\frac{1}{2})^x[/tex]