How do I find the frequency of this oscilliating spring.

A= 10cm displacement
t= 1s
h(t)= Acos2ðft

it'sh(t)= Acos2 pi ft