The given solution does not emit y_0 when t = 0, so something has gone awry. I reckon you need an extra minus sign and 1/y_0 rather than y_0.