Properties
Category
English
Similar Topics
Statistics
Comments
2
Participants
2
Subscribers
2
Votes
1
Views
559
Share
Needs Answer
I'm doing a little numerical work, and I can create an iteration and run it, either in the spreadsheet view or else with IterationList. However, I'd like to run it until consecutive values reach a certain closeness (or after a fixed number of iterations, whichever comes first).
Thus a command something like
IterationsUntil(f, x0, n, eps)
will run an iteration x <- f(x) until either n steps, or until two consecutive values differ in absolute value by eps. It could be used as
IterationsUntil(cos(x),0.5,100.1E-10)
Does this mean writing a Custom Tool using JavaScript, or is there an easier way?
Thanks!
- 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
Please post your .ggb file
Comments have been locked on this page!