Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Matlab Homework - temperature profile plotting

noobeestudent

Member level 1
Joined
Jul 4, 2019
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
287
Hi guys, I am new here. Recently, I got this coursework assignment question.
1605104186307.png

I genuinely have no idea how to plot this.
Does anyone know how it should look like?
Can you guide me to solve this question? Any help is appreciated.
Thanks in advance.
 

wwfeldman

Advanced Member level 3
Joined
Jan 25, 2019
Messages
752
Helped
179
Reputation
358
Reaction score
184
Trophy points
43
Activity points
5,521
can't help with matlab
this is your homework - look in your textbook
if your instructor allows it, use google

i think the line "... at equal space intervals t = k delta t..." may be a typo, as space is x, not t

suggestions:
the c in the one dimensional heat equation is a measure of the "thermal diffusivity" - that is, how well energy in the form of heat transfers through the material
choose a value for an insulator from a table in your text

note that the units of c, L, and delta t must be consistent - so meters and seconds, or feet and seconds

L is the length of the rod
it doesn't matter what length you pick, the form of u(x,t) will be the same

delta t is a time interval in seconds

since matlab will be doing the calculations, choose a time interval that won't take forever to calculate, like nanoseconds, and one that may fail to show the time progression, like 1 hour

make matlab do the calculation
x is the position along the rod - first try, start at 0, end at L, and calculate every 0.1 x L
t is the time - first try, start at 0, and then increment by 1 second

loop x = 0 to L in steps of 0.1*L
loop t = 0 to ?? 15 minutes in steps of 1 second

find u(x,t) according to the equation given

end loop t
end loop x

make the graph
how long did matlab run to do the calculation?
have you met the requirements of the problem?
based on those questions, decide if more x intervals or more t intervals or more time may be appropriate
 

stenzer

Full Member level 6
Joined
Oct 1, 2012
Messages
385
Helped
71
Reputation
142
Reaction score
74
Trophy points
1,308
Activity points
4,365
Hi,

show us what you have done so far and we will try to help you. We will not do your homework ;).

BR
 

Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top