I am in a introductory stochastic calculus class and came across and example from that asks for the first order variation and the quadratic variation of a continuous function. For example:
$f(x) = cos(2x)$ defined on the interval $-\pi/2 <= x <= \pi$
From the variation formula provided in wikipedia, I would think that the first order variation would be:
And the quadratic variation would be 0 since it is a continuously differentiable function. Is this the correct logic? Sorry if this is too basic of a question.