The period $T$ of a pendulum is defined by $T = 2\pi \left(\frac{L}{g}\right)^n$ where $L$ denotes the length of the pendulum and $g$ denotes the acceleration due to free fall. This equation is homogeneous. What value does $n$ take?
- A$-2$
- B$-\frac{1}{2}$
- C$\frac{1}{2}$
- D$2$