Commit 27ec1842 authored by Adam Blank's avatar Adam Blank
Browse files

Update taylor.py

parent 09d430a0
No related merge requests found
Showing with 0 additions and 1 deletion
+0 -1
......@@ -76,7 +76,6 @@ def arctan(x):
prev_value = estimate('arctan', a + 1, a, prev_value)
total_error += max_error('arctan', a, a + 1)
a += 1
print(total_error)
return estimate('arctan', x, floor(x), prev_value), total_error + max_error('arctan', floor(x), x)
if __name__ == "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment