: User manual for Iode
: Fourier series
: Installing Iode



Partial differential equations

This module computes and plots solutions of the wave equation

$\displaystyle u_{tt} = c^2 u_{xx}
$

and the heat (or diffusion) equation

$\displaystyle u_t = k u_{xx} .
$

Solutions are found on an interval $ 0 \leq x \leq
L$, for times $ 0 \leq t \leq T$. The method is separation of variables.

When you select Partial differential equations from the Iode main menu, the Partial differential equations window opens up, showing two graphs. The top graph shows a 3D plot of a solution of either the wave or heat equation. Try rotating this 3D plot, by dragging the mouse across the graph...

The equation, boundary conditions and initial conditions are written above the top graph.

The bottom graph is a cross-section of the 3D solution graph: either a t-snapshot, which shows the solution as a function of $ x$ at some time $ t$, or else a x-section, which shows the solution as a function of $ t$ at some position $ x$. Try stepping through these snapshots and sections with the ``arrow'' buttons, or else enter a coordinate value into the box.

Controls

You can rotate the 3D plot (the top graph), by dragging the mouse across it.

The following control buttons relate to the bottom graph only.

Equation menu

Remark 5.1   Iode computes its approximate solutions by separation of variables. For example, for the heat equation with Dirichlet boundary conditions Iode will use

$\displaystyle u(x,t) = \sum_{n=1}^N b_n e^{-(n \pi/L)^2 k t} \sin (\frac{n\pi
x}{L})
$

where $ N$ is the value of top harmonic (which can be changed using the Options below), and where the $ b_n$ are the Fourier sine coefficients of the initial temperature $ f(x)$. For the wave equation with Dirichlet boundary conditions the approximate solution is

$\displaystyle u(x,t) = \sum_{n=1}^N \left[ b_n \cos (\frac{n\pi c t}{L}) +
B_n \frac{L}{n\pi c} \sin (\frac{n\pi c t}{L}) \right] \sin (\frac{n\pi
x}{L}) ,
$

where the $ b_n$ are the Fourier sine coefficients of the initial displacement $ f(x)$ and the $ B_n$ are the Fourier sine coefficients of the initial velocity $ g(x)$.

Options menu


: User manual for Iode : Fourier series : Installing Iode
平成16年11月7日