Practica 1 Ecuaciones Diferenciales en Mathematica

Page 1

Pr´ actica 1 Ecuaciones diferenciales de primer orden 1.1.

Introducci´ on

Para resolver una ecuaci´on diferencial en la forma F (x, y, y 0 ) = 0,

o bien

y 0 = f (x, y)

(1.1)

el Mathematica dispone del comando DSolve, cuya estructura es DSolve[eqn,y[t],t]

aunque hay que tener presente que en muchos casos no es posible obtener la soluci´on. Ejemplo 1.1.1 La ecuaci´ on diferencial y 0 + 2y = t

(1.2)

cuya soluci´on es: y(t) = − 41 + 2t + C e−2t , donde C es la constante arbitraria, se obtiene con el Mathematica con la instrucci´ on In[]:= DSolve[y’[t]+2y[t]==t,y[t],t]

1


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.