Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. sol = NDSolve[{D[u[x, t], t] - D[u[x, t], {x, 2}] + 4 D[u[x, t], x] -4 u[x, t] == (3 - 2 t) Exp[2 t] + (1 - 9 t) Exp[-x],
  2. u[x, 0] == -1,
  3. Derivative[1, 0][u][0, t] == -t,
  4. Derivative[1, 0][u][300, t] == 0},
  5. u[x, t], {x, 0, 300}, {t, 1.5, 100}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement