In experiments using eg Canadian pondweed, you can immerse the green weed in sodium hydrogencarbonate solution to supply the carbon dioxide (one variable) needed for photosynthesis. The other two photosynthesis rate variables are temperature and light intensity.