0% found this document useful (0 votes)
21 views10 pages

EEN08 Step by Step Buhat

The document provides a step-by-step process for numerical methods and analysis problems involving linear regression, quadratic regression, and Newton and Lagrange interpolation polynomials. It outlines 12 steps to solve a linear regression problem, 14 steps to solve a quadratic regression problem, and 7 steps to solve problems using Newton and Lagrange interpolation polynomials. The document is submitted by a student for an engineering instructor and focuses on demonstrating the computational procedures for these numerical analysis methods.

Uploaded by

lavadiajhon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views10 pages

EEN08 Step by Step Buhat

The document provides a step-by-step process for numerical methods and analysis problems involving linear regression, quadratic regression, and Newton and Lagrange interpolation polynomials. It outlines 12 steps to solve a linear regression problem, 14 steps to solve a quadratic regression problem, and 7 steps to solve problems using Newton and Lagrange interpolation polynomials. The document is submitted by a student for an engineering instructor and focuses on demonstrating the computational procedures for these numerical analysis methods.

Uploaded by

lavadiajhon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

SOUTHERN LUZON STATE UNIVERSITY

College of Engineering
ELECTRICAL ENGINEERING DEPARTMENT

EEN08L- NUMERICAL METHOD AND ANALYSIS


STEP-BY-STEP PROCESS

SUBMITTED BY:

Name: EBUENGA, JHON CARLO L.


Course/Year/Section: BSEE-III GI

SUBMITTED TO:

ENGR. RIZANDY J. ARROYO


Instructor
Linear Regression
Step 1. Copy the given problem

Step 2. Solve for Xiyi, use the formula =ROUND(C13*D13, $F$3)

Drag it down after putting the formula.

Step 3. Solve for Xi^2, use the formula =ROUND(C13^2,$F$3)

Drag it down after putting the formula.

Step 4. Solve the x=, y=, a1=, a0=

In solving x= use this command =ROUND(C21/C26,$F$3)

In solving y= use this command =ROUND(D21/C26,$F$3)

In solving a1= use this command =ROUND(C30-E36*C29,$F$3)

In solving a0= use this command =ROUND(((C26*C34)-(C32*C33))/((C31*C35)-C32^2),$F$3)

Step 5. Solve for Sr, use the formula =ROUND((D13-$C$36-$E$36*C13)^2,$F$3)


Drag it down after putting the formula.

Step 6. Solve for St, use the formula =ROUND((D13-$C$30)^2,$F$3)

Drag it down after putting the formula.

Step 7. Solve for the total of ∑xi=, ∑Se(yi)=, ∑xiyi=,∑xi^2=,∑St=, and ∑Sr=

Type =ROUND(SUM(drag the column to compute total), $F$3)

Step 8. Solve for the mean of e (xi), Se (yi), xiyi, and xi^2

=ROUND(AVERAGE(drag the column to compute),$F$3)

Step 9. Solve the Sy/x= and the Sy=

In Sy/x= use the command =ROUND(SQRT(C43/(C26-2)),$F$3)

In Sy= use the command =ROUND(SQRT(C44/(C26-1)),$F$3)

Solve the r^2= and r=

In solving r^2 use the command =ROUND((C44-C43)/C44,$F$3)

In solving r= use the command =ROUND(SQRT(C48),$F$3)

In converting it into Percentage multiply it by 100

For r^2 use the command =C48*100 for r= use the command =C49*100

QUADRATIC REGRESSION
Step 1. Copy the given problem

Step 2. Solve for the xiyi, Use the command =ROUND(C13*D13,$F$3)

Drag it down after putting the command

Step 3. Solve for the Xi^2, xi^3, xi^4

=ROUND(C13^2,$F$3) just change the exponent on required exponent. Solve each 1 st cell of the
Xi^2, xi^3, xi^4 then drag it down

Step 4. Solve for the xi^2yi by using this command =ROUND(F13*D13,$F$3)

Drag it after putting the command

Step 5. In solving the total the guide formula =ROUND(SUM(drag the column to compute total),$F$3)

Step 6. Find the a0, a1, and a2


a0 a1 a2 Constant
=C21 =C20 =F20 =D20
=C20 =F20 =G20 = =E20
=F20 =G20 =H20 =I20

Step 7. Use the table in step 6 to solve for Cramer’s

Copy the given problem, solve the determinance using the command =ROUND(MDETERM(B29:D31),
$F$3)

Copy the constant in the column 1 and solve for determinance, repeat this process by moving the
constant in column 2 and 3 and solve the determinance.

