Photosynthesis as an equation