Problem with hyperbolic discount model

Sorry, what is overwriting k and beta? How should I correct it
? Thanks.