Step 8. Solve a0=, a1=, a2= Divide the answer in Da0, Da1, Da2 each in the 1st determinance we obtain.

a0= =ROUND(B39/B33,$F$3)

a1= =ROUND(B45/B33,$F$3)

a2= =ROUND(B51/B33,$F$3)

Step 8. Copy the given table in step 6 and solve the Gauss Jordan

Solve the table in the given using the guide below

- Make the 1st row 1st column to 1 by using =G29/$G$29


- Make the the rest of the 1st column to 0
- Drag it side
- Make the 2nd row 2nd column to 1 by using =H38/$H$38
- Make the rest of the 2nd column to 0
- Drag it to left and right side
- Make the 3rd row 3rd column to 1 by using =I47/$I$47
- Make the rest of the 3rd column to 0
- Drag it left and right

Step 9. Solve for

a0= a1= a2=


=K45-$I$45*K51 =K46-$I$46*K51 =K47/$I$47

Step 10. Use the table in step 6 to solve for Doolittle

Step 11.
Use the command in this table to solve for L

1 0 0
=N36/N35 1 0
=N37/P49 =(O37-P46*Q49)/Q50 1

Use this command in this table to solve for U

=N35/P44 =O35/P44 =P35/P44


0 =O36-P45*Q49 =P36-P45*R49
0 0 =P37-P46*R49-Q46*R50

Cross multiply the C to the L table to obtain Y

Cross multiply Y to U to obtain X

Step 12. Solve y by using the command =ROUND(C56+E56*C58+G56*C58^2,$F$3)

Step 13.

To find the r2= use the command =ROUND(C56+E56*C58+G56*C58^2,$F$3)

To fin the r= use the command =ROUND(SQRT(C64),F3)

Step 14.

To convert the r2= and r= to percentage multiply it by 100

r2= =C64*100

r= =C65*100
NEWTON INTERPOLATING
POLYNOMIAL
Step 1. Copy the given Problem

Step 2.

Solve for f(x1,x0) use the command =ROUND((D4-D5)/(C4-C5),$R$2)

Drag it down until iteration 5

Solve for the f(x1,x0) use the command =ROUND((E4-E5)/(C4-C6),$R$2)

Drag it to the side then drag it down in a descending form

Step 3. Solve for the

Solve the first iteration of x-x0 use this command =ROUND(($R$3-$C$4),$R$2)

Then drag it to right, drag each column down into an ascending form

Step 4. Solve the product of x-x0 use the command =ROUND(PRODUCT(J4:J9),$R$2)

Then drag it to the right


Step 5.

Solve to total Product in the column S(e) Copy the first iteration to the t product

In the column

f(x1,x0) use the command =ROUND(E4*J10,$R$2)

Then drag it to right

Step 6. Solve for f(t),c= use the command =ROUND(SUM(D11:I11),$R$2)

LAGRANGE INTERPOLATING
POLYNOMIALS
Step 1. Copy the given problem

Step 2. X-xn using this form

In the 2nd column 1st row use this command =$S$5-C5 then drag it right

In the 1st column 2nd row use this command =$S$5-C6 then drag it right

In the 3rd iteration 1st column use this command =$S$5-C7 then drag it right

In the 4th iteration 1st column use this command =$S$5-C8 then drag it right

In the 5th iteration 1st column use this command =$S$5-C9 then drag it right

In the 6th iteration 1st column use this command = =$S$5-C10 then drag it right

Remember to copy the hollow descending form


Step 7. solve

Use the form hollow mid descending

In the 1st column 2nd row use this command =($C$5-C6) then drag it down

In the 2nd column 1st row use this command =($C$6-C5) the drag it down

In the 3rd column 1st row use this command =($C$7-C5) then drag it down

In the 4th column 1st row use this command =($C$8-C5) then drag it down

In the 5th column 1st row use this command =($C$9-C5) then drag it down

In the 6th column 1st row use this command =($C$10-C5) then drag it down

Remember to use the form hollow mid descending

Your outcome will be

Step 3. Solve for Product

In the 1st column of x-xn Use this command =ROUND(PRODUCT(E5:E10),$S$4) then drag it right

Step 4. locate F(x) copy the column S(e ) then put it in horizaontal format

Step 5. Solve for Total product use this command in the 1st column of x-xn
=ROUND((E11/K11)*E12,$S$4) then drag it right

Step 6. Solve for f(t),v= use the command =ROUND(SUM(drag here the Total product),$S$4)

You might also like