Filter löschen
Filter löschen

MATLAB homework question

1 Ansicht (letzte 30 Tage)
Robert
Robert am 29 Mär. 2012
Beantwortet: Logeshwari S am 8 Dez. 2021
I have an assignment that requires us to get an inverse of a matrix to get an answer. I understand how to do that part, I just dont understand how to build the matrix. Hopefulyl yhe cut and paste will work right since the assignment is in acrobat. I dont have much written in the way of code yet, and I would prefer not to get an exact answer. But more of a hint or clue how to go about this. Any help would be great! I just pasted it and its a mess......I tried to clean it up. I just dont understand how to get the A part of Ax=b. I know ihave to use a for loop but I cant figure out how....so any help youd be great! Thanks.
The temperature at any interior point i in the fin can be expressed implicitly as a function of its neighbors, as: Ti−1+(−C−2)Ti+Ti+1=−CTamb i=2..N1
C=(Δx2⋅h⋅P)/k⋅Ac
The equation for that temperature is determined by how much heat,q, is being sucked up from the base. T2−T1=−Δx⋅q/(k * Ac)
If we divide the fin up into N=5 points, the set of equations would look like this: [−1 1 0 0 0 1 −C−2 1 0 0 0 1 −C−2 1 0 0 0 1 −C−2 1 0 0 0 0 1] [T1 T2 T3 T4 T5]= [−Δxq k⋅Ac −CTamb −CTamb −CTamb TAmb]
The parameters that you will need: Fin length = 0.05 m Conductivity, k=60 W/m/C Convection coefficient, h=150 W/m2/C Ambient air temperature, Tamb=27 C Fin diameter, D = 0.005 m Perimeter, P= D Area Ac = 0.25  D2 Heat flux into the fin, q=1 W.

Antworten (1)

Logeshwari S
Logeshwari S am 8 Dez. 2021
Find the maxima and minima for the following functions: f(x, y) = x 4 + y 4 − 2x 2 + 4xy − 2y 2 .

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by