iteration list

lohabithi shared this question 2 years ago
Needs Answer

Hello, I want the series of sequential sum of a list of numbers.

like,

{1,2,3,4,5} -> {1,3,6,10,15}

I can use iteration list with a custom tool, like in the file attached. It works.


But if I attempt to define the expression directly, like:

IterationList({Element(p,1)+1, Element(L_1, Element(p, 1))+Element(p,2)}, p, {{1, 0}}, Length(L_1) - 1)


then strange things happen!

First, nothing happens, no error message but also no new object is created (defined of undefined). As if I had not typed anything!

But then, it becomes impossible to make any input with the mouse: no new point can be created!


On the other hand, as you can see in the file attached, iteration (NOT iterationlist) works without recourse to custom tool:

Iteration({Element(p,1)+1, Element(L_1, Element(p, 1))+Element(p,2)}, p, {{1, 0}}, Length(L_1) - 1)

gives the proper result.


This problem with iteration list did happen repeatedly in a complicated file, and eventually it seems I have isolated the problem.


Any advice would be welcome.

Comments (4)

photo
1

it works fine for me

GeoGebra Classic 5.0.486.0-d (Java 1.8.0_161-32bit, 247MB. CAS Initialising) 18 August 2018

photo
1

I also have the same installation (copy of system info below), and it doesn't work...


[co]GeoGebra Classic 5.0.486.0-d (18 August 2018)

Java: 1.8.0_161

Codebase: file:/C:/Users/Admin/AppData/Roaming/GeoGebra%205.0/jars/current/

OS: Windows 7

Architecture: x86 / x86

Heap: 247MB

CAS: CAS Initializing

GeoGebraLogger log:

2:59:47.265 DEBUG: org.geogebra.desktop.i.a.<init>[-1]: isApplet=false runningFromJar=true

2:59:47.265 DEBUG: org.geogebra.desktop.i.a.az[-1]: Setting up logging

2:59:47.278 DEBUG: org.geogebra.desktop.i.a.az[-1]: Logging is redirected to C:\Users\Admin\AppData\Local\Temp\GeoGebraLog_rligdyqaik.txt

DEBUG: org.geogebra.common.m.x.G[-1]: Number of registered views = 1

* class org.geogebra.desktop.geogebra3D.b.b

DEBUG: org.geogebra.desktop.i.a.aR[-1]: Waiting for the initialization: 0

DEBUG: org.geogebra.desktop.i.a$a.run[-1]: Thread[compute,5,main] running

DEBUG: org.geogebra.common.b.c.a.a[-1]: SingularWS connection disabled by command line option

INFO: org.geogebra.common.n.f.b[-1]: No SingularWS is available at http://singularws.idm.jku.at/ (yet)

ERROR: org.geogebra.desktop.l.l.a[-1]: adding geogebra_thumbnail.png

DEBUG: org.geogebra.desktop.l.l.a[-1]: storing geogebra_thumbnail.png false

ERROR: org.geogebra.desktop.l.l.a[-1]: adding d81d328bd62b33c156c55500b5b41145/tag1.JPG

DEBUG: org.geogebra.desktop.l.l.a[-1]: storing d81d328bd62b33c156c55500b5b41145/tag1.JPG false

DEBUG: org.geogebra.common.m.x.a[-1]: function ggbOnInit() {}

DEBUG: org.geogebra.common.m.x.G[-1]: Number of registered views = 2

* class org.geogebra.desktop.geogebra3D.b.b

* class org.geogebra.common.plugin.b

DEBUG: org.geogebra.common.m.d.c.a[-1]: null valid expression label

DEBUG: org.geogebra.common.m.d.c.a[-1]: null valid expression label

DEBUG: org.geogebra.common.m.c.bX.b[-1]: falselabel

DEBUG: org.geogebra.common.m.c.bX.b[-1]: falselabel

DEBUG: org.geogebra.common.m.c.bX.b[-1]: falselabel

DEBUG: org.geogebra.common.i.h.a[-1]: CAS support: true

