You are on page 1of 9

EJERCICIO 1

In[1]:= u = 2 x[t] + t
Out[1]= t + 2 x[t]

In[2]:= v = 3 y[t] + 3 t
Out[2]= 3 t + 3 y[t]

In[3]:= VectorPlot[{u, v}, {u, - 6, 6}, {v, - 6, 6}]


representación vectorial

Out[3]=
0

-2

-4

-6

-6 -4 -2 0 2 4 6

In[4]:= Tray = DSolveValue[{x '[t] == u, y '[t] == v, x[0] ⩵ 0, y[0] ⩵ 0}, {x[t], y[t]}, t]
valor de resolución diferencial

1 1
In[6]:=  - 1 + ⅇ2 t - 2 t, - 1 + ⅇ3 t - 3 t
4 3
1 1
Out[6]=  - 1 + ⅇ2 t - 2 t, - 1 + ⅇ3 t - 3 t
4 3

In[7]:= Sort[Tray]
ordena
1 1
Out[7]=  - 1 + ⅇ3 t - 3 t, - 1 + ⅇ2 t - 2 t
3 4

Printed by Wolfram Mathematica Student Edition


2 taller punto 1 mflu.nb

In[8]:= Xo = 0 ; Yo = 0
Out[8]= 0

In[9]:= Tx[t_] := tray[[1]]

In[10]:= Ty[t_] := tray[[2]]

In[12]:= ParametricPlot[Tray, {t, - 5., 5.}]


gráfico paramétrico

14 000

12 000

10 000

8000

Out[12]=

6000

4000

2000

400

In[13]:= a = 2x+3
b = 3 y + 12
Out[13]= 3+2x

Out[14]= 12 + 3 y

In[17]:= VectorPlot[{a, b}, {x, - 8, 8}, {y, - 8, 8}]


representación vectorial

campo de velocidades
Printed by Wolfram Mathematica Student Edition
taller punto 1 mflu.nb 3

Out[15]=
0

-5

-5 0 5

In[35]:= Tray = DSolveValue[{x '[t] ⩵ u, y '[t] ⩵ v, x[0] ⩵ 0, y[0] ⩵ 0}, {x[t], y[t]}, t]
valor de resolución diferencial
1 1
Out[35]=  - 1 + ⅇ2 t - 2 t, - 1 + ⅇ3 t - 3 t
4 3

Printed by Wolfram Mathematica Student Edition


4 taller punto 1 mflu.nb

In[36]:= ParametricPlot[Tray, {t, - 2., 2.}]


gráfico paramétrico

25

20

15

Out[36]=

10

1 2 3 4

3 y[x] + 3 t
In[45]:= DSolvey '[x] ⩵ , y[0] ⩵ 0, y[x], x
resolvedor diferencial 2x+t

- t3/2 + t t+2x +2x t+2x


In[46]:= y[x] → 
t

- t3/2 + t t+2x +2x t+2x


Out[46]= y[x] → 
t

Printed by Wolfram Mathematica Student Edition


taller punto 1 mflu.nb 5

In[53]:= StreamPlot[{y, - x}, {x, - 5, 5}, {y, - 5, 5}]


representación de flujo

Out[53]=
0

-2

-4

-4 -2 0 2 4

DSolve: Unable to resolve some of the arbitrary constants in the general solution using the given boundary conditions. It is
possible that some of the conditions have been specified at a singular point for the equation.

DSolve: The function y appears with no arguments.

Printed by Wolfram Mathematica Student Edition


6 taller punto 1 mflu.nb

DSolve: The function y appears with no arguments.

Printed by Wolfram Mathematica Student Edition


taller punto 1 mflu.nb 7

VELOCIDAD Y ACELERACION
LAGRANGIANA

In[ ]:= l = - 4 y + t2
m = 9x-2t+1
Out[ ]= t2 - 4 y

Out[ ]= 1-2t+9x

In[ ]:= alag = {l, m}


Out[ ]= t2 - 4 y, 1 - 2 t + 9 x

In[ ]:= Ctlag = D[alag, t]


deriva

Out[ ]= {2 t, - 2}

In[ ]:= acxlag = D[alag, x]


deriva

Out[ ]= {0, 9}

In[ ]:= cylag = D[alag, y]


deriva

Out[ ]= {- 4, 0}

In[ ]:= atotlag = Ctlag + l * acxlag + m * cylag


Out[ ]= 2 t - 4 1 - 2 t + 9 x, - 2 + 9 t2 - 4 y

In[ ]:= tlag =  atotlag ⅆ t

Out[ ]= - 4 t + 5 t2 - 36 t x, - 2 t + 3 t3 - 36 t y

VELOCIDAD Y ACELERACION
EULERIANA

Printed by Wolfram Mathematica Student Edition


8 taller punto 1 mflu.nb

In[ ]:= l
Out[ ]= t2 - 4 y

In[ ]:= m
Out[ ]= 1-2t+9x

In[ ]:= aeul = {l, m}


Out[ ]= t2 - 4 y, 1 - 2 t + 9 x

In[ ]:= acteul = D[aeul, t]


deriva

Out[ ]= {2 t, - 2}

In[ ]:= vteul =  acteul ⅆ t

Out[ ]= t2 , - 2 t

ACELERACION CONVECTIVA

In[ ]:= l
Out[ ]= t2 - 4 y

In[ ]:= m
Out[ ]= 1-2t+9x

In[ ]:= ac = {l, m}


Out[ ]= t2 - 4 y, 1 - 2 t + 9 x

In[ ]:= acx = D[alag, x]


deriva

Out[ ]= {0, 9}

In[ ]:= acy = D[alag, y]


deriva

Out[ ]= {- 4, 0}

Printed by Wolfram Mathematica Student Edition


taller punto 1 mflu.nb 9

In[ ]:= acconv = l * acx + (m * acy)


Out[ ]= - 4 1 - 2 t + 9 x, 9 t2 - 4 y

ACELERACION TOTAL
In[ ]:= actotal = acteul + acconv
Out[ ]= 2 t - 4 1 - 2 t + 9 x, - 2 + 9 t2 - 4 y

ACELERACION TOTAL=ACELERACION
LAGRANGIANA
In[ ]:= actotal
Out[ ]= 2 t - 4 1 - 2 t + 9 x, - 2 + 9 t2 - 4 y

In[ ]:= atotlag


Out[ ]= 2 t - 4 1 - 2 t + 9 x, - 2 + 9 t2 - 4 y

Printed by Wolfram Mathematica Student Edition

You might also like