<!DOCTYPE KigDocument>
<KigDocument axes="1" grid="1" CompatibilityVersion="0.7.0" Version="0.90.1" >
 <CoordinateSystem>Euclidean</CoordinateSystem>
 <Hierarchy>
  <Data type="int" id="1" >1</Data>
  <Data type="point" id="2" >
   <x>0.475644</x>
   <y>2.29401</y>
  </Data>
  <Data type="string" id="3" >y = A sin (w x + f)</Data>
  <Object type="Label" id="4" >
   <Parent id="1" />
   <Parent id="2" />
   <Parent id="3" />
  </Object>
  <Data type="double" id="5" >-2</Data>
  <Data type="double" id="6" >-0.013263</Data>
  <Data type="int" id="7" >0</Data>
  <Data type="double" id="8" >-3</Data>
  <Data type="double" id="9" >-0.0133038</Data>
  <Data type="double" id="10" >0.681519</Data>
  <Data type="double" id="11" >0.333333</Data>
  <Data type="double" id="12" >0.537385</Data>
  <Data type="double" id="13" >-2.25211</Data>
  <Data type="string" id="14" >A=%1</Data>
  <Data type="string" id="15" >%1</Data>
  <Data type="double" id="16" >4</Data>
  <Data type="double" id="17" >-4.44089e-16</Data>
  <Data type="int" id="18" >0</Data>
  <Data type="double" id="19" >-0.340351</Data>
  <Data type="double" id="20" >-3</Data>
  <Data type="double" id="21" >0</Data>
  <Object type="FixedPoint" id="22" >
   <Parent id="16" />
   <Parent id="8" />
  </Object>
  <Data type="double" id="23" >-2.27864</Data>
  <Data type="int" id="24" >1</Data>
  <Data type="double" id="25" >0.55807</Data>
  <Data type="string" id="26" >phi=%1</Data>
  <Object type="FixedPoint" id="27" >
   <Parent id="5" />
   <Parent id="20" />
  </Object>
  <Object type="SegmentAB" id="28" >
   <Parent id="27" />
   <Parent id="22" />
  </Object>
  <Data type="double" id="29" >-0.013263</Data>
  <Data type="double" id="30" >3.90281</Data>
  <Data type="double" id="31" >-0.0117432</Data>
  <Data type="int" id="32" >0</Data>
  <Object type="FixedPoint" id="33" >
   <Parent id="30" />
   <Parent id="23" />
  </Object>
  <Data type="point" id="34" >
   <x>0</x>
   <y>0</y>
  </Data>
  <Object type="ConstrainedPoint" id="35" >
   <Parent id="11" />
   <Parent id="28" />
  </Object>
  <Object type="RelativePoint" id="36" >
   <Parent id="29" />
   <Parent id="25" />
   <Parent id="35" />
  </Object>
  <Property which="coordinate-x" id="37" >
   <Parent id="35" />
  </Property>
  <Object type="Label" id="38" >
   <Parent id="7" />
   <Parent id="36" />
   <Parent id="26" />
   <Parent id="37" />
  </Object>
  <Property which="kig_value" id="39" >
   <Parent id="38" />
  </Property>
  <Object type="ConstrainedPoint" id="40" >
   <Parent id="12" />
   <Parent id="28" />
  </Object>
  <Object type="RelativePoint" id="41" >
   <Parent id="17" />
   <Parent id="21" />
   <Parent id="40" />
  </Object>
  <Property which="coordinate-x" id="42" >
   <Parent id="40" />
  </Property>
  <Object type="Label" id="43" >
   <Parent id="32" />
   <Parent id="41" />
   <Parent id="14" />
   <Parent id="42" />
  </Object>
  <Property which="kig_value" id="44" >
   <Parent id="43" />
  </Property>
  <Data type="string" id="45" >def calc( arg1, arg2, arg3, arg4 ):
	# Calculate whatever you want to show here, and return it.
	# For example, to return one half of the input number,
	# you would put this code here:
	#	return DoubleObject( arg1.value()/ 2 )
	# Please refer to the manual for more information.

	x = arg1.value()
	A = arg2.value()
	omega = arg3.value()
	phi = arg4.value()
	y = A*sin(omega*x + phi)
	return DoubleObject(y)