DEBUG: org.geogebra.common.m.x.G[-1]: Number of registered views = 3

* class org.geogebra.desktop.geogebra3D.b.b

* class org.geogebra.common.plugin.b

* class org.geogebra.desktop.geogebra3D.e.c.a.a

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

ERROR: org.geogebra.desktop.gui.i.U.a[-1]: problem starting JavaFX

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

WARN: org.geogebra.desktop.i.a.o[-1]: Option versionCheckAllow not recognized :

INFO: org.geogebra.desktop.i.B.a[-1]: No system preferences

DEBUG: org.geogebra.desktop.geogebra3D.a.aW[-1]: ============ runThreadToCheckInput3D

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

DEBUG: org.geogebra.desktop.geogebra3D.input3D.intelRealSense.Socket.queryRegistry[-1]: reg query HKLM\Software\Intel\RSSDK\Components\ivcam : 1

DEBUG: org.geogebra.desktop.geogebra3D.a$a.a[-1]: RealSense: No key for camera in registry

DEBUG: org.geogebra.desktop.geogebra3D.a$a.b[-1]: zSpace: try to init

DEBUG: org.geogebra.desktop.geogebra3D.a$a.b[-1]: zSpace: Failed to init

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6

DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4

DEBUG: org.geogebra.desktop.gui.i.U.b[-1]: update menu

DEBUG: org.geogebra.desktop.b.a.e.<init>[-1]: possible missing release()

DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: Checking version

DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: major version check needed: no check was done yet

DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: current=5000486000 newest=5000000000

DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: newest_minor=5000486000

File log from C:\Users\Admin\AppData\Local\Temp\GeoGebraLog_rligdyqaik.txt:

Aug 21, 2018 2:59:47 AM

STDOUT: DEBUG: org.geogebra.common.m.x.G[-1]: Number of registered views = 1


* class org.geogebra.desktop.geogebra3D.b.b


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.desktop.i.a.aR[-1]: Waiting for the initialization: 0


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.desktop.i.a$a.run[-1]: Thread[compute,5,main] running


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.common.b.c.a.a[-1]: SingularWS connection disabled by command line option


Aug 21, 2018 2:59:47 AM


STDOUT: INFO: org.geogebra.common.n.f.b[-1]: No SingularWS is available at http://singularws.idm.jku.at/ (yet)


Aug 21, 2018 2:59:47 AM


STDERR: ERROR: org.geogebra.desktop.l.l.a[-1]: adding geogebra_thumbnail.png


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.desktop.l.l.a[-1]: storing geogebra_thumbnail.png false


Aug 21, 2018 2:59:47 AM


STDERR: ERROR: org.geogebra.desktop.l.l.a[-1]: adding d81d328bd62b33c156c55500b5b41145/tag1.JPG


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.desktop.l.l.a[-1]: storing d81d328bd62b33c156c55500b5b41145/tag1.JPG false


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.common.m.x.a[-1]: function ggbOnInit() {}


Aug 21, 2018 2:59:47 AM


STDOUT: DEBUG: org.geogebra.common.m.x.G[-1]: Number of registered views = 2


* class org.geogebra.desktop.geogebra3D.b.b


* class org.geogebra.common.plugin.b


Aug 21, 2018 2:59:48 AM


STDOUT: DEBUG: org.geogebra.common.m.d.c.a[-1]: null valid expression label


Aug 21, 2018 2:59:48 AM


STDOUT: DEBUG: org.geogebra.common.m.d.c.a[-1]: null valid expression label


Aug 21, 2018 2:59:48 AM


STDOUT: DEBUG: org.geogebra.common.m.c.bX.b[-1]: falselabel


Aug 21, 2018 2:59:48 AM


STDOUT: DEBUG: org.geogebra.common.m.c.bX.b[-1]: falselabel


Aug 21, 2018 2:59:48 AM


STDOUT: DEBUG: org.geogebra.common.m.c.bX.b[-1]: falselabel


Aug 21, 2018 2:59:48 AM


