Mary Shelly was writing practically the first SF , Frankenstein: or, The Modern Prometheus when Ada was a baby...
First Scientist & Electricity in fiction? (Volta invented Electric battery in about 1799 and wrote refutation of Galvanism, or Animal Electricity, such which was obviously an idea for animating the monster.).
It's a great pity that Babbage chose the mechanical calculator route rather than electrical relays, which would have been possible. (c.f. Conrad Zuse and Z1). The Babbage design wasn't really manufacturable with the machine tools of the time.
In 1814, Mary began a romance with one of her father’s political followers, the then married Percy Bysshe Shelley. Together with Mary's stepsister Claire Clairmont, Mary and Shelley left for France and traveled through Europe. Upon their return to England, Mary was pregnant with Percy's child. Over the next two years, she and Percy faced ostracism, constant debt, and the death of their prematurely born daughter. They married in late 1816, after the suicide of Percy Shelley's first wife, Harriet.
In 1816, the couple famously spent a summer with Lord Byron, John William Polidori, and Claire Clairmont near Geneva, Switzerland, where Mary conceived the idea for her novel Frankenstein. The Shelleys left Britain in 1818 for Italy, where their second and third children died before Mary Shelley gave birth to her last and only surviving child, Percy Florence Shelley. In 1822, her husband drowned when his sailing boat sank during a storm near Viareggio. A year later, Mary Shelley returned to England and from then on devoted herself to the upbringing of her son and a career as a professional author. The last decade of her life was dogged by illness, probably caused by the brain tumour that was to kill her at the age of 53.