You answeredJUST NOW
Python
STDIN
[1.9, 1.99, 1.999]
Expected STDOUT
x = [1.9, 1.99, 1.999]
h(x) = [3.8999999999999977, 3.989999999999979, 3.99899999999986]
h(x) = [3.8999999999999977, 3.989999999999979, 3.99899999999986]
Your STDOUT
x = [1.9, 1.99, 1.999]
h(x) = [3.8999999999999977, 3.989999999999979, 3.99899999999986]
h(x) = [3.8999999999999977, 3.989999999999979, 3.99899999999986]
STDIN
[2.1, 2.01, 2.001]
Expected STDOUT
x = [2.1, 2.01, 2.001]
h(x) = [4.099999999999998, 4.009999999999977, 4.00100000000014]
h(x) = [4.099999999999998, 4.009999999999977, 4.00100000000014]
Your STDOUT
x = [2.1, 2.01, 2.001]
h(x) = [4.099999999999998, 4.009999999999977, 4.00100000000014]
h(x) = [4.099999999999998, 4.009999999999977, 4.00100000000014]
Instructor solution
Casual Calculus with Python - Chapter 4: Limits (pages 3, 4)
Miles, W. W. (2024). Casual Calculus with Python. De Gruyter. (Aug 7, 2024)
You may exit out of this review and return later without penalty.