STDOUT: DEBUG: org.geogebra.common.i.h.a[-1]: CAS support: true


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.m.x.G[-1]: Number of registered views = 3


* class org.geogebra.desktop.geogebra3D.b.b


* class org.geogebra.common.plugin.b


* class org.geogebra.desktop.geogebra3D.e.c.a.a


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:50 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:50 AM


STDERR: ERROR: org.geogebra.desktop.gui.i.U.a[-1]: problem starting JavaFX


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:51 AM


STDOUT: WARN: org.geogebra.desktop.i.a.o[-1]: Option versionCheckAllow not recognized :


Aug 21, 2018 2:59:51 AM


STDOUT: INFO: org.geogebra.desktop.i.B.a[-1]: No system preferences


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.geogebra3D.a.aW[-1]: ============ runThreadToCheckInput3D


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.geogebra3D.input3D.intelRealSense.Socket.queryRegistry[-1]: reg query HKLM\Software\Intel\RSSDK\Components\ivcam : 1


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.geogebra3D.a$a.a[-1]: RealSense: No key for camera in registry


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.geogebra3D.a$a.b[-1]: zSpace: try to init


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.geogebra3D.a$a.b[-1]: zSpace: Failed to init


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 7


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 6


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.common.n.f.a[-1]: Application.getModeText(): macro does not exist: ID = 4


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.gui.i.U.b[-1]: update menu


Aug 21, 2018 2:59:51 AM


STDOUT: DEBUG: org.geogebra.desktop.b.a.e.<init>[-1]: possible missing release()


Aug 21, 2018 2:59:52 AM


STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: Checking version


Aug 21, 2018 2:59:52 AM


STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: major version check needed: no check was done yet


Aug 21, 2018 2:59:53 AM


STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: current=5000486000 newest=5000000000


Aug 21, 2018 2:59:54 AM


STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: newest_minor=5000486000


GGB file content:


<?xml version="1.0" encoding="utf-8"?>


<geogebra format="5.0" version="5.0.486.0" app="classic" platform="d" id="cc537f20-a3e3-4a75-96d9-67f254e65d60" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >


<gui>


<window width="1366" height="768" />


<perspectives>


<perspective id="tmp">


<panes>


<pane location="" divider="0.3213762811127379" orientation="1" />


</panes>


<views>


<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="4097" visible="false" inframe="false" stylebar="true" location="1,1" size="743" window="100,100,700,550" />


<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="903" window="100,100,600,400" />


<view id="2" visible="true" inframe="false" stylebar="true" location="3" size="439" window="100,100,600,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" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />


<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />


</views>


<toolbar show="true" items="0 39 73 62 | 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 14 68 | 30 29 54 32 31 33 | 25 17 26 60 52 61 | 40 41 42 , 27 28 35 , 6 | 100001 | 100002 | 100004 | 100008 100007 100005" position="1" help="false" />


<input show="true" cmd="true" top="algebra" />


<dockBar show="true" east="true" />


</perspective>


</perspectives>


<labelingStyle val="0"/>


<font size="12"/>


</gui>


<euclidianView>


<viewNumber viewNo="1"/>


<size width="903" height="592"/>


<coordSystem xZero="175.5213327651935" yZero="337.95373982179007" scale="25.5662131029818" yscale="25.56621310298209"/>


<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>


<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="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>


<axis id="1" show="false" 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"/>


</kernel>


<scripting blocked="false" disabled="false"/>


<construction title="" author="" date="">


<element type="point" label="A">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelOffset x="11" y="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="10.189364360451709" y="4.923014222869017" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<element type="point" label="B">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelOffset x="16" y="3"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="8.858514412069583" y="0.7022447849226433" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<command name="Vector">


<input a0="A" a1="B"/>


<output a0="v"/>


</command>


<element type="vector" label="v">


<show object="true" label="false"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="-1.3308499483821254" y="-4.220769437946373" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


<startPoint exp="A"/>


</element>


<element type="point" label="C">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="5.384954023354466" y="1.9409664274293843" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<element type="point" label="D">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="3.694774392604529" y="5.66662996792482" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<command name="Vector">


