recursive formula for pi stumbled upon

142 Views Asked by At

Looking for a function that would take a long time to test some multiprocess stuff, I calculated x'=sin(x)+x . To my surprise the values tend towards pi after only a few iterations, for all starting x I've tried less than 4. Why?