"Shooting" the Euler equation

Processing.org optimization of k_1, given k_0 and k^* for UCLA's Econ 202A PS4Comp. Notice the attractive equilibrium at the top of the screen (corresponding to 0-division in the solution to the steady state of the Euler equation). Results could have been tighter, but since Processing's internal functions are all in terms of floats (and I didn't see any reason to redo them for doubles), some accuracy is sacrificed -- especially since each subsequent iteration is a division by 2, in some ...
Tags: processing euler atkeson