<input a0="C" a1="D"/>


<output a0="w"/>


</command>


<element type="vector" label="w">


<show object="true" label="false"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="-1.6901796307499373" y="3.7256635404954355" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


<startPoint exp="C"/>


</element>


<element type="point" label="E">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="19.10641459754691" y="4.026945226775936" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<element type="point" label="F">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="13.473980907818914" y="-0.8232060060453382" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<command name="Vector">


<input a0="E" a1="F"/>


<output a0="a"/>


</command>


<element type="vector" label="a">


<show object="true" label="false"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="-5.6324336897279945" y="-4.850151232821275" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


<startPoint exp="E"/>


</element>


<element type="point" label="G">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="6.14" y="-3.5" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<element type="point" label="H">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="5.12" y="-1.02" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<command name="Vector">


<input a0="G" a1="H"/>


<output a0="b"/>


</command>


<element type="vector" label="b">


<show object="true" label="false"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="-1.0199999999999996" y="2.48" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


<startPoint exp="G"/>


</element>


<command name="tag1">


<input a0="w"/>


<output a0="text1"/>


</command>


<element type="text" label="text1">


<show object="false" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<decimals val="2"/>


<auxiliary val="true"/>


<startPoint x="0.58" y="1.26" z="1.0"/>


</element>


<element type="button" label="button1">


<show object="true" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelOffset x="13" y="15"/>


<labelMode val="0"/>


<fixed val="true"/>


<auxiliary val="true"/>


<ggbscript val="SetValue(alltexts,RemoveUndefined(Sequence(If(Defined(Object("text" + (n))), Object("text" + (n))), n, 1, 200))) SetValue(duplicate,Flatten(Sequence(RemoveUndefined(Sequence(If(alltexts(a) ≟ alltexts(b), a), a, b + 1, Length(alltexts))), b, 1, Length(alltexts)))) SetValue(textnumbers,RemoveUndefined(Sequence(If(Defined(Object("text" + (n))), If(Object("text" + (n)) ≟ alltexts(duplicate(1)), n)), n, 1, 200))) SetValue(deleteinstructions,Zip("Delete(text" + (n) + ")", n, textnumbers)) SetValue(names1,RemoveUndefined(Zip(If(First(a, 3) ≟ "$1$", Take(a, 4)), a, alltexts))) SetValue(vectors1,Zip(Object(a), a, names1)) SetValue(points10,Zip(Point(a, 0), Vector(a), vectors1)) SetValue(points11,Zip(Point(a, 1), Vector(a), vectors1)) SetValue(tags1,Zip(Text(" (funi 1) " + (Distance(a, b)), Midpoint(a, b)), a, points10, b, points11)) SetValue(lines1,Zip(Line(a, b), a, points10, b, points11)) "/>


<caption val="init"/>


</element>


<command name="RemoveUndefined">


<input a0="Sequence[If[Defined[Object["text" + (n)]], Object["text" + (n)]], n, 1, 200]"/>


<output a0="alltexts"/>


</command>


<element type="list" label="alltexts">


<show object="false" label="true"/>


<objColor r="0" g="100" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="RemoveUndefined">


<input a0="Zip[If[First[a, 3] ≟ "$1$", Take[a, 4]], a, alltexts]"/>


<output a0="names1"/>


</command>


<element type="list" label="names1">


<show object="false" label="true"/>


<objColor r="0" g="100" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="Zip">


<input a0="Vector[Object[a]]" a1="a" a2="names1"/>


<output a0="vectors1"/>


</command>


<element type="list" label="vectors1">


<show object="true" label="false"/>


<objColor r="255" g="0" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="13" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="Zip">


<input a0="Point[a, 0]" a1="Vector[a]" a2="vectors1"/>


<output a0="points10"/>


</command>


<element type="list" label="points10">


<show object="false" label="false"/>


<objColor r="255" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="9"/>


<pointStyle val="2"/>


</element>


<command name="Zip">


<input a0="Point[a, 1]" a1="Vector[a]" a2="vectors1"/>


