Interactive Normal Distribution and Standard Deviation
2016-06-12 04:14
This GeoGebra applet visually demonstrates the normal distribution curve and the impact of standard deviation. Users can dynamically adjust the standard deviation using numerical sliders to observe how the shape of the curve changes. Additionally, by dragging points along the x-axis, it calculates and displays the percentage of data falling within a specific number of standard deviations from the
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.240.0" id="19093c87-10ac-48ae-aba2-2cfc623770e6" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="611" height="584" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.32733224222585927" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="551,163,700,550" />
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1,1,1" size="500" window="100,100,600,400" />
<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="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="600" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="200" window="100,100,250,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="70" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 39 | 1 501 67 , 5 19 , 72 75 76 | 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 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="2"/>
<font size="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="600" height="451"/>
<coordSystem xZero="288.3750000000001" yZero="368.7499999999996" scale="168.75000000000006" yscale="168.74999999999983"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" 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="0"/>
<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"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<expression label ="line01" exp="line01(x, y) = y < (-x) + 0.7"/>
<element type="functionNVar" label="line01">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="51" b="153" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
</element>
<expression label ="line02" exp="line02(x, y) = y > (-(x + 0.13629629629629636)) + 0.7"/>
<element type="functionNVar" label="line02">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
</element>
<command name="Vector">
<input a0="(-1.5, -0.1)" a1="(-1.5, 2.1)"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="true" label="false" ev="4"/>
<objColor r="224" g="224" b="224" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0.0" y="2.2" z="0.0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint x="-1.5" y="-0.1" z="1.0"/>
</element>
<element type="point" label="A">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.5548148148148153" y="1.6577777777777771" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="A + (0.9, 0)"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="127" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0.0" y="0.9000000000000001" z="-1.4919999999999995"/>
<lineStyle thickness="20" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Point">
<input a0="h"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.6022222222222228" y="1.657777777777777" z="1.0"/>
<pointSize val="1"/>
<pointStyle val="2"/>
</element>
<command name="Circle">
<input a0="B" a1="0.07"/>
<output a0="c"/>
</command>
<element type="conic" label="c">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="1.0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="3.105998765432097" A3="0.0" A4="-0.6022222222222228" A5="-1.657777777777777"/>
<eqnStyle style="specific"/>
</element>
<command name="Circle">
<input a0="B" a1="0.09"/>
<output a0="d"/>
</command>
<element type="conic" label="d">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="127" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="3.1027987654320968" A3="0.0" A4="-0.6022222222222228" A5="-1.657777777777777"/>
<eqnStyle style="specific"/>
</element>
<expression label="σ" exp="(2 * (x(B) - x(A))) + 0.2" />
<element type="numeric" label="σ">
<value val="0.2948148148148149"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Normal">
<input a0="0" a1="σ" a2="x"/>
<output a0="f"/>
</command>
<element type="function" label="f">
<show object="false" label="false" ev="4"/>
<objColor r="153" g="51" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
</element>
<expression label="p" exp="p(x) = If[-1.5 ≤ x ≤ 1.5, f(x)]" />
<element type="function" label="p">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="3"/>
<labelMode val="0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
</element>
<command name="Vector">
<input a0="(-1.6, -0.03)" a1="(1.6, -0.03)"/>
<output a0="g"/>
</command>
<element type="vector" label="g">
<show object="true" label="false"/>
<objColor r="224" g="224" b="224" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="3.2" y="0.0" z="0.0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint x="-1.6" y="-0.03" z="1.0"/>
</element>
<command name="Segment">
<input a0="(0, -0.03)" a1="(1.3, -0.03)"/>
<output a0="i"/>
</command>
<element type="segment" label="i">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="3"/>
<labelMode val="0"/>
<coords x="0.0" y="1.3" z="0.039"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Point">
<input a0="i"/>
<output a0="C"/>
</command>
<element type="point" label="C">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.0"/>
<layer val="3"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.5785185185185191" y="-0.029999999999999992" z="1.0"/>
<pointSize val="9"/>
<pointStyle val="6"/>
</element>
<expression label="s" exp="x(C)" />
<element type="numeric" label="s">
<value val="0.5785185185185191"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Integral">
<casMap>
<entry key="Integral[ℯ^(((-(x - 0)²)) / ((σ² 2))) / ((abs(σ) sqrt((π 2)))),x]" val="((-1 / 2 * σ^(2)) * erf((((-sqrt(2)) * x) * abs(σ) / ((2 * σ^(2))))) / σ^(2)) + 0"/>
</casMap>
<input a0="f" a1="(-s)" a2="s"/>
<output a0="a"/>
</command>
<element type="numeric" label="a">
<value val="0.9502737775829"/>
<show object="true" label="true"/>
<objColor r="191" g="255" b="0" alpha="1.0"/>
<layer val="3"/>
<labelMode val="2"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<expression label="b" exp="s / σ" />
<element type="numeric" label="b">
<value val="1.962311557788946"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="text1" exp=""" + b + "個標準差"" />
<element type="text" label="text1">
<show object="true" label="false" ev="40"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<bgColor r="127" g="0" b="255" alpha="255"/>
<layer val="3"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<startPoint exp="C"/>
<labelOffset x="-25" y="38"/>
</element>
<expression label="text2" exp=""佔總數的" + ((a * 100)) + "%"" />
<element type="text" label="text2">
<show object="true" label="false" ev="8"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<bgColor r="96" g="96" b="96" alpha="255"/>
<layer val="3"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<startPoint x="-1.273333333333333" y="0.730370370370367" z="1.0"/>
</element>
<expression label="text3" exp=""◄小""/>
<element type="text" label="text3">
<show object="true" label="false" ev="40"/>
<objColor r="255" g="192" b="203" alpha="0.0"/>
<layer val="3"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="2.0" size="12" style="0"/>
<startPoint x="0.5222222222222216" y="1.40962962962963" z="1.0"/>
</element>
<expression label="text3_1" exp=""大►""/>
<element type="text" label="text3_1">
<show object="true" label="false" ev="40"/>
<objColor r="255" g="192" b="203" alpha="0.0"/>
<layer val="3"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="2.0" size="12" style="0"/>
<startPoint x="1.23037" y="1.40963" z="1.0"/>
</element>
<expression label="text4" exp=""標準差""/>
<element type="text" label="text4">
<show object="true" label="false" ev="40"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<bgColor r="127" g="0" b="255" alpha="255"/>
<layer val="3"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="12" style="0"/>
<startPoint x="0.8214814814814821" y="1.9125925925925922" z="1.0"/>
</element>
</construction>
</geogebra>