Text this: Numerical solution of differential equations through empirical eigenfunction expansions