6. Compare data structures for polynomials. Write a code snippet that uses both a list and a dictionary to represent the polynomial − 1 2 + 2x 100. Print the list and the dictionary, and use them to...


6. Compare data structures for polynomials. Write a code snippet that uses both a list and a dictionary to represent the polynomial − 1 2 + 2x 100. Print the list and the dictionary, and use them to evaluate the polynomial for x = 1.05 (you can apply the poly1 and poly2 functions from Chapter 6.2.3). Name of program file: poly_repr.py.



Nov 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here