Usually girls weren't encouraged to go to college and major in math and science. My high school calculus teacher Ms. Paz Jensen made math appealing and motivated me to continue studying it in college.
If you think of a work of fiction as a kind of scale model of the world then the positive valences - where things turn out better than you thought they would - ought to be in there somewhere too.