Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions