{"base":{"id":"great-babbage","subject":"Computing","title":"Charles Babbage: the Difference Engine","scene":"gs4","steps":[{"mode":"portrait","photo":"/scientists/babbage.jpg","plaque":"Charles Babbage · 1791–1871","eyebrow":"Meet the scientist","title":"The man who hated mistakes","body":"Charles Babbage was born in 1791 in London. He was a mathematician who was furious about errors in printed number tables. So he designed machines of brass gears to calculate them: the first plans for mechanical computers."},{"mode":"babTables","eyebrow":"The problem","title":"Tables full of mistakes","body":"Sailors, engineers and bankers used books of number tables worked out by people called 'computers'. People get tired and make slips. Use differences to check this table of squares and find the misprint.","actions":[{"id":"diff1","label":"Work out differences"},{"id":"diff2","label":"2nd differences"},{"id":"fix","label":"Fix the mistake"}]},{"mode":"babDiff","eyebrow":"1822 · The Difference Engine","title":"A machine that only adds","body":"Babbage's trick: the differences between square numbers go up by 2 each time. So squares can be made by adding alone. Each column of wheels holds a number. Turn the crank and watch.","actions":[{"id":"crank","label":"Turn the crank"},{"id":"reset","label":"Reset"}]},{"mode":"babCube","eyebrow":"More columns, harder sums","title":"Cubes need three differences","body":"For cube numbers (1, 8, 27…) the third differences are always 6. With one more column, the same adding machine makes cubes. His Difference Engine No. 2 had eight columns of 31 digits.","actions":[{"id":"crank","label":"Turn the crank"},{"id":"reset","label":"Reset"}]},{"mode":"quiz","look":"babDiff","eyebrow":"Check yourself","title":"How does the engine work?","body":"The Difference Engine works out a table such as 1, 4, 9, 16, 25… with brass wheels.","question":"Which sum does it use?","options":["Only adding","Only multiplying","Only dividing"],"answer":0,"right":"Correct. By adding differences again and again, it builds the whole table.","wrong":"Not quite. Look at what happens to each column when you turn the crank."}],"more":[{"type":"profile","id":"profile","eyebrow":"Fact file","title":"Charles Babbage at a glance","photo":"/scientists/babbage.jpg","alt":"Black-and-white photograph of Charles Babbage in a dark coat, 1860","credit":"Photograph, 1860, photographer unknown (public domain), via Wikimedia Commons.","lead":"Babbage designed the Difference Engine to print error-free tables, and later the Analytical Engine, a general-purpose computer. Neither was finished in his lifetime, but a Difference Engine built from his plans in 1991 works perfectly.","facts":[{"label":"Born","value":"26 December 1791","note":"London, England","color":"#0f8a63"},{"label":"Died","value":"18 October 1871","note":"London, aged 79","color":"#be185d"},{"label":"Professor","value":"Lucasian, Cambridge","note":"1828–1839, Newton's old post","color":"#5b3fe0"},{"label":"Famous for","value":"Difference Engine","note":"first designed in 1822","color":"#c2410c"},{"label":"Built at last","value":"1991","note":"Science Museum, London","color":"#2563eb"},{"label":"Its size","value":"8,000 parts","note":"about 5 tonnes","color":"#b45309"}]},{"type":"timeline","id":"timeline","eyebrow":"His life","title":"Babbage, year by year","intro":"Tap an era to show only that part of his life.","allLabel":"All","eras":[{"id":"young","name":"Young mathematician","color":"#0b6e8a"},{"id":"engine","name":"The engines","color":"#3a7d17"},{"id":"late","name":"Later years and legacy","color":"#be185d"}],"items":[{"year":"1791","era":"young","title":"Born in London","body":"Son of a banker. He was often ill as a child and was partly taught at home."},{"year":"1812","era":"young","title":"The Analytical Society","body":"At Cambridge he and his friends, including John Herschel, formed a club to bring modern maths from Europe to Britain."},{"year":"1822","era":"engine","title":"The first design","body":"Checking tables with Herschel and finding many errors, he planned a machine to calculate and print them."},{"year":"1832","era":"engine","title":"A working piece","body":"With engineer Joseph Clement he built a small working section of the Difference Engine. The full machine was never finished."},{"year":"1834","era":"engine","title":"The Analytical Engine","body":"He began designing a far bigger machine that could be programmed with punched cards. Ada Lovelace wrote about it in 1843."},{"year":"1847","era":"engine","title":"Difference Engine No. 2","body":"Between 1847 and 1849 he drew a simpler, better design that used fewer parts."},{"year":"1871","era":"late","title":"Death in London","body":"He died aged 79. Half of his brain is kept at the Science Museum in London."},{"year":"1991","era":"late","title":"Built at last","body":"For his 200th birthday the Science Museum finished Difference Engine No. 2 from his drawings. Its printer followed in 2002. It works."}]},{"type":"gifts","id":"gifts","eyebrow":"His legacy","title":"What Babbage gave the world","items":[{"year":"1822","title":"The Difference Engine","body":"A machine to calculate number tables automatically by adding differences.","today":"Showed that machines could do reliable maths.","color":"#5b3fe0"},{"year":"1834","title":"The Analytical Engine","body":"A design with a memory ('store'), a processor ('mill') and punched-card programs.","today":"The same basic parts as every modern computer.","color":"#2563eb"},{"year":"1832","title":"Economy of Machinery","body":"A book about how factories and machines work best.","today":"An early classic of management and economics.","color":"#be185d"},{"year":"1991","title":"Proof it works","body":"The engine built from his plans calculates correctly.","today":"You can see it in the Science Museum, London.","color":"#c2410c"}]},{"type":"cards","id":"myths","eyebrow":"Myth or fact?","title":"Stories about Babbage","intro":"Tap a popular story to see what historians say.","items":[{"tag":"Popular story","title":"Babbage built the first computer.","body":"He designed it, but never finished building a full engine. His plans were far ahead of what workshops of the time could easily make, and money ran out."},{"tag":"Popular story","title":"His engines could never have worked.","body":"Wrong. In 1991 engineers built Difference Engine No. 2 using only accuracy possible in his time, and it calculates without mistakes."},{"tag":"Fact","title":"He hated street music.","body":"True. He campaigned against noisy street musicians in London, which made him very unpopular in his street."}]},{"type":"quiz","id":"quiz","eyebrow":"Check yourself","title":"Quick quiz","intro":"Pick an answer. Wrong answers can be tried again.","questions":[{"question":"Why did Babbage want a calculating machine?","options":["Printed tables had errors","To play games","To send messages"],"answer":0,"right":"Correct. Human computers made mistakes.","wrong":"Not quite. Think about the first lab."},{"question":"The differences of 1, 4, 9, 16, 25 are 3, 5, 7, 9. What are the 2nd differences?","options":["Always 1","Always 2","Always 3"],"answer":1,"right":"Correct. That's why adding works.","wrong":"Not quite. Subtract 3 from 5, 5 from 7…"},{"question":"When was Difference Engine No. 2 finally built?","options":["1871","1946","1991"],"answer":2,"right":"Correct. For his 200th birthday.","wrong":"Not quite. It was almost 120 years after his death."},{"question":"Who wrote about the Analytical Engine in 1843?","options":["Ada Lovelace","Michael Faraday","Charles Darwin"],"answer":0,"right":"Correct. Her notes include a program for it.","wrong":"Not quite. She has her own lesson in this course."},{"question":"Which famous Cambridge post did Babbage hold?","options":["Lucasian Professor","Royal Astronomer","Prime Minister"],"answer":0,"right":"Correct. Newton once held it too.","wrong":"Not quite. It's a maths professorship."}]},{"type":"checklist","id":"can-explain","eyebrow":"Your progress","title":"I can explain…","items":["when and where Babbage was born, and when he died","why printed tables had mistakes","how differences let a machine make a table by adding only","the difference between the Difference Engine and the Analytical Engine","how we know his designs work"]},{"type":"keywords","id":"keywords","eyebrow":"Words to know","title":"Key words","items":[{"word":"Difference","meaning":"What you get by subtracting one number in a list from the next."},{"word":"Method of differences","meaning":"Making a table by repeatedly adding differences."},{"word":"Difference Engine","meaning":"Babbage's machine for calculating and printing tables."},{"word":"Analytical Engine","meaning":"His later design for a programmable, general-purpose computer."},{"word":"Human computer","meaning":"Before machines, a person whose job was to do calculations."},{"word":"Crank","meaning":"A handle you turn to drive a machine."}]},{"type":"sources","id":"sources","title":"Sources","items":["Charles Babbage, Wikipedia: https://en.wikipedia.org/wiki/Charles_Babbage","Difference engine, Wikipedia: https://en.wikipedia.org/wiki/Difference_engine","Difference Engine No. 2, Science Museum Group collection: https://collection.sciencemuseumgroup.org.uk/objects/co526657/difference-engine-no-2","The Babbage Engine: A Modern Sequel, Computer History Museum: https://www.computerhistory.org/babbage/modernsequel/","Photograph (1860), Wikimedia Commons, public domain."]}]},"overlay":null}