Math 21a Summer 2022
Multivariable Calculus
Mathematica
PDE simplification
f[t_,x_]:=(1/Sqrt[t])*Exp[-x^2/(4t)];
FullSimplify[D[f[t,x],t] == D[f[t,x],{x,2}]]
|
Here is the same computation, where the function g is just given as an expression. I was putting a Clear[f] before so that the previous definition would not interfere.
Clear[f];
f=(1/Sqrt[t])*Exp[-x^2/(4t)];
FullSimplify[D[f,t] == D[f,{x,2}]]
|
Installation
- Make an gmail account from harvard
- You can get Mathematica from here. There are instructions there to download and install Mathematica.
- You need to make a wolfram account. Start here to make an account (use your Harvard summer school email address), Use the latest Mathematica version.