Professional Documents
Culture Documents
Euler Modificado: Designando La Temperatura Del Edificio Como T (T) El Problema de Valor Inicial Queda Como
Euler Modificado: Designando La Temperatura Del Edificio Como T (T) El Problema de Valor Inicial Queda Como
Euler Modificado
Designando la temperatura del edificio como T(t) el problema de valor inicial queda
como:
1
In[4]:= T ' ⩵ k M t - T + H t + U t /. M t → 8, H t → 0, U t → 0, k →
3
8-T
Out[4]= T′ ⩵
3
8 - Y0
In[22]:= Y1 -> Y0 + * h /. {X0 → 0, Y0 → 14, h → 0.5}
3
Out[22]= Y1 → 13.
8-Y0 8-Y1
+
3 3
In[24]:= Y1p → Y0 + * h /. {X0 → 0, Y0 → 14, h → 0.5, Y1 → 13}
2
Out[24]= Y1p → 13.0833
8 - Y1p
In[26]:= Y2 -> Y1p + * h /. {X1 → 0.5, Y1p → 13.083333333333334`, h → 0.5}
3
Out[26]= Y2 → 12.2361
8-Y1p 8-Y2
+
3 3
Y2p → Y1p + * h /.
2
{X1 → 0.5, Y1p → 13.083333333333334`, h → 0.5, Y2 → 12.23611111111111`}
Out[27]= Y2p → 12.3067
8 - Y2p
In[30]:= Y3 -> Y2p + * h /. {X3 → 1.5, Y2p → 12.306712962962964`, h → 0.5}
3
Out[30]= Y3 → 11.5889
8-Y2p 8-Y3
+
3 3
In[32]:= Y3p -> Y2p + * h /.
2
{X3 → 1.5, Y2p → 12.306712962962964`, h → 0.5, Y3 → 11.588927469135804`}
Out[32]= Y3p → 11.6487