's differential equation solving functions can be applied to many different classes of differential equations, automatically selecting the appropriate algorithms without needing pre-processing by the user. One such class are PDE's.
This sets up the
, using D
to take derivatives, and stores it as the variable pde
to solve the equation and store the solution in soln
. The first argument to DSolve
is an equation, the second argument is the function to solve for, and the third argument is a list of the independent variables.
The answer is given as a rule and C
is an arbitrary function.
You can add an initial condition like
by making the first argument to DSolve