You answeredJUST NOW
Python
STDIN
[1.1, 1.01, 1.001]
Expected STDOUT
x = [1.1, 1.01, 1.001]
f(x) = [3.5400000000000005, 3.0504, 3.005003999999999]
f(x) = [3.5400000000000005, 3.0504, 3.005003999999999]
Your STDOUT
x = [1.1, 1.01, 1.001]
f(x) = [3.5400000000000005, 3.0504, 3.005003999999999]
f(x) = [3.5400000000000005, 3.0504, 3.005003999999999]
STDIN
[4.1, 4.01, 4.001]
Expected STDOUT
x = [4.1, 4.01, 4.001]
f(x) = [56.94, 54.29039999999999, 54.029004000000015]
f(x) = [56.94, 54.29039999999999, 54.029004000000015]
Your STDOUT
x = [4.1, 4.01, 4.001]
f(x) = [56.94, 54.29039999999999, 54.029004000000015]
f(x) = [56.94, 54.29039999999999, 54.029004000000015]
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.