Properties
Category
English
Similar Topics
Statistics
Comments
9
Participants
3
Subscribers
0
Votes
1
Views
3085
Share
How to evaluate functions in a list ?
Answered
Hello,
I have a list of functions, for instance
 V = {0.2x  3y = 7, 2x  7y = 5}
I would like to evaluate all the functions in the list for a given value of x, say for instance x = 1. I would like to do this using a Sequence statement. Is this possible ?
Thank you for your help,
John.
 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
© 2022 International GeoGebra Institute
The List commands may of some assistance. There are several, click on the link.
Tony
Hi Noel,
Yes, I put a list of lines for simplicity's sake. I could have any kind of function in the list. Are you suggesting a solution that I am not seeing ?
John
Hi Noel,
That is great. How do I do that in the Algebra View ?
Hi Noel,
Thank you.
Ideally, I'd like something that I can feed to a Sequence command. What you mentioned made me think of an alternative, instead of defining the function variable as x, I could define it as a (a plain number) then change the value of a resulting in the functions being automatically evaluated. That's pretty close to the Substitute command you showed previously which would be very nice to have in the Algebra View.
hello
saludos
https://ggbm.at/2581043
Hello mathmagic,
Perfect! That will work like a charm :)
Thank you! Muchissimas gracias otra vez!
Saludos,
John.
This is what I was talking about. Simple example. Select function from drop down.
Tony
https://ggbm.at/2581523
Hi Tony,
Thank you. That is nice and I would use it if I could. I appreciate it.
The problem is that I have to evaluate the values in a script, I cannot have user intervention such as selecting a function from the list. The function to be used is calcuated from a list of functions then those functions need to be evaluated at certain points. All of that in a Sequence command that goes through the whole list.
John.
That might be possible by adding values for the coefficients using random numbers.
Tony
Comments have been locked on this page!