Question: Using Python coding 2. The following table displays the thermal efficiencies of some of the early steam engines Year 1718 1767 1774 1775 1792 1816
Using Python coding

2. The following table displays the thermal efficiencies of some of the early steam engines Year 1718 1767 1774 1775 1792 1816 1828 1834 1878 1906 Efficiency (in %) 0.5 0.8 Type Newcomen Smeatorn Smeatorn Watt Watt Woolf compound Improved Cornish Improved Cornish Corliss compound Triple expansion 2.7 12.0 17.2 23.0 Write a Python program to determine the polynomial that provides the best fit and use it to predict the thermal efficiency in the year 2000 Implement the following steps to achieve that 1. Write code that can generate a polynomial of any degree 'n' based on the table and show you the plot of the polynomial against the data set. 2. Start from a degree 'n', look at the plot and shape of the curve and decide whether that curve is the best fit or not. Your criteria is for the curve to reasonably follow the trend in the data, but also have the smallest degree possible Once you have decided on the curve, ask the code to print the predicted efficiency value for the year 2000 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
