Consider the heat equation, Ut = Uzz, u(t,0)=0, u(t, 1) = 0, u(0, 2) = sin(x),...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the heat equation, Ut = Uzz, u(t,0)=0, u(t, 1) = 0, u(0, 2) = sin(x), t>0, 0<x< 1, (a) Verify that u(t, x) = e-t sin(x) is a solution. (b) Plot, on the same axes, the exact solution as a function of r for the times t = 0.001,0.01,0.1. (c) Plot the surface of the exact solution as a function of 2 € [0, 1] and t€ [0.0.1] using 22 and 11 points respectively. (d) Plot, on the same axes, the numerical solution as a function of r at time T = 0.1 using 20 internal grid points and m = 5, 10, 20 time steps. Use the Crank-Nicolson method. List the script file you actually use. Consider the heat equation, Ut = Uzz, u(t,0)=0, u(t, 1) = 0, u(0, 2) = sin(x), t>0, 0<x< 1, (a) Verify that u(t, x) = e-t sin(x) is a solution. (b) Plot, on the same axes, the exact solution as a function of r for the times t = 0.001,0.01,0.1. (c) Plot the surface of the exact solution as a function of 2 € [0, 1] and t€ [0.0.1] using 22 and 11 points respectively. (d) Plot, on the same axes, the numerical solution as a function of r at time T = 0.1 using 20 internal grid points and m = 5, 10, 20 time steps. Use the Crank-Nicolson method. List the script file you actually use.
Expert Answer:
Answer rating: 100% (QA)
To verify and plot the solutions of the heat equation well need to use numerical methods Specifically well use the CrankNicolson method to solve the e... View the full answer
Related Book For
Numerical Methods With Chemical Engineering Applications
ISBN: 9781107135116
1st Edition
Authors: Kevin D. Dorfman, Prodromos Daoutidis
Posted Date:
Students also viewed these programming questions
-
You invest $8,000 today. After two years you invest another $6,000: What will be the balance of your investment portfolio after three years? Assume that you will make an 9% return over the three...
-
In Exercises 610, solve each equation or inequality. X -x-6= 0 - x
-
Find all real solutions. Check your results. 1 x + 2 1 X
-
Complete the questions in the table below.
-
Should a person who owns no stock be concerned about what happens in the stock market?
-
Katrupi, Inc., has five departments that handle all sales, billing, and collection processes. The five departments are sales, billing, accounts receivable, warehouse, and general ledger. These...
-
A single acting reciprocating pump delivers 45 m3/h of water against a total head of 25 m. The pump speed is 90 rpm. If slip is 5%, calculate (a) volume of cylinder in litres, and (b) power...
-
A case study in the chapter analyzed purchasing power parity for several countries using the price of Big Macs. Here are data for a few more countries: a. For each country, compute the predicted...
-
A block of mass 2 kg is attached to a spring with a spring constant of 100 N/m. The block is released from rest and moves along a rough horizontal surface with a coefficient of friction of 0.2. How...
-
Two power plants are currently emitting 8,000 tons of pollution each (for a total of 16,000 tons) in City A. Marginal pollution reduction costs for Plant 1 are given by MCR 1 = 0.02 Q 1 and for Plant...
-
Provide an OS Mind Map of the things you learned? Remember there is a minimum Three hundred words should be. Required Textbook: Title: Guide to Parallel Operating systems with Windows 10 and Linux...
-
Possessors are generally liable for artificial conditions that pose an unreasonable risk of harm to people outside the premises. True False
-
If a plaintiff is injured because of the landlords failure to complete the repairs he started, the plaintiff can sue both the landlord and the tenant. True False
-
A possessor 1. has a duty to ferret out all hidden dangers for an invitee. 2. will not be liable for injuries resulting to an invitee as a result of a faulty design or construction that existed...
-
What is the voluntary-undertaking doctrine?
-
Not all states use the common law distinctions of trespasser, licensee, and invitee. True False
-
Your company is beginning to produce a new product and you are required to determine the price of the product. The marketing department reports that there is a 60 % probability that the product will...
-
Compile data on consumption and expenditures for the following categories in 30 different countries: (1) food and beverages, (2) clothing and footwear, (3) housing and home operations, (4) household...
-
Consider the process flow diagram shown in Fig. 2.14. We can write this out as the system of equations The first four equations are the mass balances; the next eight equations are the process...
-
If it takes 2 seconds to solve a two-dimensional, diffusion equation 2 T = 0 with 20 nodes in x and y using banded Gauss elimination, how long does it take for 40 nodes in x and y?
-
Write the determinant of the following 33 matrix A as a sum of the determinants of 2 2 matrices using co-factor expansion on the third row (i = 3): A = 6 3 5 215 23 2
-
The equity section of Atrio Ltd. showed the following: share premium 6,101, share capitalordinary 925, share capitalpreference 58, retained earnings 7,420, and treasury shares 2,828. (All amounts are...
-
The following equity accounts are in the ledger of Eudaley Group at December 31, 2025. Instructions Prepare the equity section of the statement of financial position at December 31, 2025. Share...
-
Travis Mordica asks, Since share dividends dont change anything, why declare them? What is your answer to Travis?
Study smarter with the SolutionInn App