Graf, svingetid til pendel