Assignment 7 8

course Mth 163

??????|`z?????Student Name:

Your work has been received. Please scroll through the document to see any inserted notes (inserted at the appropriate place in the document, in boldface) and a note at the end. The note at the end of the file will confirm that the file has been reviewed; be sure to read that note. If there is no note at the end, notify the instructor through the Submit Work form, and include the date of the posting to your access page.

assignment #007

.................................................

......!!!!!!!!...................................

20:44:51

`q001. Note that this assignment has 8 questions

Sketch a graph of the following (x, y) points: (1,2), (3, 5), (6, 6). Then sketch the straight line which appears to come as close as possible, on the average, to the four points. Your straight line should not actually pass through any of the given points. Describe how your straight line lies in relation to the points.

Give the coordinates of the point at which your straight line passes through the y axes, and give the coordinates of the x = 2 and x = 7 points on your straight line.

Determine the slope of the straight line between the last two points you gave.

......!!!!!!!!...................................

RESPONSE -->

The graph lies above the points (1,2) and 6,6) and below the point (3,5). It makes a straight line between these points. The graph looks as though it crosses the y axis at (0,1.5). when x=2 y=3 and when x=7 y= 8. With these points the slope is 5/5 or 1

.................................................

......!!!!!!!!...................................

20:45:45

Your straight line should pass above the first and third points and beneath the second. If this is not the case the line can be modified so that it comes closer on the average to all three points.

The best possible straight line passes through the y-axis near y = 2. The x = 2 point on the best possible line has a y coordinate of about 3, and the x = 7 point has a y coordinate of about 7. So the best possible straight line contains points with approximate coordinate (2,3) and (5,7).

The slope between these two points is rise/run = (7 - 3)/(5 - 2) = 4 / 5 = .8.

Note that the actual slope and y intercept of the true best-fit line, to 3 significant figures, are .763 and 1.79.

......!!!!!!!!...................................

RESPONSE -->

my second y coordinate was 8 instead of three. my graph was probably a little off.

.................................................

......!!!!!!!!...................................

20:46:21

.763 x + 1.79

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

......!!!!!!!!...................................

20:58:01

`q002. Plug coordinates of the x = 2 and x = 7 points into the form y = m x + b to obtain two simultaneous linear equations. Give your two equations. Then solve the equations for m and b and substitute these values into the form y = m x + b. What equation do you get?

......!!!!!!!!...................................

RESPONSE -->

when i plug the coordinates in i get the equations

3=2m+b

7=7m+b

.................................................

......!!!!!!!!...................................

21:02:41

Plugging the coordinates (2,3) and (7, 6) into the form y = m x + b we obtain the equations

3 = 2 * m + b

5 = 7 * m + b.

Subtracting the first equation from the second will eliminate b. We get 4 = 5 * m. Dividing by 5 we get m = 4/5 = .8.

Plugging m = .8 into the first equation we get 3 = 2 * .8 + b, so 3 = 1.6 + b and b = 3 - 1.6 = 1.4.

Now the equation y = m x + b becomes y = .8 x + 1.4.

Note that the actual best-fit line is y = .763 x + 1.79, accurate to three significant figures.

......!!!!!!!!...................................

RESPONSE -->

I forgot to type in my answer for the y=mx+b before i hit the enter response. I got the answer y=.8x+1.4

.................................................

......!!!!!!!!...................................

21:08:13

`q003. Using the equation y = .8 x + 1.4, find the coordinates of the x = 1, 3, and 6 points on the graph of the equation.

......!!!!!!!!...................................

RESPONSE -->

when

x=1 y= 2.2

x=3 y=3.8

x=6 y=6.2

.................................................

......!!!!!!!!...................................

21:08:20

Evaluating y =.8 x + 1.4 at x = 1, 3, and 6 we obtain y values 2.2, 3.8, and 6.2.

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

......!!!!!!!!...................................

21:09:55

