Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use MATLAB for the coding. Please include the .m file too. Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV'f

image text in transcribed

Please use MATLAB for the coding. Please include the .m file too.

Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV'f in a domain (x,y)e(o,l)x(o,1 with initial condition: f(x.y ot and boundary conditions:(xo,t)-f(xLt)-f(o.y.t)-(yt)-o (Ar2 / K) / 4 ; tfinal-80At Use the following parameters: K-o1 ; y-Ar-oos , a Generate a solution and compare to the analytical solution given by [from lecture notes -1 ml a) Show a surface plot of |fros(x,yo)-f-(x,y,0) (Hint: with # of models 50, this number should be O(10-3) ). b) In a second surface plot show xy Report L norm for the error Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV'f in a domain (x,y)e(o,l)x(o,1 with initial condition: f(x.y ot and boundary conditions:(xo,t)-f(xLt)-f(o.y.t)-(yt)-o (Ar2 / K) / 4 ; tfinal-80At Use the following parameters: K-o1 ; y-Ar-oos , a Generate a solution and compare to the analytical solution given by [from lecture notes -1 ml a) Show a surface plot of |fros(x,yo)-f-(x,y,0) (Hint: with # of models 50, this number should be O(10-3) ). b) In a second surface plot show xy Report L norm for the error

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

When is the appropriate time to write a business plan?

Answered: 1 week ago

Question

Question What happens to my plan if I die?

Answered: 1 week ago