Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


ejercicios sobre interpolacion, Ejercicios de Física Computacional

ejercicios sobre interpolacion realizados en un tarea de fisica computacional

Tipo: Ejercicios

2021/2022

A la venta desde 05/07/2023

keyla-campos-1
keyla-campos-1 🇪🇨

13 documentos

1 / 14

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
ESCUELA SUPERIOR POLITÉCNICA
DE CHIMBORAZO
FACULTAD DE CIENCIAS
CARRERA DE FÍSICA
INTEGRANTES:
APELLDO Y NOMBRE DIGO
BASTIDAS PAUL 350
CAMPOS KEYLA 352
MONTENEGRO MELANIE 364
FÍSICA COMPUTACIONAL II
TEMA: INTERPOLACIÓN
2022
pf3
pf4
pf5
pf9
pfa
pfd

Vista previa parcial del texto

¡Descarga ejercicios sobre interpolacion y más Ejercicios en PDF de Física Computacional solo en Docsity!

ESCUELA SUPERIOR POLITÉCNICA

DE CHIMBORAZO

FACULTAD DE CIENCIAS

CARRERA DE FÍSICA

INTEGRANTES:

APELLDO Y NOMBRE CÓDIGO

BASTIDAS PAUL 350

CAMPOS KEYLA 352

MONTENEGRO MELANIE 364

FÍSICA COMPUTACIONAL II

TEMA: INTERPOLACIÓN

EJERCICIO 1

In[2]:= a = {{3, 0.98}, {5, 1.23}, {7, 1.45}, {9, 1.79}, {11, 1.89},

{13, 2.32}, {15, 2.48}, {17, 2.67}, {19, 2.85}, {21, 3.02}, {23, 3.23},

{25, 3.32}, {27, 3.41}, {29, 3.58}, {31, 3.67}, {33, 3.79}, {35, 4.11}, {37,

4.32}}

Out[2]= {{3, 0.98}, {5, 1.23}, {7, 1.45}, {9, 1.79}, {11, 1.89}, {13, 2.32},

{15, 2.48}, {17, 2.67}, {19, 2.85}, {21, 3.02}, {23, 3.23}, {25, 3.32},

{27, 3.41}, {29, 3.58}, {31, 3.67}, {33, 3.79}, {35, 4.11}, {37, 4.32}}

In[3]:=

interpolación

Interpolation[a, 4]

Out[3]= 1.

In[4]:=

interpolación

Interpolation[a, 6.67]

Out[4]= 1.

In[5]:=

interpolación

Interpolation[a, 7.34]

Out[5]= 1.

In[6]:=

interpolación

Interpolation[a, 23.34]

Out[6]= 3.

In[7]:=

interpolación

Interpolation[a, 36.56]

Out[7]= 4.

GRÁFICA Nº 1

In[8]:= a =

interpolación

Interpolation[{{3, 0.98}, {5, 1.23}, {7, 1.45}, {9, 1.79}, {11, 1.89}, {13, 2.32},

{15, 2.48}, {17, 2.67}, {19, 2.85}, {21, 3.02}, {23, 3.23}, {25, 3.32},

{27, 3.41}, {29, 3.58}, {31, 3.67}, {33, 3.79}, {35, 4.11}, {37, 4.32}}]

Out[8]= InterpolatingFunction

Domain:  3., 37. 

Output: scalar

Printed by Wolfram Mathematica Student Edition

GRÁFICA Nº 2

In[16]:= b =

interpolación

Interpolation[{{50, 0.009}, {100, 0.048}, {150, 0.093}, {200, 0.112}, {250, 0.137},

{300, 0.169}, {350, 0.181}, {400, 0.210}, {450, 0.245}, {500, 0.279},

{550, 0.299}, {600, 0.331}, {650, 0.364}, {700, 0.389}, {750, 0.429},

{800, 0.455}, {850, 0.485}, {900, 0.503}, {950, 0.529}, {1000, 0.566}}]

Out[16]= InterpolatingFunction

Domain:  50., 1.00 × 10

3 

Output: scalar

In[17]:=

representación gráfica

Plotbx .

, x .

, 50., 1000.

Out[17]=

200 400 600 800 1000

EJERCICIO 3

In[18]:= c = {{34, 0.87}, {46, 0.94}, {58, 1.34}, {62, 1.57}, {69, 1.84}, {72, 2.46}, {79, 2.87},

{84, 3.12}, {88, 3.37}, {92, 3.59}, {96, 3.91}, {100, 4.07}, {104, 4.33}, {114, 4.71}}

Out[18]= {{34, 0.87}, {46, 0.94}, {58, 1.34}, {62, 1.57}, {69, 1.84}, {72, 2.46}, {79, 2.87},

{84, 3.12}, {88, 3.37}, {92, 3.59}, {96, 3.91}, {100, 4.07}, {104, 4.33}, {114, 4.71}}

