assignment2

course mth 163

????????????Student Name: assignment #002

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.

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

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

17:50:07

`q001. Note that this assignment has 8 questions

Begin to solve the following system of simultaneous linear equations by first eliminating the variable which is easiest to eliminate. Eliminate the variable from the first and second equations, then from the first and third equations to obtain two equations in the remaining two variables:

2a + 3b + c = 128

60a + 5b + c = 90

200a + 10 b + c = 0. NOTE SOLN IS -1, 10, 100.

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

RESPONSE -->

subtracting the first from the second, I get

58a + 2b = -38

subtracting the first from the third, i get

198a + 7b = -128

to elimiated b, i multiply the first equation by 7, and the second by -2.

406a + 14b = -266

-396a - 146 = 256

10a = -10

a = -1

then substitue a back into 58a + 2b = -38

58(-1) + 2b = -38

2b = 20

b = 10

then substitute a and b into one of the original euqations:

2(-1) + 3(10) + c = 128

28 + c = 128

c = 100

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

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

17:50:47

The variable c is most easily eliminated. We accomplish this if we subtract the first equation from the second, and the first equation from the third, replacing the second and third equations with respective results.

Subtracting the first equation from the second, are left-hand side will be the difference of the left-hand sides, which is (60a + 5b + c )- (2a + 3b + c ) = 58 a + 2 b. The right-hand side will be the difference 90 - 128 = -38, so the second equation will become

'new' 2d equation: 58 a + 2 b = -38.

The 'new' third equation by a similar calculation will be

'new' third equation: 198 a + 7 b = -128.

You might have obtain this system, or one equivalent to it, using a slightly different sequence of calculations.

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

RESPONSE -->

okay

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

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

17:54:07

`q002. Solve the two equations

58 a + 2 b = -38

198 a + 7 b = -128

, which can be obtained from the system in the preceding problem, by eliminating the easiest variable.

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

RESPONSE -->

(58a + 2b)7 = (-38)7

(198a + 7b)-2 = (-128)-2

406a + 14b = -266

-396a - 14b = 256

10a = -10

a = -1

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

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

17:54:31

Neither variable is as easy to eliminate as in the last problem, but the coefficients of b a significantly smaller than those of a. So we will eliminate b.

To eliminate b we will multiply the first equation by -7 and the second by 2, which will make the coefficients of b equal and opposite. The first step is to indicate the program multiplications:

-7 * ( 58 a + 2 b) = -7 * -38

2 * ( 198 a + 7 b ) = 2 * (-128).

Doing the arithmetic we obtain

-406 a - 14 b = 266

396 a + 14 b = -256.

Adding the two equations we obtain

-10 a = 10,

so we have

a = -1.

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

RESPONSE -->

ok.

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

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

17:55:55

`q003. Having obtained a = -1, use either of the equations

58 a + 2 b = -38

198 a + 7 b = -128

to determine the value of b. Check that a = -1 and the value obtained for b are validated by the other equation.

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

RESPONSE -->

58(-1) + 2b = -38

2b = 20

b = 10

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

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

17:55:59

You might have completed this step in your solution to the preceding problem.

Substituting a = -1 into the first equation we have

58 * -1 + 2 b = -38, so

2 b = 20 and

b = 10.

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

RESPONSE -->

ok

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

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

17:56:25

`q004. Having obtained a = -1 and b = 10, determine the value of c by substituting these values for a and b into any of the 3 equations in the original system

2a + 3b + c = 128

60a + 5b + c = 90

200a + 10 b + c = 0.

Verify your result by substituting a = -1, b = 10 and the value you obtained for c into another of the original equations.

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

RESPONSE -->

2(-1) + 3(10) + c = 128

28 + c = 128

c = 100

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

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

17:56:37

Using first equation 2a + 3b + c = 128 we obtain 2 * -1 + 3 * 10 + c = 128, which was some simple arithmetic gives us c = 100.

Substituting these values into the second equation we obtain

60 * -1 + 5 * 10 + 100 = 90, or

-60 + 50 + 100 = 90, or

90 = 90.

We could also substitute the values into the third equation, and will begin obtain an identity. This would completely validate our solution.

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

RESPONSE -->

ok

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

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

17:58:14

`q005. If a graph of y vs. x contains the points (1, -2), (3, 5) and (7, 8), as was the case for the graph you sketched in the preceding assignment, then what equation do we get if we substitute the x and y values corresponding to the point (1, -2) into the form y = a x^2 + b x + c?

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

RESPONSE -->

-2 = a(1^2) + (1)b + c

a + b + c = -2

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

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

17:58:18

We substitute y = -2 and x = 1 to obtain the equation

-2 = a * 1^2 + b * 1 + c, or

a + b + c = -2.

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

RESPONSE -->

ok

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

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

18:01:53

`q006. If a graph of y vs. x contains the points (1, -2), (3, 5) and (7, 8), as was the case in the preceding question, then what equations do we get if we substitute the x and y values corresponding to the point (3, 5), then (7, 8) into the form y = a x^2 + b x + c?

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

