(x) =pi/2-x g(x)= 5sinx/8+cos x

find (gof)(pi/2)
and (fof)(pi/2)

To find the value of (g∘f)(π/2), we need to substitute π/2 into the function g after substituting π/2 into the function f.

1. Let's start by substituting π/2 into the function f:
f(π/2) = π/2 - (π/2) = 0

2. Now, substitute the result from step 1 into the function g:
g(f(π/2)) = g(0)

Next, let's find the value of (f∘f)(π/2). This requires substituting π/2 into the function f twice.

1. Substituting π/2 into the function f the first time:
f(π/2) = π/2 - (π/2) = 0

2. Now, substitute the result from step 1 into the function f again:
f(f(π/2)) = f(0)

To further proceed with finding the values, we need to know the exact expression for the function g(x) in order to substitute values. Could you please provide the complete expression for g(x) again?