Integrating literature and math