Text this: A Galerkin-like approach to solve continuous population models for single and interacting species