Finite difference method, MATLAB Programming

Assignment Help:

Finite Difference Method for An Elliptic Partial Differential Equation  

Problem 

Use the finite difference method and MatLab code to solve the 2D steady-state heat equation (δ2T/δx2 )+ (δ2T/δy2 )= 0, where T(x, y) is the temperature distribution in a rectangular domain in x-y plane. The boundary condition is specified as follows in Figure.

34_matlab figure.png

Show (1) the temperature distribution in the whole rectangular domain (use 'contourf ').

(2)  the temperature distribution along the diagonal line 

(the red dotted line without the two ends) and the middle line (the blue dashed line) (use 'plot').

(Note: You should give a brief description of your way to apply the finite difference method, e.g., what kind of discrete domain and how many nodes you choose, and provide the complete MatLab program you use)


Related Discussions:- Finite difference method

Matrix, if i have a 3x2 double.. how can i run a for loop for this matrix s...

if i have a 3x2 double.. how can i run a for loop for this matrix so tht it can subtracted values of he adjacent neighbors?

Compute the result - algorithms, Compute the result: To compute the ar...

Compute the result: To compute the area, the formula is required. In this situation, the area of the circle is π multiplied by the radius squared. Therefore, that means the va

Simplified Poker Game, The game of Simpli ed Poker is a simple game by toda...

The game of Simpli ed Poker is a simple game by today''s standards. You start o with a standard deck of cards, shue the cards, and then give each player 3 cards. Each card has a

Error, what is an error and its types

what is an error and its types

Plot the intensity distribution - numerical techniques, Using numerical tec...

Using numerical techniques, plot the intensity distribution for LP 01 and LP 11 modes. Vary the value of V (reduce it to 1.5) and plot several of the intensity plots (of LP 01 )

Crank-nicolson method, clear tic L=1; T=0.2; nust=2000; dt=T...

clear tic L=1; T=0.2; nust=2000; dt=T/nust; n=40; dx=L/n;   r=1;  omega=10:10:5000;%Store Range of Frequencies for Simulation u=zeros(n+1,nust+1);%

Discuss the frequency range and radiation angles, Discuss the frequency ran...

Discuss the frequency range / radiation angles at which the two models diverge, and relate this divergence to your understanding of the behaviour of a pistonic source. Compare t

Data mining, I need my data mining assignment done. Can you guys help me wi...

I need my data mining assignment done. Can you guys help me with that?

Generates sin or cos wave using plot functions, Generates sin or cos wave u...

Generates sin or cos wave using plot functions: The script generates an x vector; iterating through all the values from 0 to 2*π in steps of 2*π /40 gives sufficient points to

Creating column vectors, Creating Column Vectors: One way to generate ...

Creating Column Vectors: One way to generate a column vector is by explicitly putting the values in square brackets, separated by the semicolons: >> c = [1; 2; 3; 4] c =

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd