Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Modify the function parabolicexp into a new function parabolicimp that uses the implicit method to solve the heat equation u = cuxx, u(1,0) =

image text in transcribed

2. Modify the function parabolicexp into a new function parabolicimp that uses the implicit method to solve the heat equation u = cuxx, u(1,0) = u(t, L) = 0, u(0, x) = f(x) by repeated solving the system Bu;+1 = u; using LU decomposition for each time step. Run the function with L=5, T = 50, c=0.1, and f(x) = sin(rx/5) and at least 10 pairs of values of m and n. Calculate the corresponding r for each pair. Turn in the program and a list of the m,n,r you tried and whether the numerical solution was stable or unstable. 2. Modify the function parabolicexp into a new function parabolicimp that uses the implicit method to solve the heat equation u = cuxx, u(1,0) = u(t, L) = 0, u(0, x) = f(x) by repeated solving the system Bu;+1 = u; using LU decomposition for each time step. Run the function with L=5, T = 50, c=0.1, and f(x) = sin(rx/5) and at least 10 pairs of values of m and n. Calculate the corresponding r for each pair. Turn in the program and a list of the m,n,r you tried and whether the numerical solution was stable or unstable

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: 3

blur-text-image

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

The Changing Face Of American BankingDeregulation, Reregulation, And The Global Financial System

Authors: Ranajoy Ray Chaudhuri

3rd Edition

1137365811, 9781137365811

More Books

Students also viewed these Accounting questions

Question

Name the different levels of the hierarchy of needs. (p. 264)

Answered: 1 week ago

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago

Question

How could any of these verbal elements be made stronger?

Answered: 1 week ago

Question

Does your message use pretentious or exaggerated language?

Answered: 1 week ago