Text this: Solution for nonlinear Riccati equation by block method