I got this question for my heat transfer class and dont know where to begin inputting into matlab to give me the correct answer.
2 次查看(过去 30 天)
显示 更早的评论
The pictures illistrate the question and the correct solution
If you have any idea how i could solve this in matlab pls help

6 个评论
Steven Lord
2023-6-28
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.
回答(1 个)
Torsten
2023-6-28
移动:Torsten
2023-6-28
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!