Because the ones that have better adaptions survive and spread on the genes for that adaptation
O.99 m long .simple pendulum time period is 2s for second formula then use formula T=2pi.rt(lenght/gravity)
When calculated energy transferred between objects use the definition of heat as