A thin rod of length, πΏ = 40 ππ, was made from a material with a thermal
diffusivity, π = 2.5 ππ2βπ . The temperature distribution in terms of the time,
π‘ and the position, π₯ is denoted by π(π‘, π₯). The following initial and boundary
conditions are considered:
π(0, π₯) = π(π₯)
π(π‘, 0) = π(0)
π(π‘, 40) = π(40) where π(π₯) has the following piecewise function form
π(π₯) = { π(π₯), 0 β€ π₯ < π
β(π₯), π β€ π₯ β€ 40
.
The functions π(π₯) and β(π₯) are not constant and π(π₯) satisfies the following
condition,
π(40) > π(0) > 0 or π(0) > π(40) > 0.
By using a suitable function for π(π₯) and, the values of βπ₯ = 4 ππ and βπ‘ =
4 π , consider TWO (2) finite-difference methods to compute the temperature
distribution π(π‘, π₯) over the time interval [0, 8].
Comments