Text this: Solution of Riccati equation