Properties
Category
English
Similar Topics
Statistics
Comments
6
Participants
3
Subscribers
3
Votes
1
Views
508
Share

How to apply a multi-variable function to the elements of a list
Answered
I have function f with n arguments and a list L with n elements. How can I apply f to the elements of L?
For example, we have the function
Conic( <Point>, <Point>, <Point>, <Point>, <Point> )and a list
L={(0,0),(0,1),(1,0),(3,6),(6,3)}I have to write
Conic(Element(L,1),Element(L,2),Element(L,3),Element(L,4),Element(L,5))
to get the conic through the five points so that the conic will update when L is changed.
However it takes a lot of time to write Element(L,1) ... Element(L,5)
How can I do it in a simpler way?
- 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
better if you begin with 5 points and create conic(A,B,C,D,E) . if you want also the set type {A,B,C,D,E} in new input
or you can type conic(L(1),L(2),L(3),L(4),L(5))
Yes, there's a shortcut for this command. Try simply
Comments have been locked on this page!