<output a0="points11"/>


</command>


<element type="list" label="points11">


<show object="false" label="false"/>


<objColor r="0" g="0" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="9"/>


<pointStyle val="2"/>


</element>


<command name="Zip">


<input a0="Text[" funi 1, " + (Distance[a, b]), Midpoint[a, b]]" a1="a" a2="points10" a3="b" a4="points11"/>


<output a0="tags1"/>


</command>


<element type="list" label="tags1">


<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"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="Zip">


<input a0="Line[a, b]" a1="a" a2="points10" a3="b" a4="points11"/>


<output a0="lines1"/>


</command>


<element type="list" label="lines1">


<show object="true" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="1" type="15" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="Flatten">


<input a0="Sequence[RemoveUndefined[Sequence[If[alltexts(a) ≟ alltexts(b), a], a, b + 1, Length[alltexts]]], b, 1, Length[alltexts]]"/>


<output a0="duplicate"/>


</command>


<element type="list" label="duplicate">


<show object="true" label="false"/>


<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>


<layer val="0"/>


<labelMode val="0"/>


<auxiliary val="true"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<listType val="numeric"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="RemoveUndefined">


<input a0="Sequence[If[Defined[Object["text" + (n)]], If[Object["text" + (n)] ≟ alltexts(duplicate(1)), n]], n, 1, 200]"/>


<output a0="textnumbers"/>


</command>


<element type="list" label="textnumbers">


<show object="true" label="false"/>


<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>


<layer val="0"/>


<labelMode val="0"/>


<auxiliary val="true"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<listType val="numeric"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="Zip">


<input a0=""Delete(text" + (n) + ")"" a1="n" a2="textnumbers"/>


<output a0="deleteinstructions"/>


</command>


<element type="list" label="deleteinstructions">


<show object="false" label="true" ev="4"/>


<objColor r="0" g="100" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<auxiliary val="true"/>


<ggbscript onUpdate="Execute(CopyFreeObject(deleteinstructions))"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<ggbscript onUpdate="Execute(CopyFreeObject(deleteinstructions))"/>


<listType val="text"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


</element>


<command name="tag1">


<input a0="a"/>


<output a0="text3"/>


</command>


<element type="text" label="text3">


<show object="false" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<decimals val="2"/>


<auxiliary val="true"/>


<startPoint x="0.58" y="1.26" z="1.0"/>


</element>


<command name="Iteration">


<input a0="addparamlist[p, points10, points11]" a1="p" a2="{{2, points10(1), points11(1)}}" a3="Length[points10] - 1"/>


<output a0="resultant"/>


</command>


<element type="list" label="resultant">


<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="-1"/>


<symbolic val="true" />


</element>


<command name="plotvector">


<input a0="resultant"/>


<output a0="u"/>


</command>


<element type="vector" label="u">


<show object="true" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="-7.322613320477931" y="-1.1244876923258396" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


<startPoint x="8.558989061096916" y="-5.055560096278123" z="1.0"/>


</element>


</construction>


</geogebra>


<?xml version="1.0" encoding="utf-8"?>


<geogebra format="5.0" version="5.0.486.0" app="classic" platform="d" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggt...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >


<macro cmdName="tag1" toolName="tag 1" toolHelp="vector" iconFile="d81d328bd62b33c156c55500b5b41145/tag1.JPG" showInToolBar="true" copyCaptions="true">


<macroInput a0="u"/>


<macroOutput a0="text1"/>


<construction title="" author="" date="">


<element type="vector" label="u">


<show object="true" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="0" playing="false"/>


<coords x="1.0" y="2.0" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


</element>


<expression label="text1" exp=""$1$" + (Name[u]) + """ />


<element type="text" label="text1">


<show object="false" label="true" ev="40"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<auxiliary val="true"/>


<startPoint x="0.58" y="1.26" z="1.0"/>


</element>


</construction>


</macro>


<macro cmdName="plotvector" toolName="plot vector" toolHelp="{i, A, B}" iconFile="" showInToolBar="true" copyCaptions="true">


