3D Solid Construction with Square Cross-Sections over Two Functions
2014-12-29 18:49
This applet demonstrates how to construct a three-dimensional solid with square cross-sections built over two given function curves. It provides a visual and interactive approach to one of the central applications of definite integrals in calculus: finding the volume of a solid when the area of its cross-sections is known.
The construction relies on GeoGebra commands such as Surface, Prism, and Curve, which work together to generate the solid step by step. One function serves as the lower boundary of the base region, while the other serves as the upper boundary. At each point along the interval, the side length of a square cross-section is determined by the vertical distance between the two curves. These squares are then extended into the third dimension, forming the complete solid.
Students can manipulate the functions interactively, observing in real time how changes to either curve affect the shape of the solid and the size of each cross-section. This dynamic exploration makes the abstract concept of slicing a solid into infinitesimal pieces concrete and intuitive. By watching how the squares stack together to fill the solid, learners develop a stronger geometric intuition for why the volume formula is expressed as the integral of the cross-sectional area function.
The applet also reinforces the connection between algebraic expressions and their three-dimensional representations. Users can see how the definite integral of (upper function minus lower function) squared, evaluated over the appropriate interval, yields the exact volume of the solid. This visual proof complements the standard symbolic procedure found in textbooks and helps students retain the material more effectively.
Overall, this interactive tool is valuable for calculus courses covering applications of integration, particularly the section on volumes by slicing. It bridges the gap between computational practice and conceptual understanding, allowing students to explore, experiment, and internalize the geometric meaning behind the mathematics.
In collections
微積分
Loading the math board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.42.0" id="75bfe639-6803-4ff2-a873-c856aafbb960" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="959" height="738" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.20855057351407716" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="740,350,700,550" />
<view id="1" visible="false" inframe="false" stylebar="true" location="1,3" size="299" 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="2" visible="false" inframe="true" stylebar="true" location="3" size="200" window="1022,23,383,823" />
<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" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<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 , 22 , 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="true" inframe="false" stylebar="true" location="1" size="948" window="593,172,724,685" />
</views>
<toolbar show="true" items="0 39 | 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 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="true" />
<input show="true" cmd="true" top="false" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="12"/>
<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="580" height="443"/>
<coordSystem xZero="265.00000000000006" yZero="259.0" scale="45.454545454545446" yscale="45.454545454545446"/>
<evSettings axes="true" grid="true" 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="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>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<euclidianView3D>
<coordSystem xZero="-0.15645750083018106" yZero="-1.3751717176211609" zZero="-0.671235647417089" scale="98.29683588223712" xAngle="22.0" zAngle="1368.1184816178848"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="0"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="2" showNumbers="false"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="2" showNumbers="false"/>
<axis id="2" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<plate show="false"/>
<bgColor r="255" g="255" b="255"/>
<clipping use="false" show="false" size="1"/>
<projection type="1"/>
</euclidianView3D>
<construction title="" author="" date="">
<expression label ="g" exp="g(x) = x^(2) - 1"/>
<element type="function" label="g">
<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"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="PointIn">
<input a0="z = 0"/>
<output a0="P_{flag}"/>
</command>
<element type="point3d" label="P_{flag}">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<coords x="-2.4827932574436957" y="2.0507276787941713" z="0.0" w="1.0"/>
<pointSize val="3"/>
</element>
<command name="Point">
<input a0="Line[P_{flag}, P_{flag} + (0, 0, 1)]"/>
<output a0="Pin"/>
</command>
<element type="point3d" label="Pin">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<ggbscript val="SetValue[showFace, !showFace]"/>
<coords x="-2.4827932574436957" y="2.0507276787941713" z="2.8187752094018155" w="1.0"/>
<pointSize val="5"/>
</element>
<command name="Segment">
<input a0="P_{flag}" a1="Pin"/>
<output a0="segFlag"/>
</command>
<element type="segment3d" label="segFlag">
<show object="true" label="false"/>
<objColor r="204" g="102" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="4" type="0" typeHidden="2"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Point">
<input a0="segFlag"/>
<output a0="P_{dx}"/>
</command>
<element type="point3d" label="P_{dx}">
<show object="true" label="false"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<coords x="-2.4827932574436957" y="2.0507276787941713" z="0.35389641050424514" w="1.0"/>
<pointSize val="3"/>
</element>
<expression label ="f" exp="f(x) = x + 1"/>
<element type="function" label="f">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0.75"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Intersect">
<input a0="f" a1="g"/>
<output a0="P1" a1="P2"/>
</command>
<element type="point" label="P1">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-1.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="P2">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="2.0" y="3.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Max">
<input a0="x(P1)" a1="x(P2)"/>
<output a0="x2"/>
</command>
<element type="numeric" label="x2">
<value val="2.0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Min">
<input a0="x(P1)" a1="x(P2)"/>
<output a0="x1"/>
</command>
<element type="numeric" label="x1">
<value val="-1.0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Point">
<input a0="Segment[(x1, 0), (x2, 0)]"/>
<output a0="J"/>
</command>
<element type="point" label="J">
<show object="true" label="false"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1.2274481561559847" y="0.0" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<expression label="w" exp="abs(f(x(J)) - g(x(J)))" />
<element type="numeric" label="w">
<value val="1.7208191801052584"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="D" exp="(x(J), g(x(J)))" type="point" />
<element type="point" label="D">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.2274481561559847" y="0.5066289760507265" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="C" exp="D + (0, 0, w)" type="point" />
<element type="point3d" label="C">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.2274481561559847" y="0.5066289760507265" z="1.7208191801052584" w="1.0"/>
<pointSize val="3"/>
</element>
<expression label="A" exp="(x(J), f(x(J)))" type="point" />
<element type="point" label="A">
<show object="false" label="false"/>
<objColor r="255" g="215" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.2274481561559847" y="2.227448156155985" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<expression label="a" exp="x(A)" />
<element type="numeric" label="a">
<value val="1.2274481561559847"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="B" exp="A + (0, 0, w)" type="point" />
<element type="point3d" label="B">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.2274481561559847" y="2.227448156155985" z="1.7208191801052584" w="1.0"/>
<pointSize val="3"/>
</element>
<command name="Distance">
<input a0="P_{dx}" a1="P_{flag}"/>
<output a0="dx"/>
</command>
<element type="numeric" label="dx">
<value val="0.35389641050424514"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="u" exp="(dx / 2, 0, 0)" type="vector" />
<element type="vector3d" label="u">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0.17694820525212257" y="0.0" z="0.0" w="0.0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Polygon">
<input a0="A - u" a1="B - u" a2="C - u" a3="D - u"/>
<output a0="poly1" a1="seg01" a2="h" a3="i" a4="j"/>
</command>
<element type="polygon3d" label="poly1">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
</element>
<element type="segment3d" label="seg01">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="h">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="i">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="j">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Prism">
<input a0="poly1" a1="A + u"/>
<output a0="e" a1="F" a2="G" a3="H" a4="face1" a5="face3" a6="face4" a7="face2" a8="face5" a9="edge1" a10="edge2" a11="edge3" a12="edge4" a13="edge5" a14="edgeFG" a15="edgeGH" a16="edge6"/>
</command>
<element type="polyhedron" label="e">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="point3d" label="F">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.4043963614081072" y="2.227448156155985" z="1.7208191801052584" w="1.0"/>
<pointSize val="3"/>
</element>
<element type="point3d" label="G">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.4043963614081072" y="0.5066289760507265" z="1.7208191801052584" w="1.0"/>
<pointSize val="3"/>
</element>
<element type="point3d" label="H">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.4043963614081072" y="0.5066289760507265" z="0.0" w="1.0"/>
<pointSize val="3"/>
</element>
<element type="polygon3d" label="face1">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
</element>
<element type="polygon3d" label="face3">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
</element>
<element type="polygon3d" label="face4">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
</element>
<element type="polygon3d" label="face2">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
</element>
<element type="polygon3d" label="face5">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="153" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
</element>
<element type="segment3d" label="edge1">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edge2">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edge3">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edge4">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edge5">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeFG">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeGH">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edge6">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="text1" exp=""Show/Hide Face""/>
<element type="text" label="text1">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<bgColor r="255" g="0" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<startPoint exp="Pin"/>
<labelOffset x="6" y="27"/>
<ggbscript val="RunClickScript[Pin]"/>
</element>
<element type="boolean" label="showFace">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<command name="Surface">
<input a0="t" a1="f(t)" a2="(abs(f(t) - g(t)) * s)" a3="t" a4="x1" a5="x2" a6="s" a7="0" a8="1"/>
<output a0="b"/>
</command>
<element type="surfacecartesian3d" label="b">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.75"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<levelOfDetail val="8"/>
</element>
<command name="Surface">
<input a0="t" a1="g(t)" a2="(abs(f(t) - g(t)) * s)" a3="t" a4="x1" a5="x2" a6="s" a7="0" a8="1"/>
<output a0="d"/>
</command>
<element type="surfacecartesian3d" label="d">
<show object="true" label="false"/>
<condition showObject="showFace"/>
<objColor r="255" g="0" b="0" alpha="0.75"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<levelOfDetail val="8"/>
</element>
<command name="Surface">
<input a0="t" a1="((1 - s) * g(t)) + (s * f(t))" a2="abs(f(t) - g(t))" a3="t" a4="x1" a5="x2" a6="s" a7="0" a8="1"/>
<output a0="l"/>
</command>
<element type="surfacecartesian3d" label="l">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.75"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<levelOfDetail val="8"/>
</element>
<expression label="text2" exp=""Δx""/>
<element type="text" label="text2">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="true" sizeM="1.4" size="5" style="0"/>
<startPoint exp="Midpoint[P_{dx}, P_{flag}]"/>
<labelOffset x="8" y="4"/>
</element>
<expression label="k" exp="x = x(J)" type="plane" />
<element type="plane3d" label="k">
<show object="true" label="false"/>
<condition showObject="showPlane"/>
<objColor r="255" g="215" b="0" alpha="0.35"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="1.0" y="0.0" z="0.0" w="-1.2274481561559847"/>
<fading val="0.0"/>
</element>
<command name="CurveCartesian">
<input a0="t" a1="f(t)" a2="abs(f(t) - g(t))" a3="t" a4="x1" a5="x2"/>
<output a0="m"/>
</command>
<element type="curvecartesian3d" label="m">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="CurveCartesian">
<input a0="t" a1="g(t)" a2="abs(f(t) - g(t))" a3="t" a4="x1" a5="x2"/>
<output a0="n"/>
</command>
<element type="curvecartesian3d" label="n">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<element type="plane3d" label="o">
<show object="true" label="false"/>
<objColor r="160" g="160" b="160" alpha="0.25"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
<coords x="0.0" y="0.0" z="1.0" w="0.0"/>
<fading val="0.0"/>
</element>
<command name="Point">
<input a0="segFlag"/>
<output a0="P_{section}"/>
</command>
<element type="point3d" label="P_{section}">
<show object="true" label="false"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<ggbscript val="SetValue[showPlane, !showPlane]"/>
<coords x="-2.4827932574436957" y="2.0507276787941713" z="2.270032333908836" w="1.0"/>
<pointSize val="4"/>
</element>
<expression label="txtShowPlane" exp=""Section Plane""/>
<element type="text" label="txtShowPlane">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<bgColor r="255" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<startPoint exp="P_{section}"/>
<labelOffset x="6" y="19"/>
<ggbscript val="RunClickScript[P_{section}]"/>
</element>
<element type="boolean" label="showPlane">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
</construction>
</geogebra>