Asked by Niklaus
Using the function g(x) = −2 |2 - x|+ 4 and the initial value of 1.72, what is the loop that forms after many iterations?
My answers are 2.24, 3.52, 0.96, 1.92, 3.84, 0.32, 0.64, 1.28, 2.56, and 2.88 I'm not exactly sure if this is correct because I feel like there are too many loops so if this is wrong can someone please explain to me why these are wrong?
My answers are 2.24, 3.52, 0.96, 1.92, 3.84, 0.32, 0.64, 1.28, 2.56, and 2.88 I'm not exactly sure if this is correct because I feel like there are too many loops so if this is wrong can someone please explain to me why these are wrong?
Answers
Answered by
Steve
Hmmm. I don't see any theoretical solution, but after 55 iterations g(x)=4, so that the next time
g(x) = 4-2|2-4| = 4-2*2 = 0
g(0) = 4-2|2-0| = 4-2*2 = 0
and it stays zero
Maybe roundoff error contributes to this result.
g(x) = 4-2|2-4| = 4-2*2 = 0
g(0) = 4-2|2-0| = 4-2*2 = 0
and it stays zero
Maybe roundoff error contributes to this result.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.