<macroInput a0="L_1"/>


<macroOutput a0="c"/>


<construction title="" author="" date="">


<expression label="L_1" exp="{2, (13.113045232123852, -2.8968392426220193), (12.18, -1.54)}"/>


<element type="list" label="L_1">


<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>


<animation step="1" speed="1" type="0" playing="false"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="0"/>


<symbolic val="true" />


</element>


<command name="Vector">


<input a0="L_1(2)" a1="L_1(3)"/>


<output a0="c"/>


</command>


<element type="vector" label="c">


<show object="true" label="true"/>


<objColor r="0" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="-0.9330452321238525" y="1.3568392426220193" z="0.0"/>


<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>


<coordStyle style="cartesian"/>


<startPoint x="13.113045232123852" y="-2.8968392426220193" z="1.0"/>


</element>


</construction>


</macro>


<macro cmdName="iHvparaallpoints" toolName="iHvparaallpoints" toolHelp="{(i,0),A,B}, C, D" iconFile="" showInToolBar="true" copyCaptions="true">


<macroInput a0="parami" a1="J" a2="I"/>


<macroOutput a0="paramo"/>


<construction title="" author="" date="">


<element type="point" label="I">


<show object="true" label="true"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="24.01160830163898" y="-1.5246958786762785" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<element type="point" label="J">


<show object="true" label="true" ev="4"/>


<objColor r="77" g="77" b="255" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="1" playing="false"/>


<coords x="25.538303805846848" y="-3.8660921215646016" z="1.0"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<expression label="parami" exp="{(1, 0), (19.01502, -5.00546), (20.69926, -2.64752)}"/>


<element type="list" label="parami">


<show object="true" label="true"/>


<objColor r="255" g="0" b="0" alpha="0.10000000149011612"/>


<layer val="0"/>


<labelMode val="0"/>


<animation step="1" speed="1" type="0" playing="false"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<expression label="C" exp="parami(3)" type="point" />


<element type="point" label="C">


<show object="false" label="true"/>


<objColor r="255" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="20.69926" y="-2.64752" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="B" exp="parami(2)" type="point" />


<element type="point" label="B">


<show object="false" label="true"/>


<objColor r="255" g="0" b="0" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="19.01502" y="-5.00546" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<command name="Intersect">


<input a0="Line[B, C]" a1="Line[I, J]"/>


<output a0="M"/>


</command>


<element type="point" label="M">


<show object="false" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="172.0906395061673" y="2.3579401183622366" z="7.543329605314129"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<command name="If">


<input a0="Defined[M]" a1="M" a2="Intersect[Line[I, C + I - J], Line[C, I + C - B]]"/>


<output a0="A"/>


</command>


<element type="point" label="A">


<show object="false" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="172.0906395061673" y="2.3579401183622366" z="7.543329605314129"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="N" exp="A + C - B + I - J" type="point" />


<element type="point" label="N">


<show object="true" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="22.971162421877818" y="5.011922360920487" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="paramo" exp="{parami(1) + (1, 0), A, N}" />


<element type="list" label="paramo">


<show object="true" label="false"/>


<objColor r="0" g="0" b="255" alpha="0.10000000149011612"/>


<layer val="0"/>


<labelMode val="0"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


</construction>


</macro>


<macro cmdName="addparamlist" toolName="addparamlist" toolHelp="{i,A,B},{pts0},{pts1}" iconFile="" showInToolBar="true" copyCaptions="true">


<macroInput a0="parami" a1="L_{10}" a2="L_{11}"/>


<macroOutput a0="paramo"/>


<construction title="" author="" date="">


<expression label="L_{11}" exp="{(2.765753794656004, 2.0201400933233042)}"/>


<element type="list" label="L_{11}">


<show object="true" label="true"/>


<objColor r="0" g="100" b="0" 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"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<expression label="L_{10}" exp="{(3.214194256994519, 0.9214609605939584)}"/>


<element type="list" label="L_{10}">


<show object="true" label="true"/>


<objColor r="0" g="100" b="0" 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"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


