THE figures are well known: At Apple 20 percent of tech jobs are held by women and at Google, only 17 percent. A report by the Congressional Joint Economic Committee estimates that nationwide about 14 percent of engineers in the work force are women.

As a woman with a Ph.D. in biomedical engineering, I look at those numbers with despair.

Why are there so few female engineers? Many reasons have been offered: workplace sexism, a lack of female role models, stereotypes regarding women’s innate technical incompetency, the difficulties of combining tech careers with motherhood. Proposed fixes include mentor programs, student support groups and targeted recruitment efforts. Initiatives have begun at universities and corporations, including Intel’s recent $300 million diversity commitment.

But maybe one solution is much simpler, and already obvious. An experience here at the University of California, Berkeley, where I teach, suggests that if the content of the work itself is made more societally meaningful, women will enroll in droves. That applies not only to computer engineering but also to more traditional, equally male-dominated fields like mechanical and chemical engineering.

I work at the Blum Center for Developing Economies, which recently began a new program that, without any targeted outreach, achieved 50 percent female enrollment in just one academic year. In the fall of 2014, U.C. Berkeley began offering a new Ph.D. minor in development engineering for students doing thesis work on solutions for low-income communities. Half of the students enrolled in the inaugural class are women. They are designing affordable solutions for clean drinking water, inventing medical diagnostic equipment for neglected tropical diseases and enabling local manufacturing in poor and remote regions.