<![CDATA[Managing variable situation (complex conditional scripting?)]]>
https://help.geogebra.org/topic/managing-variable-situation-complex-conditional-scripting
Wed, 08 May 2019 11:36:12 +0000Sun, 05 May 2019 09:51:26 +0000Zend_Feed<![CDATA[Maybe something like this? Sort(Join({Intersect(f,y=f(x_0) - e )},{Intersect(f,y=f(x_0) + e )}))]]>
https://help.geogebra.org/topic/managing-variable-situation-complex-conditional-scripting#comment-260472
Sun, 05 May 2019 20:30:23 +0000<![CDATA[Thank you so much for your suggestion, it made me study a little bit deeper the usage of lists and their commands. I guess that what I need would be something like (pseudo-code) P=(x_0, f(x_0))
L1 = Sort(Join({Intersect(f,y=f(x_0) - e )}, {P}, {Intersect(f,y=f(x_0) + e )}))
x_{min} = L1[IndexOf(L1, P)-1].x
x_{max} = L1[IndexOf(L1, P)+1].xor something like that. I haven't checked yet a similar approach (and thus I do not now whether a function like IndexOf() is available or not) because meanwhile I focused on building manual tools which should allow students to build their own interval and play with them, hopefully making them understand better the underlying ideas. I'm sharing here what I've done, as an alternative solution to my original problem. A rough example of such tool is available here (sorry, in Italian) https://www.geogebra.org/m/syqtwvs6 Find attached the .ggt file with the tools. As soon as I'll have the time to check the way you suggested, Micheal, I'll update this thread. Meanwhile thank you again very much!]]>
https://help.geogebra.org/topic/managing-variable-situation-complex-conditional-scripting#comment-260674
Wed, 08 May 2019 11:36:12 +0000