Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Diffuse := (t, x) -> 1/(2sqrt(Pi t))exp(-(x-v t)^2/4 t);
  2. plot([subs(v = 0, Diffuse(1, x)), subs(v = .1, Diffuse(1, x)), subs(v = 1, Diffuse(1, x))], x = -2 .. 2, colour = [red, blue, green])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement