Question

Check the file: Questions.pdf

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

2.

T = zeros(11,11); % 11 X11 grid of equal size, with interior points initialized as zero
T(1,1:10) = 100; % assigning boundary values
T(1,11) = 50;
T(2:11,1) = 90:-10:0;
T_prev = zeros(11,11); % Dummy initialization for T_prev
while max(max(abs(T-T_prev))) >0.001 %0.01 is set as limiting value of max error
    T_prev = T;
   for i = 2:10
       for j = 2:10
      
          T(i,j) = 0.25*(T(i+1,j)+T(i-1,j)+T(i,j+1)+T(i,j-1)); % Finite difference formulation
         
       end
   end

end...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Assisting Tutor

Related Homework Solutions

Engineering Questions
Homework Solution
$75.00
Engineering
Mathematics
Students
Temperatures
Functions
Discrete Fourier Transformations
Convection
Confidence Intervals
Measurements
Stagnation Pressure
Sensitivity Errors
Average Values
Linear Regression
Mechnical Engineering
Homework Solution
$15.00
Mechanical
Engineering
Atomic
Crystal
Structure
Unit
Cell
Stem
Length
Radius
Density
Edge
Experimental
Value
Mechanical Engineering Questions
Homework Solution
$100.00
Mechanical Engineering
Pipe
Measurement
Physical Reasoning
Friction
Inlet Pressure
Interpolation
Velocity
Balls
Stagnation Points
Angles
Wave Functions
Internal Combustion Engine Problems
Homework Solution
$28.00
Engineering
Mechanics
Mathematics
Thermal Efficiency
Heat
Power Stroke
Volume
Cross Sectional Area
Engine Routes
Get help from a qualified tutor
Live Chats