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

Calling an user-defined function from script, Calling an User-Defined Funct...

Calling an User-Defined Function from Script: Now, we will change our script which prompts the user for the radius and computes the area of a circle, to call our function cal

Illustration of script documentation, Illustration of script Documentation:...

Illustration of script Documentation: For illustration, the script to compute the area of a circle could be modified to have comments: The first comment at the startin

Algebra, the cost t in hundreds of dollars of tuition and fees at many comm...

the cost t in hundreds of dollars of tuition and fees at many community college can be approximated by t=1/2c+5 where c is the number of credits for which a student registers. ( 2

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

Financial computing with matlab project, This project carries 50% of your ?...

This project carries 50% of your ?nal mark. Please hand in your work to the Mathematical and Physical Sciences School O?ce, no later than 4pm Monday 21st January 2013. Please ?l

Illustration of script, Illustration of script: For illustration, we w...

Illustration of script: For illustration, we will now generate a script known as script1.m which calculates area of the circle. It assigns a value for the radius, and then com

Write a program that computes the cost, The cost of sending a package by an...

The cost of sending a package by an express delivery service is $15 for the first two pounds, and $4.25 for each pound over two pounds. Write a program that computes the cost of

Function with float and integer, hi i have this programm function [IRN,num...

hi i have this programm function [IRN,number ] = randnumbers( IRN ) IRN=int32(IRN) ITOTAL=(IRN*330)+100 ITOTAL=int32(ITOTAL); IQUOTIENT=ITOTAL/2303 IQUOTIENT=int32(IQUOTIENT);

Control system, 1. Design a suitable phase-lead controller. You should expl...

1. Design a suitable phase-lead controller. You should explain in detail how your design has been developed. Your solution should include Bode plots constructed both manually and

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