Question

In: Statistics and Probability

Find b0, b1, and b2  to fit the second degree parabola =b0+b1 x+b2 x2 for the following...

Find b0, b1, and b2  to fit the second degree parabola =b0+b1 x+b2 x2 for the following data:

x

1

2

3

4

y

1.7

1.8

2.3

3.2

b0 = -2, b1=-0.5, b2 = -0.2

b0 =2, b1= -0.5, b2 = 0.2

b0 =2, b1=0.5, b2 =0.2   

b0 =2, b1=0.5, b2 = -0.2   

Solutions

Expert Solution

Please note x2 = x2

                                 X3 = x3

And so on.

The equation is y=a+bx+cx2 and the normal equations are

∑y=an+b∑x+c∑x2

∑xy=a∑x+b∑x2+c∑x3

∑x2y=a∑x2+b∑x3+c∑x4


The values are calculated using the following table

x

y

x2

x3

x4

x⋅y

x2⋅y

1

1.7

1

1

1

1.7

1.7

2

1.8

4

8

16

3.6

7.2

3

2.3

9

27

81

6.9

20.7

4

3.2

16

64

256

12.8

51.2

---

---

---

---

---

---

---

∑x=10

∑y=9

∑x2=30

∑x3=100

∑x4=354

∑x⋅y=25

∑x2⋅y=80.8



Substituting these values in the normal equations


4a+10b+30c=9

10a+30b+100c=25

30a+100b+354c=80.8


Solving these 3 equations,
Total Equations are 3

4a+10b+30c=9→(1)

10a+30b+100c=25→(2)

30a+100b+354c=80.8→(3)


Select the equations (1) and (2), and eliminate the variable a.

4a+10b+30c= 9

×5→

20a

+

50b

+

150c

=

45

10a+30b+100c = 25

×2→

20a

+

60b

+

200c

=

50

-

10b

-

50c

=

-5

→ (4)



Select the equations (1) and (3), and eliminate the variable a.

4a+10b+30c        =     9

×15→

60a

+

150b

+

450c

=

135

30a+100b+354c =   80.8

× 2→

60a

+

200b

+

708c

=

161.6

-

50b

-

258c

=

-26.6

→ (5)




Select the equations (4) and (5), and eliminate the variable b.

-10b-50c =     -5

× 5→

-

50b

-

250c

=

-25

-50b-258c= -26.6

× 1→

-

50b

-

258c

=

-26.6

8c

=

1.6

→ (6)



Now use back substitution method
From (6)
8c=1.6

⇒c=1.68=0.2

From (4)
-10b-50c=-5

⇒-10b-50(0.2)=-5

⇒-10b-10=-5

⇒-10b=-5+10=5

⇒b=5-10=-0.5

From (1)
4a+10b+30c=9

⇒4a+10(-0.5)+30(0.2)=9

⇒4a+1=9

⇒4a=9-1=8

⇒a=84=2

Solution using the Elimination Method.
a=2,b=-0.5,c=0.2

Now substituting these values in the equation is y=a+bx+cx2, we get

y = 2 - 0.5 x + 0.2 x2

Please like


Related Solutions

How do you Interpret the meaning of the different coefficients (b0, b1, b2, b3,b4,…bn) in a...
How do you Interpret the meaning of the different coefficients (b0, b1, b2, b3,b4,…bn) in a multiple regression? (slightly different from the interpretation in simple regression)
Air Transporation model Model Y = bo + b1* x1 + b2 * x2 For the...
Air Transporation model Model Y = bo + b1* x1 + b2 * x2 For the 1st case, the Dependent variable is:- Revenue passenger per mile This variable is dependent on the independent variables like [ load factor and enplanements For 2nd case, the Dependent variable is:- Load factor This variable is dependent on the two independent variables like [ available seats and enplanement ] What is the model assumptions? Also how these models related to past economic theory on...
Consider the following model: YIELDi = B1 + B2 x RAINFALL + ui Yield is measured...
Consider the following model: YIELDi = B1 + B2 x RAINFALL + ui Yield is measured in tons per acre and rainfall is measured in liters. Answer the questions: What would happen to the value of B1 and of B2   if yield were to be measured in kilograms (kg) per acre instead of tons (1 ton = 1,000 kg). Rainfall is still measured in liters. What would happen to the value of  B1 and of B2    if rainfall were to...
A. Assume b0 = 12.953, and b1 = -2.5. For x = 25, predict y. Round...
A. Assume b0 = 12.953, and b1 = -2.5. For x = 25, predict y. Round to 3 digits. B. if x is increased by 10 units, how much does y-hat change? Round to 3 digits. Use the points to answer the following: x y 12 17 21 15 28 22 8 19 20 24 C. How much correlation is there between x and y? Round to four decimals and use leading zeros if necessary. D. How much of the...
The equation of parabola is x2 = 4ay . Find the length of the latus rectum...
The equation of parabola is x2 = 4ay . Find the length of the latus rectum of the parabola and length of the parabolic arc intercepted by the latus rectum. (a) Length of latusrectum : 4a; Length of the intercepted arc : 4.29a (b)Length of latusrectum: —4a; Length of the intercepted arc : 4.39a (c) Length of latusrectum: —4a; Length of the intercepted arc : 4.49a (d) Length of latusrectum: 4a; Length of the intercepted arc : 4.59a
Parametrize the osculating circle to the parabola y = x2 at x = -1
Parametrize the osculating circle to the parabola y = x2 at x = -1
Suppose f is a degree n polynomial where f(a1) = b1, f(a2) = b2, · ·...
Suppose f is a degree n polynomial where f(a1) = b1, f(a2) = b2, · · · f(an+1) = bn+1 where a1, a2, · · · an+1 are n + 1 distinct values. We will define a new polynomial g(x) = b1(x − a2)(x − a3)· · ·(x − an+1) / (a1 − a2)(a1 − a3)· · ·(a1 − an+1) + b2(x − a1)(x − a3)(x − a4)· · ·(x − an+1) / (a2 − a1)(a2 − a3)(a2 − a4)·...
%Purpose: %Fit a first degree polynomial, %a second-degree polynomial, %and a third-degree polynomial to these data...
%Purpose: %Fit a first degree polynomial, %a second-degree polynomial, %and a third-degree polynomial to these data %Plot all three plots (along with the original data points) %together on the same plot and determine the BEST fit %After determining the best fit add additional code to the end of your script %to predict the pressure at t = 11 seconds from the best-fitting curve %INPUT VARIABLES: t = 1:0.05:10; p = [26.1,27,28.2,29,29.8,30.6,31.1,31.3,31,30.5]; d1 = polyfit( t, p, 1 ); %first degree...
Let f(x) = 1 + x − x2 +ex-1. (a) Find the second Taylor polynomial T2(x)...
Let f(x) = 1 + x − x2 +ex-1. (a) Find the second Taylor polynomial T2(x) for f(x) based at b = 1. b) Find (and justify) an error bound for |f(x) − T2(x)| on the interval [0.9, 1.1]. The f(x) - T2(x) is absolute value. Please answer both questions cause it will be hard to post them separately.
Translate the phrases to a system of linear equations: y= a1*x+b1 and y=a2*x+b2 with a variables,...
Translate the phrases to a system of linear equations: y= a1*x+b1 and y=a2*x+b2 with a variables, e.g. x and y. What do the y-intercepts represent in your example? What does the solution (or intersection) represent in your example? Solve the system of equation for x and y.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT