subject

The in-class activities class on day 1 of week 11 was 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 have the user input the two data points they selected from their estimated equation of best fit. the user should also input the type of axis the data was plotted on (see test cases below for guidance on this). a set of conditional statements should be used to calculate m and b based on the type of axis the data was plotted on. the script should then output the estimated equation of best fit with the m and b values included in the equation. you do not need to provide any plots.
i do not have the test cases but they are just to check to see if the code works correctly. if it is possible write the code that could perform these actions in general for any set of data and i will test it later when i get the test cases. however these are the data for one of the
eide problem 5.14: voltage across a capacitor during discharge was recorded as a function of time as shown below:
time, t, s voltage, v, v
6 98
10 62
17 23
25 9.5
32 3.5
38 1.9
42 1.3

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
Negative methods of behavior correction include all but this: sarcasm verbal abuse setting an example for proper behavior humiliation
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
You know the right answer?
The in-class activities class on day 1 of week 11 was focused on plotting and the method of selected...
Questions
question
Mathematics, 07.07.2019 21:30
Questions on the website: 13722363