Various interacts for plotting solutions to certain partial differential equations
Instruction: to start an interact (or to start it again), press the button. To change an input, make the change and press enter. To change a function (say f) to a constant function (say 1), enter 1+x-x into the f box and press enter. Some time may elapse, so be patient.The 1-d global heat equation:
, , with initial condition for .
What does the graph of look like? This depends on the functions , (which are assumed 0 when ), and the parameter . We can use numerical integration methods (Gauss rules, Romberg table) to compute the values of . The interact below shows the graph of over the interval or of over the interval . Play with this interact by changing any of the values of f, g, xmin, xmax, tmin, tmax, and D.
The Transport Equation:
If is constant, the solution is . We can plot it for any nice and .
Use the interact below to experiment with changing the right hand side f and the initial condition g to see the effect on u. The graphs shown are of for for . They are color-coded black, red, blue, grey, magenta, turquoise in order of increasing time.
The 1-d wave equation with initial conditions
By D'Alambert and Duhamel, when is constant, the solution is We can evaluate this using quadrature rules (gauss and romberg). The interact below allows you plot the solution for given , , and .