Find the period of a simple pendulum from its length and the local gravitational acceleration using the small-angle approximation.
輸入擺長 L 與重力加速度 g,求週期。