You are asked to find the minimum or maximum of the quadratic function: f(x)=−2x2+4x+1 and you use x=-b/2a to find the x-vaule.

What is the value of b?

In the quadratic function f(x) = -2x^2 + 4x + 1, we can see that the coefficient of x is 4, so b = 4.