</Data>
  <Object type="PythonCompileType" id="46" >
   <Parent id="45" />
  </Object>
  <Data type="string" id="47" >omega=%1</Data>
  <Data type="double" id="48" >-3.7367</Data>
  <Object type="FixedPoint" id="49" >
   <Parent id="48" />
   <Parent id="13" />
  </Object>
  <Object type="LineAB" id="50" >
   <Parent id="49" />
   <Parent id="33" />
  </Object>
  <Object type="ConstrainedPoint" id="51" >
   <Parent id="10" />
   <Parent id="50" />
  </Object>
  <Property which="coordinate-x" id="52" >
   <Parent id="51" />
  </Property>
  <Object type="RelativePoint" id="53" >
   <Parent id="9" />
   <Parent id="31" />
   <Parent id="51" />
  </Object>
  <Object type="Label" id="54" >
   <Parent id="18" />
   <Parent id="53" />
   <Parent id="15" />
   <Parent id="52" />
  </Object>
  <Data type="hierarchy" id="55" >
   <input requirement="point" id="1" />
   <input requirement="double" id="2" />
   <input requirement="double" id="3" />
   <input requirement="int" id="4" />
   <input requirement="string" id="5" />
   <input requirement="any" id="6" />
   <input requirement="any" id="7" />
   <input requirement="any" id="8" />
   <input requirement="int" id="9" />
   <input requirement="point" id="10" />
   <input requirement="string" id="11" />
   <intermediate action="calc" type="RelativePoint" id="12" >
    <arg>2</arg>
    <arg>3</arg>
    <arg>1</arg>
   </intermediate>
   <intermediate action="fetch-property" property="coordinate-x" id="13" >
    <arg>1</arg>
   </intermediate>
   <intermediate action="calc" type="Label" id="14" >
    <arg>4</arg>
    <arg>12</arg>
    <arg>5</arg>
    <arg>13</arg>
   </intermediate>
   <intermediate action="push" type="string" id="15" >def calc( arg1, arg2, arg3, arg4 ):
	# Calculate whatever you want to show here, and return it.
	# For example, to return one half of the input number,
	# you would put this code here:
	#	return DoubleObject( arg1.value()/ 2 )
	# Please refer to the manual for more information.

	x = arg1.value()
	A = arg2.value()
	omega = arg3.value()
	phi = arg4.value()
	y = A*sin(omega*x + phi)
	return DoubleObject(y)
</intermediate>
   <intermediate action="calc" type="PythonCompileType" id="16" >
    <arg>15</arg>
   </intermediate>
   <intermediate action="calc" type="PythonExecuteType" id="17" >
    <arg>16</arg>
    <arg>14</arg>
    <arg>6</arg>
    <arg>7</arg>
    <arg>8</arg>
   </intermediate>
   <intermediate action="calc" type="Label" id="18" >
    <arg>9</arg>
    <arg>10</arg>
    <arg>11</arg>
    <arg>17</arg>
   </intermediate>
   <result action="calc" type="PointByCoordinates" id="19" >
    <arg>14</arg>
    <arg>18</arg>
   </result>
  </Data>
  <Data type="string" id="56" >%1</Data>
  <Data type="int" id="57" >0</Data>
  <Data type="double" id="58" >0.478991</Data>
  <Object type="ConstrainedPoint" id="59" >
   <Parent id="58" />
   <Parent id="28" />
  </Object>
  <Property which="coordinate-x" id="60" >
   <Parent id="59" />
  </Property>
  <Object type="RelativePoint" id="61" >
   <Parent id="6" />
   <Parent id="19" />
   <Parent id="59" />
  </Object>
  <Object type="Label" id="62" >
   <Parent id="57" />
   <Parent id="61" />
   <Parent id="47" />
   <Parent id="60" />
  </Object>
  <Object type="PythonExecuteType" id="63" >
   <Parent id="46" />
   <Parent id="54" />
   <Parent id="43" />
   <Parent id="62" />
   <Parent id="38" />
  </Object>
  <Property which="kig_value" id="64" >
   <Parent id="62" />
  </Property>
  <Data type="string" id="65" >y = %1 sin (%2 x + %3)</Data>
  <Data type="point" id="66" >
   <x>0.475644</x>
   <y>1.81083</y>
  </Data>
  <Object type="Label" id="67" >
   <Parent id="24" />
   <Parent id="66" />
   <Parent id="65" />
   <Parent id="44" />
   <Parent id="64" />
   <Parent id="39" />
  </Object>
  <Data type="int" id="68" >0</Data>
  <Object type="Locus" id="69" >
   <Parent id="55" />
   <Parent id="50" />
   <Parent id="9" />
   <Parent id="31" />
   <Parent id="18" />
   <Parent id="15" />
   <Parent id="43" />
   <Parent id="62" />
   <Parent id="38" />
   <Parent id="68" />
   <Parent id="34" />
   <Parent id="56" />
  </Object>
  <Object type="Label" id="70" >
   <Parent id="68" />
   <Parent id="34" />
   <Parent id="56" />
   <Parent id="63" />
  </Object>
  <Object type="PointByCoordinates" id="71" >
   <Parent id="54" />
   <Parent id="70" />
  </Object>
 </Hierarchy>
 <View>
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="67" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="4" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="false" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="51" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="false" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="50" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="38" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="false" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="54" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="false" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="71" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="70" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="40" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="false" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="49" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="27" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="62" />
  <Draw width="3" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#000000" font="Sans,10,-1,5,50,0,0,0,0,0" object="69" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="28" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="false" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="33" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="35" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="59" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="43" />
  <Draw width="-1" point-style="Round" namecalcer="none" style="SolidLine" shown="true" color="#0000ff" font="Sans,10,-1,5,50,0,0,0,0,0" object="22" />
 </View>
</KigDocument>
