A rod of steel is subjected to a temperature of 100°C on the left end and 25°C on the right end. If the rod is of length 0.05m, use the explicit method to find the temperature distribution in the rod from t = 0 and t = 9 seconds. Use ∆x = 0.01m , ∆t = 3s . Given: k =-54 W/(m*K) , ρ = 7800 kg/m^3, C = 490 J/(kG*K) . The initial temperature of the rod is 20°C.
Make a matrix of all Temperatures in °C. The first column is the initial conditions at time 0 second, the middles columns are the unknow tempertures, and the final column is the linear path from the intial conditions to the final conditions.
On the second test: I varied the length of rod and the final time.
rod is of length 0.10m and ∆x = 0.02m
from t = 0 and t = 102 seconds
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Number of 1s in a binary string
11641 Solvers
-
Sum of diagonals elements of a matrix
234 Solvers
-
Matlab Basics - Assigning Variables
207 Solvers
-
660 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1909 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I think this problem has an error. delta-x = 0.01 m in the first test case, but delta-x = 0.02 m in the second.