RESPONSE -->

for (3, 5):

5 = a(3^2) + b(3) + c

9a + 3b + c = 5

for (7, 8):

8 = a(7^2) + b(7) + c

49a + 7b + c = 8

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

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

18:02:27

Using the second point we substitute y = 5 and x = 3 to obtain the equation

5 = a * 3^2 + b * 3 + c, or

9 a + 3 b + c = 5.

Using the third point we substitute y = 8 and x = 7 to obtain the equation

8 = a * 7^2 + b * 7 + c, or

49 a + 7 b + c = 7.

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

RESPONSE -->

okay

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

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

18:12:52

`q007. If a graph of y vs. x contains the points (1, -2), (3, 5) and (7, 8), as was the case in the preceding question, then what system of equations do we get if we substitute the x and y values corresponding to the point (1, -2), (3, 5), and (7, 8), in turn, into the form y = a x^2 + b x + c? What is the solution of this system?

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

RESPONSE -->

a + b + c = -2

9a + 3b + c = 5

49a + 7b + c = 7

8a + 2b = 7

48a + 6b = 9

(8a + 2b)3 = 21

(48a + 6b)-1 = -9

28a + 6b = 21

-48a - 6b = -9

-20a = 12

a = .6

8(.6) + 2b = 7

4.8 + 2b = 7

2b = 2.2

b = 1.1

9(.6) + 3(1.1) + c = 5

5.4 + 3.3 + c = 5

c = -3.7

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

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

18:26:41

The system consists of the three equations obtained in the last problem:

a + b + c = -2

9 a + 3 b + c = 5

49 a + 7 b + c = 8.

This system is solved in the same manner as in the preceding exercise. However the solutions don't come out to be whole numbers. The solution of this system, in decimal form, is approximately

a = - 0.45833,

b = 5.33333 and c = - 6.875.

If you obtained a different system, you should show the system of two equations you obtained when you eliminated c, then indicate what multiple of each equation you put together to eliminate either a or b.

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

RESPONSE -->

whoa. obviously i messed up somewhere.

I tried working it again, and got

8a + 2b = 7

40a + 4b = 3

(8a + 2b)-4 = -28

(40a + 4b)2 = 6

-32a - 8b = -28

80a + 8b = 6

48a = -22

a = -0.45833

8(-.45833) + 2b = 7

-3.66664 + 2b = 7

2b = 10.66664

b = 5.33332

-0.45833 + 5.33332 + c = -2

c= -6.87499

which is right. i'm not sure what i did the first time.

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

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

18:40:12

`q008. Substitute the values you obtained in the preceding problem for a, b and c into the form y = a x^2 + b x + c. What function do you get? What do you get when you substitute x = 1, 3, 5 and 7 into this function?

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

RESPONSE -->

y = -0.45833x^2 + 5.33332x - 6.87499

y = -0.45833(1^2) + 5.33332(1) - 6.87499

y = -2

y = -0.45833(3^2) + 5.33332(3) - 6.87499

y = -4.12497 + 15.99996 - 6.87499

y = 5

y = -0.45833(5^2) + 5.33332(5) - 6.87499

y = -11.45825 + 26.6666 - 6.87499

y = 8.33336

y = -0.45833(7^2) + 5.33332(7) - 6.87499

y = -22.45817 + 37.33324 - 6.87499

y = 8

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

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

18:40:30

Substituting the values of a, b and c into the given form we obtain the equation

y = - 0.45833 x^2 + 5.33333 x - 6.875.

When we substitute 1 into the equation we obtain y = -.45833 * 1^2 + 5.33333 * 1 - 6.875 = -2.

When we substitute 3 into the equation we obtain y = -.45833 * 3^2 + 5.33333 * 3 - 6.875 = 5.

When we substitute 5 into the equation we obtain y = -.45833 * 5^2 + 5.33333 * 5 - 6.875 = 8.33333.

When we substitute 7 into the equation we obtain y = -.45833 * 7^2 + 5.33333 * 7 - 6.875 = 8.

Thus the y values we obtain for our x values gives us the points (1, -2), (3, 5) and (7, 8) we used to obtain the formula, plus the point (5, 8.33333).

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

RESPONSE -->

ok

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

"

You're doing very well so far. Let me know if you have questions.