In[19]:=

interpolación

Interpolation[c, 48]

Out[19]= 0.

In[20]:=

interpolación

Interpolation[c, 68]

Out[20]= 1.

In[21]:=

interpolación

Interpolation[c, 81]

Out[21]= 2.

$Failed 3

Printed by Wolfram Mathematica Student Edition

In[22]:=

interpolación

Interpolation[c, 99]

Out[22]= 4.

In[23]:=

interpolación

Interpolation[c, 108]

Out[23]= 4.

GRÁFICA Nº 3

In[24]:= c =

interpolación

Interpolation[

{{34, 0.87}, {46, 0.94}, {58, 1.34}, {62, 1.57}, {69, 1.84}, {72, 2.46}, {79, 2.87},

{84, 3.12}, {88, 3.37}, {92, 3.59}, {96, 3.91}, {100, 4.07}, {104, 4.33}, {114, 4.71}}]

Out[24]= InterpolatingFunction

Domain:  34., 114. 

Output: scalar

In[25]:=

representación gráfica

Plotcx .

, x .

, 34., 114.

Out[25]=

40 60 80 100

2

3

4

4 $Failed

Printed by Wolfram Mathematica Student Edition

In[43]:=

f = Interpolation[data]

Out[43]=

InterpolatingFunction

Domain: {{- 1, 26 }}

Output: scalar

In[89]:=

Show[%88, Background → RGBColor[0.97, 0.93, 0.68]]

Out[89]=

5 10 15 20 25

5

10

15

20

25

30

Ejercicio 5

In[74]:=

r = {{- 5, 1}, {- 3, 2}, {2, 5}, {3, 2}, {6, 0},

{8, - 3 }, {10, 1}, {12, 3}, {14, 5}, {15, 7}, {17, 9}, {19, 11}}

Out[74]=

{{- 5, 1} , {- 3, 2} , { 2, 5} , { 3, 2} , { 6, 0} ,

{ 8, - 3 } , { 10, 1} , { 12, 3} , { 14, 5} , { 15, 7} , { 17, 9} , { 19, 11}}

In[75]:=

Interpolation[r, 0.5]

Out[75]=

In[76]:=

Interpolation[r, 6.7]

Out[76]=

In[77]:=

Interpolation[r, 13.5]

Out[77]=

2

In[78]:=

Interpolation[r, 16.8]

Out[78]=

In[79]:=

Interpolation[r, 18.4]

Out[79]=

Gráfica Nº

In[71]:=

datos = {{- 5, 1}, {- 3, 2}, {2, 5}, {3, 2}, {6, 0},

{8, - 3 }, {10, 1}, {12, 3}, {14, 5}, {15, 7}, {17, 9}, {19, 11}}

Out[71]=

{{- 5, 1} , {- 3, 2} , { 2, 5} , { 3, 2} , { 6, 0} ,

{ 8, - 3 } , { 10, 1} , { 12, 3} , { 14, 5} , { 15, 7} , { 17, 9} , { 19, 11}}

In[72]:=

g = Interpolation[datos]

Out[72]=

InterpolatingFunction

Domain: {{- 5, 19 }}

Output: scalar

In[85]:=

Show[%83, Background → RGBColor[0.97, 0.93, 0.68]]

Out[85]=

  • 5 5 10 15
    • 2

2

4

6

8

10

3

Ejercicio 2

x y

y = 0,922x - 6,

R² = 0,

0

10

20

30

40

50

60

0 10 20 30 40 50 60

x y

0 20 40 60 80 100 120

  • Ejercicio - 2 0, - 5 0, - 7 -0,
    • 14 0,
    • 16 0,
    • 22 0,
    • 31 0,
    • 32 0,
    • 33 0,
    • 40 0,
    • 44 0,
    • 46 0,
    • 51 0,
    • 52 0,
    • 53 0,
    • 55 0,
    • 56 0,
    • 58 0,
    • 61 0,
    • 64 0,
    • 66 0,
    • 76 0,
    • 78 0,
    • 82 0,
    • 90 0,
    • 97 0,
    • 99 0, - y = 0,0118x - 0, - R² = 0, - -0, - 0, - 0, - 0, - 0, - 1,

Ejercicio 5

x y

y = 0,6285x + 162,

R² = 0,

0

50

100

150

200

250

-80 -60 -40 -20 0 20 40 60 80

y

Bibliografía

Interpolación lineal en una tabla o rango de Excel por medio de procedimientos Sub. (s. f.).

Sánchez Caballero, S. (2018). Utilización de Wolfram Mathematica la resolución. Valencia.

doi:http://dx.doi.org/10.4995/INRED2018.2018.