The Association between Motivation, Affect, and Self-regulated Learning When Solving Problems · Study