Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def check_accuracy(reference, approximation, precision, start, end, resolution):
- inaccurate_zones = []
- x = start
- while x <= end:
- if abs(reference(x) - approximation(x)) > precision:
- inaccurate_zones.append(x)
- x += resolution
- return inaccurate_zones
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement