Sei sulla pagina 1di 6

ESCUELA SUPERIOR POLITÉCNICA DE CHIMBORAZO

FACULTAD DE MECÁNICA
ESCUELA DE INGENIERÍA MECÁNICA

TAREA N°

MÉTODOS NUMÉRICOS

Presentado por:
JOSUÉ EMANUEL PÁNCHEZ HIDALGO

RIOBAMBA – ECUADOR
2020
1. Utilizando regresión polinomial, ajustar los siguientes datos a un polinomio de

grado 3.

x y x^2 x^3 x^4 x^5 x^6 x*y x^2 *y x^3 *y St Sr


1 2 1 1 1 1 1 2 2 2 1.1025 4.9E-32
1.5 3 2.25 3.375 5.0625 7.59375 11.3906 4.5 6.75 10.125 0.0025 3.9E-09
2 3.5 4 8 16 32 64 7 14 28 0.2025 4.0E-08
2.5 3.7 6.25 15.625 39.0625 97.6563 244.141 9.25 23.125 57.8125 0.4225 1.9E-07
∑ 7 12.2 13.5 28 61.125 138.25 320.531 22.75 45.875 97.9375 1.73 2.35E-07

Regresión Polinomial
4

3.5

2.5

1.5

0.5

0
0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6

N 4
 3.05

4 7 13.5 28   a0   12.2
7 13.5 28 61.125   a1   22.75
13.5 28 61.125 138.25   a2   45.875
28 61.125 138.25 320.531   a3   97.9375

a0 -2.3
a1 6.2333
a2 -2.2
a3 0.2667
y=−2.3 x 3 +6.2333 x 2-2.2 x+ 0.2667 x

S y =¿
x
0.00
2
r =0.99999

2. Utilizando regresión lineal múltiple encontrar a0, a1, a2

x1*x
x1 x2 y x1^2 x2^2 2 x1*y x2*y St Sr
1 1 18 1 1 1 18 18 109.464 0.50766
1 2 12.8 1 4 2 12.8 25.6 245.314 0.47266
2 1 25.7 4 1 2 51.4 25.7 7.631 0.58141
2 2 20.6 4 4 4 41.2 41.2 61.819 0.47266
3 1 35 9 1 3 105 35 42.739 0.40641
3 2 29.8 9 4 6 89.4 59.6 1.789 0.43891
4 1 45.5 16 1 4 182 45.5 290.276 0.47266
4 2 40.3 16 4 8 161.2 80.6 140.126 0.43891
∑ 20 12 227.7 60 20 30 661 331.2 899.159 3.79125

N 8
 28.46

  8 20 12 a0 227.7
  20 60 30 a1 661
  12 30 20 a2 331.2

y=13.29+ 9.175 x −5.18 x 2

S y =0.871
x

r 2=0.996
3. Ajuste los siguientes datos por mínimos cuadrados y evalúe su fiabilidad.

x y x^2 x*y St Sr
1 1 1 1 49 3.31E-02
3 2 9 6 36 2.07E-01
4 4 16 16 16 8.26E-01
6 4 36 24 16 1.32E-01
8 5 64 40 9 4.05E-01
9 7 81 63 1 5.28E-01
11 8 121 88 0 2.06E-01
14 9 196 126 1 2.07E-01
∑ 56 40 524 364 128 2.54545544

N 8
 8

Mínimos Cuadrados
9
8
f(x) = 1.14 x − 0.14
7
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8

N ∑ x a0 ∑y
[ 2
∑ x ∑(x ) a1 ][ ] [
=
∑ x∗y ]
8 56 a0 40
56 524 a1 364

a0 0.5455
[][
a1
=
0.6364 ]
y=0.6364 x+ 0.5455

St
Sy=
√ n−1
=2.8284 S y < Sy
x

Ajuste aceptable
Sr
Sy=
x √ n−2
=0

.65134
St −Sr
r 2= =0.9 5455
St

4. Ajuste los siguientes datos por mínimos cuadrados y evalúe su fiabilidad.

x y x^2 x*y St Sr
11.755
1 1 1 1 1 0.00E+00
5.8979
2 2 4 4 6 2.04E-02
0.1836
3 4 9 12 7 5.10E-01
0.1836
4 4 16 16 7 1.84E-01
0.3265
5 5 25 25 3 3.27E-01
6.6122
6 7 36 42 4 8.15E-02
12.755
7 8 49 56 1 2.03E-02
37.714 1.1428573
∑ 28 31 140 156 3 1
Mínimos Cuadrados
9
8
f(x) = 1.14 x − 0.14
7
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8

N 7
4.4285
 7

N ∑ x a0 ∑y
[ 2
∑ x ∑(x ) a1
=
∑ ][ ] [
x∗y ]
7 28 a0 31
28 140 a1 156

a0 −0.1429
[][
a1
=
1.1429 ]
y=a 1 x +a 0

y=1.1429 x−0.1429

St
Sy=
√ n−1
=2.50713
S y < Sy
x

Ajuste aceptable
Sr
Sy=
x √ n−2
=0.4708

St −Sr
r 2= =0.9697
St

Potrebbero piacerti anche