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

Write a script file which will determine the displacement, The mass of the ...

The mass of the spring-mass-damper system shown below was initially displaced by 1 meter to the right and then released. The subsequent acceleration of the mass was measured using

Example of referring elements, Example of Referring elements: the vect...

Example of Referring elements: the vector can also be extended. For illustration, the following generates a vector which has three elements. And then referring to the fourth e

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

Quadratic interpolation of temperature, Temperature readings were done ever...

Temperature readings were done every hour (starting at 1 P.M., but the end time could vary) and stored in a vector called readings. Write a function called halffit that receives th

Show the output - algorithms, Show the output - algorithms: Where does...

Show the output - algorithms: Where does the output go? The two possibilities are (i) to an external file, or (ii) to a window on the screen. Based on system, one of these wil

Error-checking user input in the while loop, Error-Checking user input in t...

Error-Checking user input in the While Loop: In many applications, whenever the user is prompted to enter anything, there is a valid range of values. When the user enters a wr

EMG, How to make EMG analysis by Matlab?

How to make EMG analysis by Matlab?

Find divergence of the 2-d vector field, 1. Assume that there exists a surf...

1. Assume that there exists a surface that can be modeled with the equation:  z = e-(x 2 + y 2 ).  a) Calculate ∇z at the point (x = 0, y = 0). b) In addition, use MATLAB to

Excel, Ask question Excel Ch 1.A-Grader Project-Training Workshops 1.5#Mini...

Ask question Excel Ch 1.A-Grader Project-Training Workshops 1.5#Minimum 100 words accepted#

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