








Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Prepara tus exámenes
Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Prepara tus exámenes con los documentos que comparten otros estudiantes como tú en Docsity
Encuentra los documentos específicos para los exámenes de tu universidad
Estudia con lecciones y exámenes resueltos basados en los programas académicos de las mejores universidades
Responde a preguntas de exámenes reales y pon a prueba tu preparación
Consigue puntos base para descargar
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Comunidad
Pide ayuda a la comunidad y resuelve tus dudas de estudio
Ebooks gratuitos
Descarga nuestras guías gratuitas sobre técnicas de estudio, métodos para controlar la ansiedad y consejos para la tesis preparadas por los tutores de Docsity
ejercicios sobre interpolacion realizados en un tarea de fisica computacional
Tipo: Ejercicios
1 / 14
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!









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.
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
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
Plotbx .
, x .
, 50., 1000.
Out[17]=
200 400 600 800 1000
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.
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
Plotcx .
, 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
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]=
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]=
2
4
6
8
10
3
y = 0,922x - 6,
R² = 0,
0
10
20
30
40
50
60
0 10 20 30 40 50 60
0 20 40 60 80 100 120
y = 0,6285x + 162,
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.