Learn R Programming

geophys (version 1.4-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
# NOT RUN {

# }
# NOT RUN {
k = 1e-6
 t  = 1*365*24*60*60
T0 = 1000
x = seq(0,20, length=1000)
T =  heat.sol(x, T0, k, t)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab