Normal Distribution Curves and Area Calculation
2014-11-04 02:46
This GeoGebra applet demonstrates normal distribution curves and area calculations. By inputting the mean and standard deviation, users can dynamically observe curve changes and use integrals to calculate probability areas. It also supports Z-distribution transformations, helping to intuitively understand core concepts in probability and statistics.
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="4.0" id="094f21fa-bbb0-4d08-a546-0c71facbd5ab" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1368" height="768" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.17690058479532164" orientation="1" />
</panes>
<views>
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="1366" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="242" window="100,100,250,400" />
<view id="16" visible="false" inframe="true" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" visible="false" inframe="true" stylebar="false" location="1" size="150" window="50,50,782,640" />
</views>
<toolbar show="true" items="0 39 59 || 1 501 67 , 5 19 , 72 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 || 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 || 36 46 , 38 49 50 , 71 | 30 29 54 32 31 33 | 17 26 62 , 14 66 68 | 25 52 60 61 || 40 41 42 , 27 28 35 , 6" />
<input show="true" cmd="true" top="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="18"/>
<graphicsSettings javaLatexFonts="false"/>
<consProtColumns col0="true" col1="true" col2="false" col3="true" col4="false" col5="true" col6="true" col7="false"/>
<consProtocol useColors="true" addIcons="false" showOnlyBreakpoints="false"/>
</gui>
<euclidianView>
<size width="1366" height="602"/>
<coordSystem xZero="167.00000000000406" yZero="474.0000000000004" scale="10.879999999999836" yscale="465.0000000000004"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="13" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="10"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<decimals val="4"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="σ">
<value val="1.0"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="5" absoluteScreenLocation="true" width="300.0" x="335.0" y="93.0" fixed="false" horizontal="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.01" speed="1" type="0" playing="false"/>
</element>
<expression label ="n" exp="n(x) = ℯ^((-x^(2)) / 2) / (sqrt(2 * π) * abs(1))"/>
<element type="function" label="n">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
</element>
<element type="numeric" label="μ">
<value val="0.0"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-10" max="70" absoluteScreenLocation="true" width="300.0" x="336.0" y="46.0" fixed="false" horizontal="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label="f" exp="f(x) = exp((-((x - μ) / σ)^(2)) / 2) / (sqrt(2 * π) * abs(σ))" />
<element type="function" label="f">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
</element>
<command name="Textfield">
<input a0="μ"/>
<output a0="inputBox1"/>
</command>
<element type="textfield" label="inputBox1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="215" y="34"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<linkedGeo exp="μ"/>
<length val="5"/>
<caption val="μ="/>
</element>
<command name="Textfield">
<input a0="σ"/>
<output a0="inputBox2"/>
</command>
<element type="textfield" label="inputBox2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="214" y="78"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<linkedGeo exp="σ"/>
<length val="5"/>
<caption val="σ="/>
</element>
<command name="Point">
<input a0="xAxis"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="true" label="false"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-10" y="42"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="30.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Integral">
<input a0="f" a1="μ - 4 * σ" a2="x(B)"/>
<output a0="Area_x"/>
</command>
<element type="numeric" label="Area_x">
<value val="0.9999683287581477"/>
<show object="true" label="false"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="0" alpha="0.25"/>
<layer val="0"/>
<labelOffset x="-9" y="-24"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<expression label="Z_x" exp="((x(B) - μ) / σ, 0)" type="point" />
<element type="point" label="Z_x">
<show object="true" label="false"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-10" y="50"/>
<labelMode val="0"/>
<coords x="30.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Integral">
<input a0="n" a1="-4" a2="x(Z_x)"/>
<output a0="Area_z"/>
</command>
<element type="numeric" label="Area_z">
<value val="0.9999683287581477"/>
<show object="true" label="true"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="255" alpha="0.25"/>
<layer val="0"/>
<labelOffset x="76" y="-24"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<caption val="P(X<b)"/>
</element>
<element type="boolean" label="a">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="5"/>
<labelOffset x="211" y="125"/>
<labelMode val="0"/>
<caption val="Areas"/>
</element>
<expression label="X" exp="x(B)" />
<element type="numeric" label="X">
<value val="30.0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="LaTeX">
<input a0="X" a1="true" a2="true"/>
<output a0="text1"/>
</command>
<element type="text" label="text1">
<show object="true" label="false"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="5"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" size="0" style="0"/>
<decimals val="1"/>
<startPoint exp="B"/>
<labelOffset x="-35" y="25"/>
</element>
<expression label="Z" exp="x(Z_x)" />
<element type="numeric" label="Z">
<value val="30.0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="LaTeX">
<input a0="Z" a1="true" a2="true"/>
<output a0="text2"/>
</command>
<element type="text" label="text2">
<show object="true" label="false"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="5"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" size="0" style="0"/>
<decimals val="2"/>
<startPoint exp="Z_x"/>
<labelOffset x="-45" y="24"/>
</element>
</construction>
</geogebra>