82.6k views
1 vote
ENED 1100 – Spring 2020 Homework 13.2 INDIVIDUAL ASSIGNMENT: See the course syllabus for a definition of what constitutes an individual assignment. Task 1 (of 2) The tasks for the In-Class Activity on Day 1 of Week 12 were focused on plotting and the Method of Selected Points (MSP). The purpose of this task is to develop a Python script which will determine an estimated equation of best fit using the MSP. For this task, you can assume the data has already been plotted and an estimated line of best fit has been drawn. Your script should allow the user to input the two data points they selected from their estimated equation of best fit. The user should also input the type of axes the data was plotted on (linear, log-log, or semi-log). A set of conditional statements should be used to calculate m and b based on the type of axes on which the data was plotted. The script should then output the estimated equation of best fit with the m and b values included in the equation in the form below. You do not need to provide any plots. Linear: y = m_value*x + b_value Power: y = b_value*x^m_value Exponential: y = b_value*e^(m_value*x) Test Cases: You should use the In-Class Activity 12.1 Tasks 1 to 3. If you did not complete these three activities, then it is encouraged you do prior to solving this problem. The Activities are available on the Community Site. Save your Python script as: HW13p2_Task1_TEAMXXX_6+2.py

User Walla
by
3.4k points

1 Answer

4 votes

Answer:

Check the explanation

Step-by-step explanation:

This is a question under Fundamentals of Engineering Design which includes the widespread coverage of the ways that may be taken when formulating design problems, global optimization, and the functions and uses of the Internet in the field of Mechanical Engineering.

Kindly check the step by step explanation in the attached image below:

ENED 1100 – Spring 2020 Homework 13.2 INDIVIDUAL ASSIGNMENT: See the course syllabus-example-1
User Sasha Fonseca
by
3.8k points