SHARE
TWEET

Untitled

a guest Jun 15th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pdsolve({diff(u(x, t), t) = diff(u(x, t), x, x), u(0, t) = f(t), u(L, t) = f(t), u(x, 0) = g(x)}, u(x, t));
  2.      
  3. pdsolve({diff(u(x, t), t) = diff(u(x, t), x, x), u(0, t) = 0, u(1, t) = 0, u(x, 0) = (x - 1/2)^2 - 1/4}, u(x, t));
  4.      
  5. plot3d(Sum(4*sin(n*Pi*x)*exp(-Pi^2*n^2*t)*((-1)^n - 1)/(n^3*Pi^3), n = 1 .. infinity), x = 0 .. 1, t = 0 .. 2, grid = [60, 60]);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top