Professional Documents
Culture Documents
FACULTAD DE CIENCIAS
ESCUELA DE FÍSICA
INSTRUCTOR: RENÉ HERMANDEZ
LABORATORIO FS-321
SECCIÓN: 1700
ALUMNOS:
ELMER JOSÉ ALVARADO AMAYA 20161000019
DEYMIS ALEXANDER MORENO CASTRO 20201004014
MIGUEL EDUARDO BANEGAS GALLARDO20151020534
OSCAR LEONEL ALVARADO FIALLOS 9913962
PAULA GABRIELA MONTOYA RAMIREZ 20091004643
In[174]:= f[1]
Out[174]= 1
In[175]:= g[1]
Out[175]= Sin[1]
In[176]:= N[g[1]]
Out[176]= 0.841471
1.2 GRÁFICAS
In[161]:=
f[x_] = x2
g[x_] = Sin[x]
100
80
60
Out[164]=
40
20
-10 -5 5 10
FS321 INFORME DE LABORATORIO.nb 3
25
20
15
Out[165]=
10
-4 -2 2 4
1.3 GRÁFICAS 3D
In[139]:= f[x_, y_] := x2 + Sin[y]
Plot3Df[x, y], {x, - 4, 4}, {y, - 4, 4}, AxesLabel → {"x", "y", "z"},
PlotStyle → RGBColor[0, 1, 0], PlotLegends → "x2 +Sen(y)"
Out[140]= x2 +Sen(y)
1.4 MATRÍCES
In[177]:= A = {{1, 2, 3}, {4, 5, 6}, {1, 3, 2}};
B = {{4, 3, 2}, {7, 3, 1}, {1, 0, 0}};
a = {1, 5, 8};
b = {1, 3, 4};
4 FS321 INFORME DE LABORATORIO.nb
In[181]:= (A + B) // MatrixForm
Out[181]//MatrixForm=
5 5 5
11 8 7
2 3 2
In[182]:= 5 A // MatrixForm
Out[182]//MatrixForm=
5 10 15
20 25 30
5 15 10
In[183]:= a.b
Out[183]= 48
In[184]:= B.a
Out[184]= {35, 30, 1}
In[203]:= D[h[x], x]
Out[203]= 5 x4 Sin[y]
In[204]:= Integrate[h[x], y]
Out[204]= - x5 Cos[y]
Out[238]=
In[107]:= AJ["ParameterTable"]
Estimate Standard Error t-Statistic P-Value
Out[107]= a 0.177877 0.0466206 3.81542 0.0623389
b -0.381475 0.375934 -1.01474 0.417018
c 4.08363 0.697547 5.85427 0.02796
0
Out[110]= x^2+Sen(y)
-2
-4
-4 -2 0 2 4
FS321 INFORME DE LABORATORIO.nb 7
x
1 2 3 4 5 6
8 FS321 INFORME DE LABORATORIO.nb
EJERCICIO 1.1
1. Dadas las funciones vectoriales, transforme del sistema de coordenada que se encuentra, al solici-
tado :
*Transforme el campo vectorial a coordenadas cartesianas y cilíndricas :
In[308]:=
3y z2 - 6 + x 2 + y2 + z2
Out[309]= x - + + ,
x 2 + y2 x 2 + y2 + z2 x 2 + y2 + z2
3 x2 y z2 y - 6 + x2 + y2 + z2 x2 + y2 z z - 6 + x2 + y2 + z2
+ + ,- +
x 2 + y2 x 2 + y2 + z2 x 2 + y2 + z2 x 2 + y2 + z2 x 2 + y2 + z2
In[310]:=
FullSimplify[
TransformedField[{"Spherical"} → {"Cylindrical"}, u[r, θ, ϕ], {r, θ, ϕ} → {ρ, σ, z}]]
z2 ρ ρ - 6 + z2 + ρ2 z ρ2 z - 6 + z2 + ρ2
Out[310]= + , 3 Cos[σ], - +
z2 + ρ2 z2 + ρ2 z2 + ρ2 z2 + ρ2
EJERCICIO 1.2
1. Dadas las funciones vectoriales, transforme del sistema de coordenada que se encuentra, al solici-
tado :
*Transforme el campo vectorial a coordenadas cartesianas y cilíndricas :
B = (xy) x + (yz) y + (zx) z
h[x_, y_, z_] = {(x*y),(y*z),(z*x)};
In[300]:=
FullSimplify[
TransformedField[{"Cartesian"} → {"Cylindrical"}, h[x, y, z], {x, y, z} → {ρ, ϕ, η}]]
Out[300]= ρ Sin[ϕ] ρ Cos[ϕ]2 + η Sin[ϕ], ρ Cos[ϕ] Sin[ϕ] η - ρ Sin[ϕ], η ρ Cos[ϕ]
FS321 INFORME DE LABORATORIO.nb 9
In[313]:= FullSimplify[
TransformedField[{"Cartesian"} → {"Spherical"}, h[x, y, z], {x, y, z} → {r, θ, ϕ}]]
Out[313]= r2 Sin[θ] Cos[θ]2 Cos[ϕ] + Cos[ϕ]2 Sin[θ]2 Sin[ϕ] + Cos[θ] Sin[θ] Sin[ϕ]2 ,
r2 Cos[θ] Sin[θ] - Cos[ϕ] Sin[θ] + Cos[ϕ]2 Sin[θ] Sin[ϕ] + Cos[θ] Sin[ϕ]2 ,
r2 Cos[ϕ] Sin[θ] Sin[ϕ] Cos[θ] - Sin[θ] Sin[ϕ]
EJERCICIO 2.1
Los siguientes datos representan el movimiento rectilíneo de una gota de agua que cae a velocidad
terminal en un tubo lleno de aceite
Asumiendo que el movimiento de la gota se describe a través de la función y(t) = vt, realice lo siguiente:
◼ Encuentre v y b con sus respectivos errores absolutos, ajustando los datos a la siguiente función:
y = vt + b
◼ En un mismo sistema de ejes coordenados, realice las siguientes gráficas:
◼ Datos experimentales.
◼ Curva de ajuste: tome en cuenta la función dada arriba y la constantes perdidas. (Etiquete
adecuadamente los ejes, grafíque los datos y la curva de ajuste con diferentes colores).
Estimando el valor de v y b
Datos1 = {{0, 0}, {5, 13.72}, {10, 27.34}, {15, 40.48}, {20, 53.91},
{25, 66.74}, {30, 79.56}, {35, 92.25}, {40, 105.61}, {45, 118.78}, {50, 131.88}};
In[135]:=
e[t_] = Normal[Ajuste1]
Out[135]= 0.768182 + 2.6248 t
In[136]:=
Ajuste1["ParameterTable"]
Estimate Standard Error t-Statistic P-Value
Out[136]= v 2.6248 0.00799546 328.286 1.14934 × 10-19
b 0.768182 0.236509 3.248 0.0100294
10 FS321 INFORME DE LABORATORIO.nb
Gráficas
e1 = ListPlot[Datos1, AxesLabel → {"t(s)", "y(cm)"},
PlotLegends → {"Datos experimentales"}, PlotLabel → "Movimineto rectilíneo de la gota",
PlotStyle → {PointSize[Large], RGBColor[54, 54, 0]}]
120
100
80
Out[]= Datos experimentales
60
40
20
t(s)
10 20 30 40 50
In[ ]:=
120
100
80
Out[]= y= 0.7681818181818204`+2.6248` t
60
40
20
t(s)
10 20 30 40 50
FS321 INFORME DE LABORATORIO.nb 11
120
100
Datos experimentales
80
Out[]=
60
y= 0.7681818181818204`+2.6248` t
40
20
t(s)
10 20 30 40 50
EJERCICIO 2.2
Se sabe que el número de pulgadas en el que una estructura recién construida, se hunde en el suelo,
está dada por y = 3 (1 - ⅇαx ) donde x es el número de meses que lleva construida la estructura.
Realice lo siguiente:
◼ Estime el valor de alfa (α) para dichos datos y su respectivo error.
◼ En un mismo sistema de ejes coordenados, realice las siguientes gráficas:
◼ Datos experimentales.
◼ Curva de ajuste: tome en cuenta la función dada arriba y la constante perdida. (Etiquete
adecuadamente los ejes, grafíque los datos y la curva de ajuste con diferentes colores).
Estimando el valor de α
Datos2 = {{2, 1.07}, {4, 1.88}, {6, 2.26}, {12, 2.78}, {18, 2.97}, {24, 2.99}};
In[123]:= FindFitDatos2, 3 - 3 ⅇa x , a, x
Out[123]= {a → - 0.233784}
In[125]:=
Ajuste2["ParameterTable"]
Estimate Standard Error t-Statistic P-Value
Out[125]=
a -0.233784 0.00496572 -47.0797 8.16658 × 10-8
Gráficas
In[126]:= g1 = ListPlot[Datos2, AxesLabel → {"meses", "pulgadas"},
PlotLegends → {"Datos experimentales"},
PlotLabel → "Datos exteperimetales, Hundimineto de suelo",
PlotStyle → {PointSize[Large], RGBColor[54, 0, 0]}]
3.0
2.5
2.0
Out[126]= Datos experimentales
1.5
1.0
0.5
meses
5 10 15 20
In[131]:=
3.0
2.5
2.0
Out[131]= y= 3-3 ⅇ-0.2337844857566959 x
1.5
1.0
0.5
meses
5 10 15 20
FS321 INFORME DE LABORATORIO.nb 13
3.0
2.5
1.0
0.5
meses
5 10 15 20