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, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
question
Computers and Technology, 24.06.2019 08:00
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
Technology has changed communications by replacing or supplementing traditional modes of communication that were primarily
Answers: 2
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, 04.03.2021 23:30
question
Mathematics, 04.03.2021 23:30
question
Biology, 04.03.2021 23:30
question
Mathematics, 04.03.2021 23:30
question
Mathematics, 04.03.2021 23:30
Questions on the website: 13722361