... inJacobi in Section 16 .3 uses the length method. Show how to rewrite the code in the following waysso as not to use the length method. 16 .9 16 .10 16 .11 Change the interface to the terminate ... visit the four cities in the following order: (1, 2, 3, 4), (1, 2, 4, 3), (1, 3, 2, 4), (1, 3, 4, 2), (1, 4, 2, 3), (1, 4, 3, 2)In the traveling salesman problem, the goal is to find the ... eachnew value is the average of two values from the current iteration and twofrom the previous iteration. In particular, new values are computed by the following loop: 16 .12 16 .13 16 .14 220Parallel...