12.05.2013 Views

Problemas resueltos de Cálculo Numérico

Problemas resueltos de Cálculo Numérico

Problemas resueltos de Cálculo Numérico

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 1. PROBLEMAS RESUELTOS DE CÁLCULO NUMÉRICO<br />

Construimos la siguiente tabla<br />

Ti Ri T 2 i TiRi<br />

10.50 10.421 110.25 109.4205<br />

29.49 10.939 869.6501 322.59111<br />

42.70 11.321 1823.29 483.4067<br />

60.01 11.794 3601.2001 707.75794<br />

75.51 12.242 5701.7601 924.39242<br />

91.05 12.668 8290.1025 1153.4214<br />

309.26 69.385 20396.2628 3700.99107<br />

Por tanto, el sistema que tenemos que resolver será,<br />

<br />

6a + 309.26b = 69.385<br />

309.26a + 20396.2628b = 3700.99107 ⇒<br />

Luego, la solución vendrá dada por<br />

R = 10.1222293891 + 0.0279752430495 T<br />

a = 10.1222293891<br />

b = 0.0279752430495<br />

7. Aproximar mediante los mínimos cuadrados un polinomio <strong>de</strong> grado dos a los siguientes<br />

datos<br />

xi 1 2 4 10 16<br />

yi 6 1 2 4 5<br />

SOLUCIÓN:<br />

Se trata <strong>de</strong> ajustar una función <strong>de</strong>l tipo<br />

i=1<br />

x 2 i<br />

i=1<br />

x 3 i<br />

y = a + b x + c x 2<br />

al conjunto <strong>de</strong> datos (xi, yi).<br />

Matricialmente el sistema que tenemos que resolver vendrá dado por<br />

⎛<br />

5 5 5<br />

⎜ 1 xi x<br />

⎜ i=1 i=1 i=1<br />

⎜<br />

⎝<br />

2 i<br />

5 5<br />

xi x<br />

i=1 i=1<br />

2 5<br />

i x<br />

i=1<br />

3 ⎞ ⎛ 5<br />

⎞<br />

⎟ ⎜ yi ⎟<br />

⎟ ⎛ ⎞ ⎜ ⎟<br />

⎜ i=1 ⎟<br />

⎟ a ⎜<br />

⎟ ⎜ ⎟ ⎜ 5<br />

⎟<br />

i ⎟ ⎝ b ⎠ = ⎜ xiyi<br />

⎟<br />

⎟ ⎜<br />

5 5 5<br />

⎟ c<br />

i=1 ⎟<br />

⎜ ⎟<br />

⎟ ⎜ 5 ⎟<br />

⎠ ⎝ ⎠<br />

Construimos la siguiente tabla<br />

i=1<br />

x 4 i<br />

i=1<br />

xi yi x 2 i x 3 i x 4 i xiyi x 2 i yi<br />

1 6 1 1 1 6 6<br />

2 1 4 8 16 2 4<br />

4 2 16 64 256 8 32<br />

10 4 100 1000 10000 40 400<br />

16 5 256 4096 65536 80 1280<br />

33 18 377 5169 75809 136 1722<br />

x 2 i yi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!