{"id":8608,"date":"2013-10-03T09:50:29","date_gmt":"2013-10-03T13:50:29","guid":{"rendered":"http:\/\/scienceblogs.com\/principles\/?p=8608"},"modified":"2013-10-03T09:50:29","modified_gmt":"2013-10-03T13:50:29","slug":"not-so-ancient-history-of-physics-monte-carlo-simulation-in-1960","status":"publish","type":"post","link":"http:\/\/chadorzel.com\/principles\/2013\/10\/03\/not-so-ancient-history-of-physics-monte-carlo-simulation-in-1960\/","title":{"rendered":"(Not-so-)Ancient History of Physics: Monte Carlo Simulation in 1960"},"content":{"rendered":"<p>We cleared a bunch of space in our deep storage area over the summer, and one of the things we found was a box full of old student theses from the 1950&#8217;s and 1960&#8217;s. The library already had copies of them, but I thought it was sort of cool to have a look into the past of the department, so we put them up on a shelf in the office. Yesterday, I was glancing over this, and spotted a thin volume, pictured in the &#8220;featured image&#8221; above, which was a Master&#8217;s thesis from 1960 (when we used to give MS degrees in physics&#8230;) titled &#8220;A Monte Carlo Study of Neutron Scintillation Detection with a Hydrogenous Crystal&#8221; by Edward Lantz and picked it up to look at.<\/p>\n<p>If you&#8217;re not familiar with the jargon, it might not seem like something worth a look, but the title is referring to the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Monte_Carlo_method\">Monte Carlo method<\/a>, which uses random numbers to predict the results of simulated experiments. You assign probabilities to the possible outcomes at each step of the simulation, then use a random number to pick one of those. You repeat this lots of times, and compile the results to get average trajectories and the like.<\/p>\n<p>This is, as you might imagine, somewhat computationally intensive. So when I saw &#8220;Monte Carlo simulation&#8221; and &#8220;1960&#8221; on the spine of this thesis, I said &#8220;What the hell? How did they do Monte Carlo simulations in 1960? With dice?&#8221;<\/p>\n<p>I was being a little unfair to 1960- they did have computers for this purpose, specifically an <a href=\"http:\/\/en.wikipedia.org\/wiki\/IBM_704\">IBM 704 computer<\/a>, capable of up to 4000 operations per second (it&#8217;s not clear whether this was at Union or elsewhere&#8211; the thesis has some gaps in its reporting of relevant information like that). They cite a 1956 publication from the Nuclear Division of the American Radiator and Standard Sanitary Corp. as the source of the code for their simulation. Reading this was a fun reminder of how different things used to be in the not all that distant past&#8211; the author was a <a href=\"http:\/\/articles.washingtonpost.com\/2011-06-13\/local\/35233839_1_nuclear-regulatory-commission-nasa-physics\">NASA scientist during the Apollo era<\/a>, and was about the age of my own grandparents.<\/p>\n<p>While they did have access to a computer for this work, there were some major differences in the approach. Unlike theorists of today, they didn&#8217;t write a specialized program to do the analysis, because:<\/p>\n<blockquote>\n<p>In recent years, it has been discovered that the development of a program, such as this, which not only works satisfactorily but also gives correct answers, is a formidable and time consuming job even for an experienced digital computer programmer.<\/p>\n<p>Thus if one is not an experiences programmer, and does not have the resources to have the theory programmed, he must resort to the second, and not wholly undesirable, method. this is to use a proven general program and to get the output in as close to the desired form as possible by making minor changes.<\/p>\n<\/blockquote>\n<p>So, basically, they used the output of a more general Monte Carlo program and re-interpreted its results in terms of the properties of the neutrons. The program they were using &#8220;prints out the number of neutrons from each type of collision for each energy interval of the incident neutron and each material.&#8221; They combine this with information about the position and direction of each individual neutron, &#8220;which can be obtained by converting the binary information which is stored on one of the tapes&#8221; (!!!) to determine the results.<\/p>\n<p>They repeated this 30,100 times (well, 100 runs of a simulation involving 301 neutrons), and compiled the results <em>by hand<\/em> to determine the number of neutrons they would be able to detect using this material as a scintillation detector. Most of the incident neutrons wet through without hitting anything, but they still ended up analyzing the results of 2340 collisions between incident neutrons and hydrogen atoms in their simulated sample. This would be a ridiculously small sample for such a project today, but let me repeat, they analyzed the collisions <em><strong>BY HAND<\/strong><\/em>.<\/p>\n<p>In large part because of these historical computing limitations, the acknowledgements are a really interesting read:<\/p>\n<blockquote>\n<p>M. S. Ketchum put the desired cross sections and energy intervals into the [General Monte Carlo] program. She laboriously key punched and set up numerous problems, deciphered computer memory stop locations and came up with corrections, merged output tapes, and reran problems.<\/p>\n<p>My wife counted and sorted thousands of collisions, and typed and retyped rough drafts.<\/p>\n<\/blockquote>\n<p>I&#8217;ll try to keep this stuff in mind the next time I find myself cursing at flaky VPython simulations. Because, really, as irritating as a lot of modern computing can be, it&#8217;s so much easier than it used to be that it&#8217;s not even funny.<\/p>\n<p>(Also, the obituary linked above suggested that he remained married to his collision-counting wife until his death in 2011, which is kind of nice to know&#8230;)<\/p>\n<p>Another interesting factor has to do with the document preparation. Not only does he acknowledge his wife&#8217;s typing, but:<\/p>\n<blockquote>\n<p>Rose Kabalian typed the <a href=\"http:\/\/www.britannica.com\/EBchecked\/topic\/660984\/multilith\">multilith<\/a> masters so we would not have to read blurred carbons.<\/p>\n<\/blockquote>\n<p>While Word can be maddening, I will try to remember to be thankful that I don&#8217;t have to read blurred carbon copies of important documents, because Oh. My. God. Also, check out the hand-drawn data graph:<\/p>\n<figure id=\"attachment_8610\" aria-describedby=\"caption-attachment-8610\" style=\"width: 550px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/scienceblogs.com\/principles\/files\/2013\/10\/1960MonteCarloGraph.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/files\/2013\/10\/1960MonteCarloGraph.jpg\" alt=\"Data figure from 1960 MS thesis on Monte Carlo simulations.\" width=\"550\" height=\"310\" class=\"size-full wp-image-8610\" srcset=\"http:\/\/chadorzel.com\/principles\/wp-content\/uploads\/2013\/10\/1960MonteCarloGraph.jpg 550w, http:\/\/chadorzel.com\/principles\/wp-content\/uploads\/2013\/10\/1960MonteCarloGraph-300x169.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-8610\" class=\"wp-caption-text\">Data figure from 1960 MS thesis on Monte Carlo simulations.<\/figcaption><\/figure>\n<p>I&#8217;m just barely old enough to have been required to learn traditional drafting in woodshop in the 8th grade&#8211; I think it was only a couple of years later that they discontinued that in favor of a &#8220;technology&#8221; course that didn&#8217;t involve actually doing anything. So I have some idea of just how much that sort of plotting would suck. And that&#8217;s one of at least 15 (sorry, XV&#8211; they&#8217;re labeled with Roman numerals for that extra touch of class) such figures.<\/p>\n<p>So, there you go. A tangible relic from the days when non-experienced programmers walked uphill through the snow to the lab to convert binary information from tapes and sort collisions by hand. Kids these days, be grateful for what you&#8217;ve got&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We cleared a bunch of space in our deep storage area over the summer, and one of the things we found was a box full of old student theses from the 1950&#8217;s and 1960&#8217;s. The library already had copies of them, but I thought it was sort of cool to have a look into the&hellip; <a class=\"more-link\" href=\"http:\/\/chadorzel.com\/principles\/2013\/10\/03\/not-so-ancient-history-of-physics-monte-carlo-simulation-in-1960\/\">Continue reading <span class=\"screen-reader-text\">(Not-so-)Ancient History of Physics: Monte Carlo Simulation in 1960<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":8609,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[451,80,7,11,138],"tags":[],"class_list":["post-8608","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computing","category-history_of_science","category-physics","category-science","category-theory","entry"],"_links":{"self":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/8608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/comments?post=8608"}],"version-history":[{"count":0,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/8608\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/media\/8609"}],"wp:attachment":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/media?parent=8608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/categories?post=8608"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/tags?post=8608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}