Final answer:
The output of the function g(x) when x=2 is 3.
Step-by-step explanation:
To find the output of the function g(x) when x=2, we can substitute the value of x into the function and evaluate it.
g(x)=3^(x/2)
Substituting x=2:
g(2)=3^(2/2)
=3^1
=3
The output of the function g(x) when x=2 is 3.