<?xml version="1.0"?>
<!DOCTYPE activity SYSTEM "escot.dtd" >
<activity escotVersion="1.2.4" name="Latisha the Llama" size="637,332" puzzle_id="11">
  <page name="Questions &#38; Answers">
    <help>
      <![CDATA[<html>
  <head>
  </head>
  

  <body>
    <p>
      
    </p>
  </body>
</html>
]]>
    </help>
    <component class="org.escot.demo.HTMLViewer" position="5,5" size="622,116" portid="HTMLViewer-1">
      <![CDATA[
<html>
<body>
<small>
You and Lester decide to go into business building llama pens, since
you had such great results with Latisha's pen. You want to create some general building guidelines to help in your business,
and need to know:<br>
<b>Given any length of fence, what proportion of height to width
will create a pen with the largest possible area?</b><br>
Experiment with the next three pages and come back to this page with the ideal
height/width ratio for a 36, 25, and 50 meter length of fence. 
Write your building guidelines for <i>any</i> length of fence in the pad.
</body>
</small>
</html>
]]>
    </component>
    <component class="org.escot.demo.TextEditor" position="5,271" size="608,143" answerText="true" portid="TextEditor-1">
      <![CDATA[Your Solution Here!
(Don't forget to explain how you arrived at your building guidelines)]]>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="255,255,150"/>
      <property name="font" value="Application,Application,0,10"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="103,203" size="45,16">
      <property name="text" value="height"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="104,225" size="36,16">
      <property name="text" value="width"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="79,175" size="115,16">
      <property name="text" value="meters of fencing:"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="225,173" size="27,20">
      <property name="text" value="36"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="316,171" size="20,24">
      <property name="text" value="25"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="408,175" size="20,16">
      <property name="text" value="50"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="207,199" size="55,17" portid="NumberEntry-1">
      <property name="maximumDecimalPlaces" value="3"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="true"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="207,224" size="55,17" portid="NumberEntry-2">
      <property name="maximumDecimalPlaces" value="3"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="true"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="295,199" size="55,17" portid="NumberEntry-3">
      <property name="maximumDecimalPlaces" value="3"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="true"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="295,224" size="55,17" portid="NumberEntry-4">
      <property name="maximumDecimalPlaces" value="3"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="true"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="389,199" size="55,17" portid="NumberEntry-5">
      <property name="maximumDecimalPlaces" value="3"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="true"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="389,224" size="55,17" portid="NumberEntry-6">
      <property name="maximumDecimalPlaces" value="3"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="true"/>
    </component>
  </page>
  <page name="36 meters of fencing">
    <help>
      <![CDATA[<html>
  <head>
  </head>
  

  <body>
    <p>
      
    </p>
  </body>
</html>
]]>
    </help>
    <component class="org.escot.demo.HTMLViewer" position="5,5" size="620,85" portid="HTMLViewer-1">
      <![CDATA[
<html>
<body>
<small>
<b>What is the ideal ratio of height to width for 36 meters of fencing?</B><br>
Use the <FONT COLOR="#FF0033">red</FONT> dot to change the amount of fencing used for height versus width. 
Click the Sample button to measure the height, width, and area for this pen shape.
Click the Clear button to erase all of your measurements.<br>
When you're done, go back to page 1 to record your ratio.
</small>
</body>
</html>
]]>
    </component>
    <component class="SketchpadBean2" position="60,116" size="254,151" portid="SketchpadBean2-1">
{1} Point(207,144)[hidden];
{2} Point(36,144)[hidden];
{3} Point(249,87)[hidden];
{4} Point(5,87)[hidden];
{5} Distance(1,2,268,197,'available fence  ')[blue];
{6} Segment(1,2)[hidden,black];
{7} Segment(3,4)[hidden,black];
{8} Perpendicular(7,3)[hidden,black];
{9} Perpendicular(7,4)[hidden,black];
{10} Midpoint(6)[hidden,thick];
{11} Point on object(9,0.69509107)[hidden,thick];
{12} Segment(1,10)[hidden,thick,red];
{13} Parallel(7,11)[hidden,black];
{14} Point on object(12,0.28654972)[thick];
{15} Intersect(13,8)[hidden,thick];
{16} Circle(10,14)[hidden,thick,red];
{17} Polygon(3,15,11,4)[thick,red];
{18} Intersect2(6,16)[thick];
{19} Intersect1(6,16)[hidden,thick];
{20} Perpendicular(6,18)[hidden,thick,red];
{21} Segment(18,10)[hidden,black];
{22} Segment(1,18)[thick,blue];
{23} Perpendicular(6,19)[hidden,black];
{24} Segment(14,19)[thick,yellow];
{25} Segment(2,19)[thick,blue];
{26} Intersect(7,20)[hidden];
{27} Intersect(7,23)[hidden];
{28} Length(24,268,223,'Length(Segment width) = ')[black];
{29} Length(25,268,210,'Length(Segment height) = ')[black];
{30} Circle by radius(27,25)[hidden,black];
{31} Intersect1(23,30)[hidden];
{32} Intersect2(23,30)[hidden];
{33} Segment(31,27)[thick,blue];
{34} Parallel(7,31)[hidden,black];
{35} Intersect(20,34)[hidden];
{36} Segment(35,31)[thick,yellow];
{37} Segment(26,35)[thick,blue];
{38} Point on object(36,0.69444448)[hidden,thick];
{39} Point on object(37,0.33333337)[hidden,thick];
{40} AnimateButton(267,162,'Animate')(39,37,38,36)(1,1)(0,0)(0,0)[black,auto];
{41} Perpendicular(36,38)[hidden,black];
{42} Perpendicular(37,39)[hidden,black];
{43} Intersect(41,42);
 <property name="SketchBackColor" value="200,200,200"/>
    </component>
    <component class="org.escot.demo.SimpleGraph" position="96,271" size="172,16" portid="SimpleGraph-1">
      <property name="labelInterval" value="5,5"/>
      <property name="derivative" value="0"/>
      <property name="xAxisName" value="X"/>
      <property name="scrollable" value="false"/>
      <property name="extent" value="0.0,-2.0,36.0,2.0"/>
      <property name="tickInterval" value="1,100"/>
      <property name="yAxisName" value="Y"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="5,254" size="49,14">
      <property name="text" value="red dot->"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="SansSerif,SansSerif,0,10"/>
    </component>
    <component class="virtuoso.logo.LogoScript" position="331,312" size="39,15" portid="LogoScript-1">
      <export name="height" type="number">13.0</export>
      <export name="width" type="number">10.0</export>
      <export name="area" type="number">0.0</export>
      <export name="gspHeight" type="number">60.999998940000026</export>
      <export name="gspWidth" type="number">49.00000211999996</export>
      <export name="gspAvailFence" type="number">171.0</export>
      <![CDATA[make "actualLength 36

to actual :n
	output (:n / :gspAvailFence * :actualLength)
end

to gspHeightChanged
	make "width round actual :gspWidth
	make "height (:actualLength - :width) / 2
	make "area :width * :height
end

gspHeightChanged
]]>
      <property name="toolBarShowing" value="false"/>
    </component>
    <component class="org.escot.demo.SimpleNumberTable" position="383,184" size="249,137" portid="SimpleNumberTable-1">
      <customProperty name="models" value=""/>
      <property name="font" value="Dialog,Dialog,0,12"/>
      <property name="orientation" value="1"/>
      <property name="live" value="false"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="393,160" size="55,17" portid="NumberEntry-1">
      <property name="maximumDecimalPlaces" value="1"/>
      <property name="label" value=""/>
      <property name="value" value="18.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="false"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="468,159" size="55,17" portid="NumberEntry-2">
      <property name="maximumDecimalPlaces" value="1"/>
      <property name="label" value=""/>
      <property name="value" value="0.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="false"/>
    </component>
    <component class="org.escot.demo.ButtonPanel" position="414,122" size="196,29" portid="ButtonPanel-1">
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <wire type="org.escot.Broker">
      <from portid="SimpleNumberTable-1" name="Sample"/>
      <to portid="ButtonPanel-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SimpleNumberTable-1" name="Clear"/>
      <to portid="ButtonPanel-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="available fence  "/>
      <to portid="LogoScript-1" name="gspAvailFence"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="Length(Segment width) = "/>
      <to portid="LogoScript-1" name="gspWidth"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="Length(Segment height) = "/>
      <to portid="LogoScript-1" name="gspHeight"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="height"/>
      <to portid="NumberEntry-1" name="number"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="width"/>
      <to portid="NumberEntry-2" name="number"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="area"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
  </page>
  <page name="10 meters of fencing">
    <help>
      <![CDATA[<html>
  <head>
  </head>
  

  <body>
    <p>
      
    </p>
  </body>
</html>
]]>
    </help>
    <component class="org.escot.demo.HTMLViewer" position="5,5" size="620,85" portid="HTMLViewer-1">
      <![CDATA[
<html>
<body>
<small>
<b>What is the ideal ratio of height to width for 25 meters of fencing?</B><br>
Use the <FONT COLOR="#FF0033">red</FONT> dot to change the amount of fencing used for height versus width. 
Click the Sample button to measure the height, width, and area for this pen shape.
Click the Clear button to erase all of your measurements.<br>
When you're done, go back to page 1 to record your ratio.
</small>
</body>
</html>
]]>
    </component>
    <component class="SketchpadBean2" position="62,153" size="256,112" portid="SketchpadBean2-1">
 {1} Point(4,47)[hidden];
 {2} Point(248,47)[hidden];
 {3} Point(73,106)[hidden];
 {4} Point(159,106)[hidden];
 {5} Segment(2,1)[hidden,black];
 {6} Segment(4,3)[hidden,black];
 {7} Distance(4,3,267,157,'available fence  ')[blue];
 {8} Midpoint(6)[hidden,thick];
 {9} Perpendicular(5,1)[hidden,black];
 {10} Perpendicular(5,2)[hidden,black];
 {11} Segment(4,8)[hidden,thick,red];
 {12} Point on object(9,0.69509107)[hidden,thick];
 {13} Point on object(11,0.21718633)[thick];
 {14} Parallel(5,12)[hidden,black];
 {15} Circle(8,13)[hidden,thick,red];
 {16} Intersect(14,10)[hidden,thick];
 {17} Intersect1(6,15)[hidden,thick];
 {18} Intersect2(6,15)[thick];
 {19} Polygon(2,16,12,1)[thick,red];
 {20} Segment(3,17)[thick,blue];
 {21} Segment(13,17)[thick,yellow];
 {22} Perpendicular(6,17)[hidden,black];
 {23} Segment(4,18)[thick,blue];
 {24} Segment(18,8)[hidden,black];
 {25} Perpendicular(6,18)[hidden,thick,red];
 {26} Length(20,267,170,'Length(Segment height) = ')[black];
 {27} Length(21,267,183,'Length(Segment width) = ')[black];
 {28} Intersect(5,22)[hidden];
 {29} Intersect(5,25)[hidden];
 {30} Circle by radius(28,20)[hidden,black];
 {31} Intersect2(22,30)[hidden];
 {32} Intersect1(22,30)[hidden];
 {33} Parallel(5,32)[hidden,black];
 {34} Segment(32,28)[thick,blue];
 {35} Intersect(25,33)[hidden];
 {36} Segment(29,35)[thick,blue];
 {37} Segment(35,32)[thick,yellow];
 {38} Point on object(36,0.33333272)[hidden,thick];
 {39} Point on object(37,0.69444412)[hidden,thick];
 {40} Perpendicular(36,38)[hidden,black];
 {41} Perpendicular(37,39)[hidden,black];
 {42} AnimateButton(330,198,'Animate')(38,36,39,37)(1,1)(0,0)(0,0)[hidden,black,auto];
 {43} Intersect(41,40);
 <property name="SketchBackColor" value="200,200,200"/>
    </component>
    <component class="org.escot.demo.SimpleGraph" position="134,272" size="91,17" portid="SimpleGraph-1">
      <property name="labelInterval" value="5,5"/>
      <property name="derivative" value="0"/>
      <property name="xAxisName" value="X"/>
      <property name="scrollable" value="false"/>
      <property name="extent" value="0.0,-2.0,26.0,2.0"/>
      <property name="tickInterval" value="1,100"/>
      <property name="yAxisName" value="Y"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="5,254" size="49,14">
      <property name="text" value="red dot->"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="SansSerif,SansSerif,0,10"/>
    </component>
    <component class="virtuoso.logo.LogoScript" position="331,312" size="39,15" portid="LogoScript-1">
      <export name="height" type="number">10.0</export>
      <export name="width" type="number">5.0</export>
      <export name="area" type="number">50.0</export>
      <export name="gspHeight" type="number">33.660987809999966</export>
      <export name="gspWidth" type="number">18.67802438000004</export>
      <export name="gspAvailFence" type="number">86.0</export>
      <![CDATA[make "actualLength 25

to actual :n
	output (:n / :gspAvailFence * :actualLength)
end

to gspHeightChanged
	make "width round actual :gspWidth
	make "height (:actualLength - :width) / 2
	make "area :width * :height
end

gspHeightChanged
]]>
      <property name="toolBarShowing" value="false"/>
    </component>
    <component class="org.escot.demo.SimpleNumberTable" position="383,184" size="249,137" portid="SimpleNumberTable-1">
      <customProperty name="models" value="height,width,area"/>
      <property name="font" value="Dialog,Dialog,0,12"/>
      <property name="orientation" value="1"/>
      <property name="live" value="false"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="393,160" size="55,17" portid="NumberEntry-1">
      <property name="maximumDecimalPlaces" value="1"/>
      <property name="label" value=""/>
      <property name="value" value="10.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="false"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="468,159" size="55,17" portid="NumberEntry-2">
      <property name="maximumDecimalPlaces" value="1"/>
      <property name="label" value=""/>
      <property name="value" value="5.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="false"/>
    </component>
    <component class="org.escot.demo.ButtonPanel" position="414,122" size="196,29" portid="ButtonPanel-1">
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <wire type="org.escot.Broker">
      <from portid="SimpleNumberTable-1" name="Sample"/>
      <to portid="ButtonPanel-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SimpleNumberTable-1" name="Clear"/>
      <to portid="ButtonPanel-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="available fence  "/>
      <to portid="LogoScript-1" name="gspAvailFence"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="Length(Segment width) = "/>
      <to portid="LogoScript-1" name="gspWidth"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="Length(Segment height) = "/>
      <to portid="LogoScript-1" name="gspHeight"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="height"/>
      <to portid="NumberEntry-1" name="number"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="width"/>
      <to portid="NumberEntry-2" name="number"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="area"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
  </page>
  <page name="50 meters of fencing">
    <help>
      <![CDATA[<html>
  <head>
  </head>
  

  <body>
    <p>
      
    </p>
  </body>
</html>
]]>
    </help>
    <component class="org.escot.demo.HTMLViewer" position="5,5" size="632,85" portid="HTMLViewer-1">
      <![CDATA[
<html>
<body>
<small>
<b>What is the ideal ratio of height to width for 50 meters of fencing?</B><br>
Use the <FONT COLOR="#FF0033">red</FONT> dot to change the amount of fencing used for height versus width. 
Click the Sample button to measure the height, width, and area for this pen shape.
Click the Clear button to erase all of your measurements.<br>
When you're done, go back to page 1 to record your ratio.
</small>
</body>
</html>
]]>
    </component>
    <component class="SketchpadBean2" position="60,116" size="268,183" portid="SketchpadBean2-1">
 {1} Point(4,119)[hidden];
 {2} Point(248,119)[hidden];
 {3} Point(7,177)[hidden];
 {4} Point(244,177)[hidden];
 {5} Segment(2,1)[hidden,black];
 {6} Segment(4,3)[hidden,black];
 {7} Distance(4,3,267,229,'available fence  ')[blue];
 {8} Midpoint(6)[hidden,thick];
 {9} Perpendicular(5,1)[hidden,black];
 {10} Perpendicular(5,2)[hidden,black];
 {11} Segment(4,8)[hidden,thick,red];
 {12} Point on object(9,0.69509107)[hidden,thick];
 {13} Point on object(11,0.80131769)[thick];
 {14} Parallel(5,12)[hidden,black];
 {15} Circle(8,13)[hidden,thick,red];
 {16} Intersect(14,10)[hidden,thick];
 {17} Intersect1(6,15)[hidden,thick];
 {18} Intersect2(6,15)[thick];
 {19} Polygon(2,16,12,1)[thick,red];
 {20} Segment(3,17)[thick,blue];
 {21} Segment(13,17)[thick,yellow];
 {22} Perpendicular(6,17)[hidden,black];
 {23} Segment(4,18)[thick,blue];
 {24} Segment(18,8)[hidden,black];
 {25} Perpendicular(6,18)[hidden,thick,red];
 {26} Length(20,267,242,'Length(Segment height) = ')[black];
 {27} Length(21,267,255,'Length(Segment width) = ')[black];
 {28} Intersect(5,22)[hidden];
 {29} Intersect(5,25)[hidden];
 {30} Circle by radius(28,20)[hidden,black];
 {31} Intersect2(22,30)[hidden];
 {32} Intersect1(22,30)[hidden];
 {33} Parallel(5,32)[hidden,black];
 {34} Segment(32,28)[thick,blue];
 {35} Intersect(25,33)[hidden];
 {36} Segment(29,35)[thick,blue];
 {37} Segment(35,32)[thick,yellow];
 {38} Point on object(36,0.33333343)[hidden,thick];
 {39} Point on object(37,0.69444400)[hidden,thick];
 {40} Perpendicular(36,38)[hidden,black];
 {41} Perpendicular(37,39)[hidden,black];
 {42} AnimateButton(267,217,'Animate')(38,36,39,37)(1,1)(0,0)(0,0)[hidden,black,auto];
 {43} Intersect(41,40);
 <property name="SketchBackColor" value="200,200,200"/>
    </component>
    <component class="org.escot.demo.SimpleGraph" position="67,305" size="241,16" portid="SimpleGraph-1">
      <property name="labelInterval" value="5,5"/>
      <property name="derivative" value="0"/>
      <property name="xAxisName" value="X"/>
      <property name="scrollable" value="false"/>
      <property name="extent" value="0.0,-2.0,51.0,2.0"/>
      <property name="tickInterval" value="1,100"/>
      <property name="yAxisName" value="Y"/>
    </component>
    <component class="com.sri.escot.EscotLabel" position="6,287" size="49,14">
      <property name="text" value="red dot->"/>
      <property name="foreground" value="0,0,0"/>
      <property name="background" value="204,204,204"/>
      <property name="font" value="SansSerif,SansSerif,0,10"/>
    </component>
    <component class="virtuoso.logo.LogoScript" position="331,312" size="39,15" portid="LogoScript-1">
      <export name="height" type="number">5.0</export>
      <export name="width" type="number">40.0</export>
      <export name="area" type="number">200.0</export>
      <export name="gspHeight" type="number">23.543853735</export>
      <export name="gspWidth" type="number">189.91229253</export>
      <export name="gspAvailFence" type="number">237.0</export>
      <![CDATA[make "actualLength 50

to actual :n
	output (:n / :gspAvailFence * :actualLength)
end

to gspHeightChanged
	make "width round actual :gspWidth
	make "height (:actualLength - :width) / 2
	make "area :width * :height
end

gspHeightChanged
]]>
      <property name="toolBarShowing" value="false"/>
    </component>
    <component class="org.escot.demo.SimpleNumberTable" position="383,184" size="249,137" portid="SimpleNumberTable-1">
      <customProperty name="models" value=""/>
      <property name="font" value="Dialog,Dialog,0,12"/>
      <property name="orientation" value="1"/>
      <property name="live" value="false"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="393,160" size="55,17" portid="NumberEntry-1">
      <property name="maximumDecimalPlaces" value="1"/>
      <property name="label" value=""/>
      <property name="value" value="5.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="false"/>
    </component>
    <component class="com.sri.escot.NumberEntry" position="468,159" size="55,17" portid="NumberEntry-2">
      <property name="maximumDecimalPlaces" value="1"/>
      <property name="label" value=""/>
      <property name="value" value="40.0"/>
      <property name="allowNegative" value="true"/>
      <property name="minimumDecimalPlaces" value="0"/>
      <property name="suffix" value=""/>
      <property name="editable" value="false"/>
    </component>
    <component class="org.escot.demo.ButtonPanel" position="414,122" size="196,29" portid="ButtonPanel-1">
      <property name="font" value="Dialog,Dialog,0,12"/>
    </component>
    <wire type="org.escot.Broker">
      <from portid="SimpleNumberTable-1" name="Sample"/>
      <to portid="ButtonPanel-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SimpleNumberTable-1" name="Clear"/>
      <to portid="ButtonPanel-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="available fence  "/>
      <to portid="LogoScript-1" name="gspAvailFence"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="Length(Segment width) = "/>
      <to portid="LogoScript-1" name="gspWidth"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="SketchpadBean2-1" name="Length(Segment height) = "/>
      <to portid="LogoScript-1" name="gspHeight"/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="height"/>
      <to portid="NumberEntry-1" name="number"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="width"/>
      <to portid="NumberEntry-2" name="number"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
    <wire type="org.escot.Broker">
      <from portid="LogoScript-1" name="area"/>
      <to portid="SimpleNumberTable-1" name=""/>
    </wire>
  </page>
</activity>

