Get your original paper written from scratch starting at just $10 per page with a plagiarism report and free revisions included!
Part 1: Write a function called fixNearZeroData that finds the items in a given list where the absolute value of the item is less than or equal to a specified positive value (a “tolerance”) and replaces each of these values with zero. The function should take an argument of type list as its first parameter; the second parameter is the positive float value representing the tolerance. You can assume that all items in the list are of type float. The function should do two things: (1) modify the original list of values by replacing these near zero values, and (2) the function should also return an integer that represents the number of values that were changed.
Part 2: Execute your code sufficiently (i.e., with different input values) to demonstrate that it works sufficiently for both positive and negative values near zero
Execute your code sufficiently (i.e., with different input values) to demonstrate that it works sufficiently for both positive and negative values near zero Noon tomorrow
The aim of our service is to provide you with top-class essay help when you ask us to write my paper; we do not collect or share any of your personal data. We use the email you provide us to send you drafts, final papers, and the occasional promotion and discount code, but that’s it!Order Now