<expression label="parami" exp="{1, (0, 1), (2, 3)}"/>


<element type="list" label="parami">


<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>


<animation step="1" speed="1" type="0" playing="false"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="0"/>


<symbolic val="true" />


</element>


<expression label="indice" exp="parami(1)" />


<element type="numeric" label="indice">


<value val="1.0"/>


<symbolic val="true" />


<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>


</element>


<expression label="Q" exp="L_{11}(indice)" type="point" />


<element type="point" label="Q">


<show object="true" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="2.765753794656004" y="2.0201400933233042" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="P" exp="L_{10}(indice)" type="point" />


<element type="point" label="P">


<show object="true" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="3.214194256994519" y="0.9214609605939584" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="M" exp="parami(2)" type="point" />


<element type="point" label="M">


<show object="true" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="0.0" y="1.0" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="N" exp="parami(3)" type="point" />


<element type="point" label="N">


<show object="true" 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="4"/>


<pointStyle val="0"/>


</element>


<command name="Intersect">


<input a0="Line[M, N]" a1="Line[P, Q]"/>


<output a0="L"/>


</command>


<element type="point" label="L">


<show object="true" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelOffset x="-20" y="-11"/>


<labelMode val="0"/>


<coords x="6.992296151111027" y="10.08653534124675" z="3.0942391901357222"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="O" exp="L + N - M + Q - P" type="point" />


<element type="point" label="O">


<show object="true" label="true"/>


<objColor r="68" g="68" b="68" alpha="0.0"/>


<layer val="0"/>


<labelMode val="0"/>


<coords x="3.8113383464239465" y="6.358457941491808" z="1.0"/>


<pointSize val="4"/>


<pointStyle val="0"/>


</element>


<expression label="paramo" exp="{indice + 1, L, O}" />


<element type="list" label="paramo">


<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>


<lineStyle thickness="5" type="0" typeHidden="1"/>


<pointSize val="5"/>


<pointStyle val="0"/>


</element>


</construction>


</macro>


</geogebra>


LibraryJavaScript:


function ggbOnInit() {}


Preferences:


<?xml version="1.0" encoding="utf-8"?><geogebra format="5.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; ><gui><window width="800" height="600" /><settings ignoreDocument="false" showTitleBar="true" /><labelingStyle val="0"/><font size="12"/><menuFont size="-1"/><tooltipSettings language="" timeout="0"/></gui><euclidianView><size width="640" height="480"/><coordSystem xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0"/><evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/><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" axisCross="0.0" positiveAxis="false"/><axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/></euclidianView><kernel><continuous val="false"/><decimals val="2"/><angleUnit val="degree"/><algebraStyle val="0"/><coordStyle val="0"/><localization digits="false" labels="true"/><angleFromInvTrig val="false"/><casSettings timeout="5" expRoots="true"/></kernel><scripting blocked="false"/></geogebra>[/co]

photo
photo
1

Hello,

I have made system that can add and remove vectors at will from a list, not necessarily by erasing them, just by clicking on them, ON/OFF type. This ON/OFF system allows easy removal of a tag applied by mistake, without having to erase the vector, that could be part of another construction. The file is very stable it seems. (see file "delete duplicates e.ggb" below).

However, as soon as I add the calculation of the resultant of forces (for which iteration is required), the file becomes extremely unstable. Almost 50% of the time, the file doesn't open again after being saved. (see file "delete duplicates with resultant.ggb")

It seems as if there was an unwanted interference between the list of object names "text" (n), utilising iterationlist, and the iteration that calculates the force resultant, utilising iteration.

Is GGB overwhelmed by too much use of iterations?

The only alternative is to use the spreadsheet, but this would be complicated, first because it involves fixing in advance the maximum number of forces, and second because it would be very difficult to organise 3 to 4 different catenaries in the same worksheet. So iteration is much more pliable. If it works...

Thanks,

Laurent

photo
1

try element(points10,1) instead points10(1) in iteraton command

sometimes the short version of element command does not work

© 2020 International GeoGebra Institute