Description Usage Arguments Details Value Examples
solve heat equation via forward-time central-space method
1 | heat(u, alpha, xdelta, tdelta, n)
|
u |
the initial values of u |
alpha |
the thermal diffusivity coefficient |
xdelta |
the change in |
tdelta |
the time step |
n |
the number of steps to take |
The heat
solves the heat equation using the forward-time
central-space method in one-dimension.
a matrix of u values at each time step
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.