`q004. The equation y = .8 x + 1.4 gives you points (1, 2.2), (3, 3.8), and (6,6.2). How close, on the average, do these points come to the original data points (1,2), (3, 5), and (6, 6)?

......!!!!!!!!...................................

RESPONSE -->

These points are pretty close to the original points. The only big difference is on the (3,5) point

.................................................

......!!!!!!!!...................................

21:10:14

(1, 2.2) differs from (1, 2) by the .2 unit difference between y = 2 and y = 2.2.

(3, 3.8) differs from (3, 5) by the 1.2 unit difference between y = 5 and y = 3.8.

(6, 6.2) differs from (6, 6) by the .2 unit difference between y = 6 and y = 6.2.

{}The average discrepancy is the average of the three discrepancies:

ave discrepancy = ( .2 + 1.2 + .2 ) / 3 = .53.

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

......!!!!!!!!...................................

21:19:28

`q005. Using the best-fit equation y =.76 x + 1.79, with the numbers accurate to the nearest .01, how close do the predicted points corresponding to x = 1, 3, and 6 come to the original data points (1,2), (3, 5), and (6, 6)?

......!!!!!!!!...................................

RESPONSE -->

I think they will differ by .5 or less

except for the middle point where the discrepancy will be the greatest

.................................................

......!!!!!!!!...................................

21:19:52

Evaluating y =.76 x + 1.79 at x = 1, 3 and 6 we obtain y values 2.55, 4.07 and 6.35. This gives us the points (1,2.55), (3,4.07) and (6, 6.35). These points lie at distances of .55, .93, and .35 from the original data points.

The average distance is (.55 + .93 + .35) / 3 = .58 from the points.

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

......!!!!!!!!...................................

21:36:04

`q006. The average distance of the best-fit line to the data points appears to greater than the average distance of the line we obtain by an estimate. In fact, the best-fit line doesn't really minimize the average distance but rather the square of the average distance. The distances for the best-fit model are .55, .93 and .35, while the average distances for our first model are .2, 1.2 and .2. Verify that the average of the square distances is indeed less for the best-fit model.

......!!!!!!!!...................................

RESPONSE -->

yes the averages are less for the best fit model

.55^2 = .3025

.93^2 = .8649

.35^2 = .1225

average=.429

.2^2 = .04

1.2^2 = 1.44

.2^2 = .04

average=.506

.................................................

......!!!!!!!!...................................

21:36:39

The square distances for the best-fit model are .55^2 = .30, .93^2 = .87 and .35^2 = .12. The average of these square distances is (.30 + .87 + .12) / 3 = .43.

The squared distances for the first model are .2^2 = .04, 1.2^2 = 1.44 and .2^2 = .04, so the average of the square distances for this model is (.04 + 1.44 + .04) / 3 = .51.

Thus the best-fit model does give the better result.

We won't go into the reasons here why it is desirable to minimize the square of the distance rather than the distance. When doing eyeball estimates, you don't really need to take this subtlety into account. You can simply try to get is close is possible, on the average, to the points.

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

......!!!!!!!!...................................

21:42:46

`q007. If the original data points (1,2), (3, 5), and (6, 6) represent the selling price in dollars of a bag of widgets vs. the number of widgets in the bag, then how much is paid for a bag of 3 widgets? How much would you estimate a bag of 7 widgets would cost?

......!!!!!!!!...................................

RESPONSE -->

3 would cost 5 dollars

7 would cost 7 dollars

.................................................

......!!!!!!!!...................................

21:43:34

If we use the best-fit function y =.76 x + 1.79, noting that y represents the cost and x the number of widgets, then the cost of 3 widgets is

y = .76 * 3 + 1.79 = 4.05, representing cost of $4.05.

The cost of 7 widgets would be

y = .76 * 7 + 1.79 = 7.11. The cost of 7 widgets would be $7.11.

......!!!!!!!!...................................

RESPONSE -->

I estimated the values off the graph instead of plugging them into the equation

Good estimates. I trust you also know how to plug values into the equations.

.................................................

......!!!!!!!!...................................

21:45:09

