am able to find the first row and the first column of by hand. However, When I do the 2nd row and 2nd column, my answer doesnt match my matlab code. Would someone be able to help me? Thank you! Use the explicit method to solve by hand the 1D heat equation for the temperature distribution in a laterally insulated wire with a length of 1 cm, whose ends are kept at T(0) = 0 0C and T(1) = 0 0C, for 0 ≤ x ≤ 1 and 0 ≤ t ≤ 0.5. At t = 0, the temperature of the wire is subjected to initial condition T(x) = 100sin
I am able to find the first row and the first column of by hand. However, When I do the 2nd row and 2nd column, my answer doesnt match my matlab code. Would someone be able to help me? Thank you!
Use the explicit method to solve by hand the 1D heat equation for the temperature distribution in a laterally insulated wire with a length of 1 cm, whose ends are kept at T(0) = 0 0C and T(1) = 0 0C, for 0 ≤ x ≤ 1 and 0 ≤ t ≤ 0.5. At t = 0, the temperature of the wire is subjected to initial condition T(x) = 100sin(πx). Use the following values of k = 0.15 cm2/s, Δx = 0.25 cm, and Δt = 0.1 s. Calculate by hand the values of temperature at the internal mesh points only for the first time row at t = 0.1 s. Verify the values of temperature at t = 0.1 s calculated by hand. Use Heat1DCN.m M-file to solve the 1D heat equation within the space-time domain 0 ≤ x ≤ 1 and 0 ≤ t ≤ 2 with Δx = 0.05 cm and Δt = 0.1 s. Make the plot of temperature surface.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images