Question: a ) Write a linear program to find an equation of the linear function f ( x ) = a x + b that best
a Write a linear program to find an equation of the linear function
that best fits the following points in the sense:
b Solve this linear problem using scipy optimmize. linprog. Include a printout
or a screenshot showing your code and the results of computations.
c Write the equation of the function computed in part b and plot this
function together with the points given in part a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
