<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://e-learning.pan-training.eu/wiki/index.php?action=history&amp;feed=atom&amp;title=Problem%3A_Estimating_the_circle_area</id>
	<title>Problem: Estimating the circle area - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://e-learning.pan-training.eu/wiki/index.php?action=history&amp;feed=atom&amp;title=Problem%3A_Estimating_the_circle_area"/>
	<link rel="alternate" type="text/html" href="https://e-learning.pan-training.eu/wiki/index.php?title=Problem:_Estimating_the_circle_area&amp;action=history"/>
	<updated>2026-04-23T12:20:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://e-learning.pan-training.eu/wiki/index.php?title=Problem:_Estimating_the_circle_area&amp;diff=993&amp;oldid=prev</id>
		<title>Wikiadmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://e-learning.pan-training.eu/wiki/index.php?title=Problem:_Estimating_the_circle_area&amp;diff=993&amp;oldid=prev"/>
		<updated>2020-02-18T22:15:11Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:15, 18 February 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wikiadmin</name></author>
	</entry>
	<entry>
		<id>https://e-learning.pan-training.eu/wiki/index.php?title=Problem:_Estimating_the_circle_area&amp;diff=992&amp;oldid=prev</id>
		<title>ucph&gt;Tommy: Created page with &quot;Construct a simulation with a square neutron source, which emits neutrons in a preferred direction. Focus the source output to a position-sensitive detector, which is much fur...&quot;</title>
		<link rel="alternate" type="text/html" href="https://e-learning.pan-training.eu/wiki/index.php?title=Problem:_Estimating_the_circle_area&amp;diff=992&amp;oldid=prev"/>
		<updated>2019-07-14T21:35:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Construct a simulation with a square neutron source, which emits neutrons in a preferred direction. Focus the source output to a position-sensitive detector, which is much fur...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Construct a simulation with a square neutron source, which emits neutrons in a preferred direction. Focus the source output to a position-sensitive detector, which is much further away than the source size. Verify that the detector is completely illuminated, but that still all emitted neutrons rays are detected. Then place a circular slit very close to the detector. &lt;br /&gt;
&lt;br /&gt;
Use your results to estimate the value of \(\pi\). Perform the simulations for a varying number of neutron rays, \(N\), in the interval \(10^4 - 10^8\). Make a few simulations for each value of \(N\). Determine how the simulation uncertainty depends on \(N\). &lt;br /&gt;
&lt;br /&gt;
{{hidden begin|toggle=right|title=Hint|titlestyle=background:#ccccff}}&lt;br /&gt;
See the [[Monte Carlo simulation of neutron instrumentation]] page.&lt;br /&gt;
{{hidden end}}&lt;br /&gt;
&lt;br /&gt;
{{hidden begin|toggle=right|title=Solution|titlestyle=background:#ccccff}}&lt;br /&gt;
The simulation setup is shown in the left panel of &amp;lt;xr id=&amp;quot;fig:circle_instr&amp;quot;&amp;gt;Figure %i&amp;lt;/xr&amp;gt;. It is seen in the simulation result on the right panel of &amp;lt;xr id=&amp;quot;fig:circle_instr&amp;quot;&amp;gt;Figure %i&amp;lt;/xr&amp;gt; that the intensity in the monitor (before the circular slit) and detector (after the circular slit) is the same irrespective of the number of traced rays \(N\). However, the uncertainty in the simulated intensity decreases with increasing \(N\). The simulated number of rays hitting inside the circle is \(N_i\). For large \(N\) the simulation uncertainty of the number of rays hitting inside the circle \(\Delta N_i\) is approximately \(\sqrt{N_i}\). Hence for \(N = 10^8\), \(\Delta N_i = 10^4\), and the number of rays hitting inside the circle is \(N_i=0.7854 \pm 0.0001\cdot 10^8\). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure id=&amp;quot;fig:circle_instr&amp;quot;&amp;gt;&lt;br /&gt;
[[File: circle_instr.png| thumb | 400px | &amp;lt;caption&amp;gt;A visualisation of the used McStas instrument. One neutron ray (green) is traced in the image. Notice the aspect ratio of the axes.&amp;lt;/caption&amp;gt;]]&lt;br /&gt;
&amp;lt;/figure&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The ratio between the area of a unit circle and a square with the same width is \(A_c/A_s=\pi/4\), the value of \(\pi\) is hence estimated by the Monte Carlo simulation to be&lt;br /&gt;
&lt;br /&gt;
\(\pi=\dfrac{A_c}{A_s} \cdot 4 \quad\to\quad \dfrac{N_i}{N}\cdot 4=\dfrac{0.7854 \cdot 10^{8}}{1.0000\cdot 10^{8}} \cdot 4=3.1416\pm 0.0001 .\)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery id=&amp;quot;fig:sim&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--&amp;lt;figure id=&amp;quot;dummy&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;subfigure&amp;gt;--&amp;gt;&lt;br /&gt;
Image:Slit_1e4.png | &amp;lt;caption&amp;gt;McStas simulation using \(N=10^4\) rays showing that all rays hit a detector of area \(10\times10\) cm\(^2\) (left). Inserting a circular slit of diameter 10 cm reduces the number of neutrons to \(N=7839\) (right).&amp;lt;/caption&amp;gt;&amp;lt;!--&amp;lt;/subfigure&amp;gt;&lt;br /&gt;
&amp;lt;subfigure&amp;gt;--&amp;gt;&lt;br /&gt;
Image:Slit_1e6.png | &amp;lt;caption&amp;gt;McStas simulation using \(N=10^6\) rays showing that all rays hit a detector of area \(10\times10\) cm\(^2\) (left). Inserting a circular slit of diameter 10 cm reduces the number of neutrons to \(N=0.7839\times10^6\) (right).&amp;lt;/caption&amp;gt;&amp;lt;!--&amp;lt;/subfigure&amp;gt;&lt;br /&gt;
&amp;lt;subfigure&amp;gt;--&amp;gt;&lt;br /&gt;
Image:Slit_1e8.png | &amp;lt;caption&amp;gt;McStas simulation using \(N=10^8\) rays showing that all rays hit a detector of area \(10\times10\) cm\(^2\) (left). After the circular slit only \(N=0.785302\times10^8\) rays are left (right).&amp;lt;/caption&amp;gt;&amp;lt;!--&amp;lt;/subfigure&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;--&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
{{hidden end}}&lt;/div&gt;</summary>
		<author><name>ucph&gt;Tommy</name></author>
	</entry>
</feed>