Learn R Programming

geophys (version 1.2-1)

heat.sol: Heat Equation Solution

Description

Heat Equation Solution

Usage

heat.sol(x, T0, k, t)

Arguments

x
distance
T0
temperature
k
diffusion constant
t
time vector

Value

  • Graphical Side Effects

Details

INteractive code to see evolution

See Also

get.heat, get.heat2,DO.HALFSPACE

Examples

Run this code
k = 1e-6
 t  = 1*365*24*60*60
T0 = 1000
x = seq(0,20, length=1000)
T =  heat.sol(x, T0, k, t)

Run the code above in your browser using DataLab