Consider the numerical solution of the heat equation, t = C 2 with c = 1...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the numerical solution of the heat equation, t = C 2 with c = 1 in a periodic domain of extent [0..4]. Using a forward in time, and Crank-Nicholson scheme with 2nd order central discretization of the 2nd derivative as: Ju 2 = 10un + 12n+1 2 x j 2 x j where n is the nth time step, u(x, 0) = 4 sin (x) + 2 sin (3x) + sin (10x). 1. Set up an IBVP (Initial Boundary value problem) numerically, with r = system in the form cAt 2(A)2 =2, i.e. write the Au = f 2. Use Thomas algorithm to solve the above linear system. Use a mesh of 100 points. You need to code this up in C, you may use triper.c from Homework 9. 3. Plot the numerical solution u(x, t) for t = 0.5, 1, 1.5, 2.5. You can use MATLAB or any other plotting software of choice. Compare the numerical solution with the exact solution at t=2.5. [Exact solution: 4 sin (x)ect 2 sin (3x)e-9ct + sin (10x)e-100ct] 4. Perform a Von-Neumann stability analysis for the scheme and comment on stability properties. 5. State the Lax-equivalence theorem. Is this scheme convergent? Consider the numerical solution of the heat equation, t = C 2 with c = 1 in a periodic domain of extent [0..4]. Using a forward in time, and Crank-Nicholson scheme with 2nd order central discretization of the 2nd derivative as: Ju 2 = 10un + 12n+1 2 x j 2 x j where n is the nth time step, u(x, 0) = 4 sin (x) + 2 sin (3x) + sin (10x). 1. Set up an IBVP (Initial Boundary value problem) numerically, with r = system in the form cAt 2(A)2 =2, i.e. write the Au = f 2. Use Thomas algorithm to solve the above linear system. Use a mesh of 100 points. You need to code this up in C, you may use triper.c from Homework 9. 3. Plot the numerical solution u(x, t) for t = 0.5, 1, 1.5, 2.5. You can use MATLAB or any other plotting software of choice. Compare the numerical solution with the exact solution at t=2.5. [Exact solution: 4 sin (x)ect 2 sin (3x)e-9ct + sin (10x)e-100ct] 4. Perform a Von-Neumann stability analysis for the scheme and comment on stability properties. 5. State the Lax-equivalence theorem. Is this scheme convergent?
Expert Answer:
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
Telecom manufactures electronic components for computers. One measure it uses to monitor the quality of its distribution process is the number of customer invoice errors. The distribution center...
-
To become president of the United States, a candidate does not have to receive a majority of the popular vote. The candidate does have to win a majority of the 538 Electoral College votes. Here is a...
-
Blood is pumped via heart contractions triggered by action potentials spreading through the heart muscle. If there is a sudden increase in blood in chamber 3, which chamber of the heart received an...
-
Determine whether the following taxpayers have gross income from the payment of their expenses: a. Julia's mother, Henrietta, is short of cash when it comes time to pay her property taxes. Julia pays...
-
Celtics Basketball maintains disability and life insurance policies on most of its key players. The level of insurance coverage maintained is based on management's determination of the insurance...
-
On October 1, 2018, Jay Crowley established Affordable Realty, which completed the following transactions during the month: A. Jay Crowley transferred cash from a personal bank account to an account...
-
The balance sheet of Creative Communications, Inc., reported the following: Preferred dividends are in arrears for three years including the current year. On the balance sheet date, the market value...
-
Valron Company has two support departments, Human Resources and General Factory, and two producing departments, Fabricating and Assembly. The costs of the Human Resources Department are allocated on...
-
OQ1 Various Interest Rate Measures Q1a. (Example 3-1) A Walmart bond you purchased two years ago for $890 is now selling for $925. The bond paid $100 per year in coupon interest on the last day of...
-
Generally, a disclosed principal will be liable to third parties for its agents unauthorized misrepresentations if the agent is an Employee . . . Independent Contractor Yes YesYes No No YesNo No
-
Do you think diseconomies of scale are possible? What would it mean for a firm? Briefly explain your answer by mentioning a real-life example.
-
A scenario is (a) a single logic path through a use case (b) a workflow path of the system (c) a screen navigation options (d) a combination of use cases
-
Which of the following is not true concerning the behavior of a use case? (a) An extending use case is always independently meaningful (b) An extended use case is always independently meaningful (c)...
-
The purpose of scenarios is to (a) decompose the use case process (b) identify variations on the use case process (c) identify interactions between use cases (d) run test cases
-
Which of the following steps is involved in creating a use case model? (i) Defining the system (ii) Identifying the actors and the use cases (iii) Defining the relationships between the actors and...
-
Write a MATLAB program to plot the function At) = (x+ 5) for -3
-
Show that gj concave AHUCQ Abadie For nonnegative variables, we have the following corollary.
-
The Spectral Theorem for Hermitian Matrices. Prove that any complex Hermitian matrix can be factored as H = U U where U is a unitary matrix and is a real diagonal matrix.
-
Use the power method to find the dominant eigenvalue and associated eigenvector of the following matrices: (a) (b) (c) (d) (e) (f) (g) (h) (1 2) 0 3 013 121 310 104 025 3 224 112 212 0012 0121 1210 1...
-
Let q(x) = xrTx be a quadratic form. Prove that the minimum value of q(x) is either 0 or - .
-
Is the color of a smartphone nominal or ordinal?
-
Provide an example of a qualitative variable and an example of a quantitative variable.
-
Which are qualitative and which are quantitative? a. The number of patients admitted to a hospital on a given day b. The model of car last sold by a particular car dealer c. The name of your favorite...
Study smarter with the SolutionInn App