Given data
*The given height is 8.65 cm
*The number of oscillation is 5 swings
5 swings take 5.87 second
One swing takes the time period is calculated as

The expression for the time period of the pendulum is given as
![T=2\pi\sqrt[]{(L)/(g)}](https://img.qammunity.org/2023/formulas/physics/college/h8quhyohkhg6oj9xkblumno6z1ebdjigmr.png)
*Here L is the length of the pendulum
*Here g is the acceleration due to the gravity
Substitute the values in the above expression as
![\begin{gathered} 1.17=2*3.14\sqrt[]{(L)/(9.81)} \\ L=0.34\text{ m} \\ L=34\text{ cm} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/t7a9cs4otgmxn77yz5p1v06p2o03deax3n.png)