Ada Lovelace studied mathematics despite the social strictures of her era. She contributed to, and documented, Babbage’s work before she died of cancer at the age of 36.