a function with a variable raised to the second power

One example of a function with a variable raised to the second power is:

f(x) = x^2

This function takes a value of x and returns its square. For example, if x = 3, then f(x) = 9, since 3^2 = 9. Similarly, if x = -2, then f(x) = 4, since (-2)^2 = 4.