`q008. According to the function y = .8 x + 1.4, how much will a bag of 7 widgets cost? How many widgets would you expect to get for $10?

......!!!!!!!!...................................

RESPONSE -->

7 would cost 7 dollars

10 dollars would be about 1.2 widgets

.................................................

......!!!!!!!!...................................

21:45:46

Using the model we obtained, y = .8 x + 1.4, we note that the cost is represented by y and the number of widgets by acts. Thus we can find cost of 7 widgets by letting x = 7:

cost = y = .8 * 7 + 1.4 = 7.

To find the number of widgets you can get for $10, let y = 10. Then the equation becomes

10 = .8 x + 1.4.

We easily solve this equation by subtracting 1.4 from both sides than dividing by .8 to obtain x = 10.75. That is, we can buy 10.75 widgets with $10.

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

?????????€T?????Student Name:

assignment #008

.................................................

......!!!!!!!!...................................

22:11:16

`q001. Note that this assignment has 4 questions

For the function y = 1.1 x + .8, what are the coordinates of the x = 2 and x = 9 points? What is the rise between these points and what is the run between these points? What therefore is the slope between these points?

......!!!!!!!!...................................

RESPONSE -->

x=2 y=3

x=9 y=10.7

rise 7.7

run 7

slope 1.1

.................................................

......!!!!!!!!...................................

22:11:24

Evaluating y = 1.1 x +.8 for x = 2 and x = 9 we obtain y = 3 and y = 10.7. The graph points are therefore (2,3) and (9,10.7).

The rise between these points is 10.7 - 3 = 7.7 and the run is 9-2 = 7. Thus the slope is 7.7 / 7 = 1.1.

......!!!!!!!!...................................

RESPONSE -->

OK

.................................................

......!!!!!!!!...................................

22:16:56

`q002. For the function y = 1.1 x + .8, what are the coordinates of the x = a point, in terms of the symbol a? What are the coordinates of the x = b point, in terms of the symbol b?

......!!!!!!!!...................................

RESPONSE -->

a, y-.8/1.1

b, y-.8/1.1

.................................................

......!!!!!!!!...................................

22:17:43

If x = a, then y = 1.1 x + .8 gives us y = 1.1 a + .8.

If x = b, then y = 1.1 x + .8 gives us y = 1.1 b + .8. Thus the coordinates of the x = a point are (a, 1.1 a + .8) and (b, 1.1 b + .8).

......!!!!!!!!...................................

RESPONSE -->

i subtracted to get a and b by themselves

.................................................

......!!!!!!!!...................................

22:19:43

`q003. We see that the coordinates of the x = a point are (a, 1.1 a + .8) and (b, 1.1 b + .8). What therefore is the rise between these two points? What is the run between these two points?

......!!!!!!!!...................................

RESPONSE -->

rise 1.1a + .8 - 1.1b +.8

run a-b

.................................................

......!!!!!!!!...................................

22:21:52

The rise between the points is the rise from y = 1.1 a + .8 to y = 1.1 b + .8, a rise of

rise = (1.1 b + .8) -(1.1 a + .8) = 1.1 b + .8 - 1.1 a - .8 = 1.1 b - 1.1 a.

The run is from x = a to x = b, a run of

run = b - a.

......!!!!!!!!...................................

RESPONSE -->

i did a-b instead of b-a

.................................................

......!!!!!!!!...................................

22:27:53

`q004. We see that the rise between the x = a and x = b points of the graph of y = 1.1x +.8 is 1.1 b + .8 - (1.1 a + .8), while the run is b - a. What therefore is the average slope of the graph between these points? Simplify your answer.

......!!!!!!!!...................................

RESPONSE -->

(1.1b+.8)-(1.1a+.8)/b-a

I dont understand how to simplify this

.................................................

......!!!!!!!!...................................

22:29:49

The slope is

slope = rise / run = (1.1 b - 1.1 a) / (b - a) = 1.1 (b - a) / (b - a) = 1.1.

The significance of this series of exercises is that the slope between any two points of the straight line y = 1.1 x + .8 must be 1.1, no matter whether the points are given by numbers (e.g., x = 2 and x = 9) or by symbols (x = a and x = b). Mostly

......!!!!!!!!...................................

RESPONSE -->

1.1 must be the slope because its in the form y=mx+b where m is the slope

Also be sure you understand why your correct expression (note my added signs of grouping, which you should also include)

[(1.1b+.8)-(1.1a+.8)]/(b-a)

simplifies to give you 1.1.

.................................................

"

Good. Let me know if you have questions.