I got this question for my heat transfer class and dont know where to begin inputting into matlab to give me the correct answer.
1 view (last 30 days)
Show older comments
The pictures illistrate the question and the correct solution
If you have any idea how i could solve this in matlab pls help

6 Comments
Steven Lord
on 28 Jun 2023
Since you've said this is a problem for a class, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the free MATLAB Onramp tutorial to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
Answers (1)
Torsten
on 28 Jun 2023
Moved: Torsten
on 28 Jun 2023
My problem is how do i solve the problem on matlab,given the equations and solution.
Define an array T(6,6) where the first dimension refers to time (t) and the second dimension refers to space (x).
You know T(1,:), the temperatures at time t = 0 by the last x-dependent equation T(x) = ... .
Now use a loop from 2 to 6 to calculate the temperatures for t = 0.3, t = 0.6,..., t = 1.5 recursively from the six updating equations in the analysis.
More hints are not possible because this is a homework problem.
0 Comments
See Also
Categories
Find more on Heat and Mass Transfer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!