Properties
Category
English
Tags
custom_tool updating
Similar Topics
Statistics
Comments
1
Participants
1
Subscribers
25
Votes
1
Views
862
Share
Solved
I have a slider "a", a function f(x)=x^2 and a function g_a(x)=f(x+a);
Now I create a list with
L_1=Sequence(NIntegral(g_a,0,i),i,0,10) - if I move the slider L_1 is updated!
Now I create a custom tool with
Input: g_a Name:getIntList Output:List L_1
If I use it now with L_2=getIntList(g_a) - L_2 is created; if the slider is moved L_2 get NOT updated! Is there a way to do this?
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
What I found out in the meantime:
g_a(x) is dependent from f(x) and slider a;
so if you create a custom tool with Input: Function f and Number a instead of g_a alone the updating mechanism
of List "getListInt(f,a)" is working, for example getListInt(x^3,a) works (if slider a is existing).
The graph of x^3 will be drawn, but not the area-bars of the integrals as will be done in the template for the custom tool - but that's not real limitation.
The problem can be tagged as answered - BUT in the documentation for "custom tools" a note for such dependent objects should be added!
Comments have been locked on this page!