Consider the PDE given by u(x) = sin(x) on [0, 1] such that u(0) = 0...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the PDE given by u"(x) = sin(x) on [0, 1] such that u(0) = 0 and u(1) = 1. (a) (5 points) Solve this boundary value problem analytically. (b) (10 points) Using the second-order approximation of the second derivative, write the associated linear algebra problem that can be solved to approximate the solution to this PDE for a given value of h. For [a, b], use gridpoints located at xo = a, x1 = a +h, x₂ = a + 2h, ...N = b - h, xN+1 = b. Therefore, your unknowns will be u₁,..., un, and you b α will have h N + 1 (c) (20 points) Solve this PDE in Matlab with Matlab's backslash for values of N = 23, 24,..., 2¹2. Perform a refinement study, using the relative error of your solution, in the max norm. In your refinement study log log plot, use N for the x-axis. (This is more natural than the use of h that we must use for problem (3). This is because convergence shows error going down as you increase N, left to right.) What order of convergence do you get? Also plot your approximate solutions and the true solution. Consider the PDE given by u"(x) = sin(x) on [0, 1] such that u(0) = 0 and u(1) = 1. (a) (5 points) Solve this boundary value problem analytically. (b) (10 points) Using the second-order approximation of the second derivative, write the associated linear algebra problem that can be solved to approximate the solution to this PDE for a given value of h. For [a, b], use gridpoints located at xo = a, x1 = a +h, x₂ = a + 2h, ...N = b - h, xN+1 = b. Therefore, your unknowns will be u₁,..., un, and you b α will have h N + 1 (c) (20 points) Solve this PDE in Matlab with Matlab's backslash for values of N = 23, 24,..., 2¹2. Perform a refinement study, using the relative error of your solution, in the max norm. In your refinement study log log plot, use N for the x-axis. (This is more natural than the use of h that we must use for problem (3). This is because convergence shows error going down as you increase N, left to right.) What order of convergence do you get? Also plot your approximate solutions and the true solution.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
A mixed integer linear programming (MILP) model can be used advantageously to assist in preparing a report for Mr Wolff Since the annual fixed costs of operating the lockboxes are not known exactly...
-
Examine the difficulty of adding a proposed lwi.drd, rsl, rs2 (Load With Increment) instruction to MIPS. Interpretation: Reg[rd] = Mem[Reg[rs1] + Reg[rs2]] 1. Which new functional blocks (if any) do...
-
Chilled ethylene glycol (sp gr = 1.11) is pumped through the shell side of a condenser and a control valve at a nominal flow rate of 200 gal/min. The total pressure drop over the entire system is...
-
CTD Ltd has two divisions FD and TM. FD is an iron foundry division which produces mouldings that have a limited external market and are also transferred to TM division. TM division uses the...
-
In connection with his examination of the financial statements of the Olympia Manufacturing Company, a CPA is reviewing procedures for accumulating direct labor hours. He learns that all production...
-
A manufacturing firm has developed a skills test, the scores from which can be used top workers production rating factors. Data on the test scores of various workers and their subsequent production...
-
1) Please describe two areas that you feel you could improve upon. How would you improve on each area that you described? 2) Describe a significant challenge (life, school, work, family, etc.) you...
-
Upsidedown Cake Company produces dessert products for sale in grocery stores, but it also has a retail location. At the end of 2018, the company had $349,000 in accounts receivable before netting out...
-
Refer to the projected balance sheet of a bank shown below (numbers are in millions): Projected Balance Sheet Liabilities Demand deposits rate Assets Consumer loans -10% floating rate 375 Corporate...
-
What is the magnitude of the acceleration of a skydiver who is currently falling at one-half his eventual terminal speed?
-
A gymnast on the uneven parallel bars is at rest, tipped at a 45 angle from the vertical. The distance from her hands to her feet is 1.8 m. If we model her body as having a uniform cross section and...
-
When you stand quietly, you pivot back and forth a very small amount about your ankles. Its easier to maintain stability if you tip slightly forward, so that your center of gravity is slightly in...
-
The bigclaw snapping shrimp shown in Figure P7.14 is aptly namedit has one big claw that snaps shut with remarkable speed. The part of the claw that moves rotates through a 90 angle in 1.3 ms. If we...
-
A Jeep is stuck in the mud. The driver has a winch that can pull on its cable with a force of 40,000 N. The driver loops the cable through a pulley attached to a tree, then attaches the end of the...
-
Assume that the single factor API mode applies and a portfolio exists such that 1/3 of the funds are invested in Security Q and the rest in the risk-free asset. Security Q has a beta of 1.55. What is...
-
Cassandra Casey operates the Futuristic Antique Store. She maintains subsidiary ledgers for accounts payable and accounts receivable. She presents you with the following information for October 2019:...
-
(a) Let h{x) 0 be a continuous, non-negative function defined on an interval [a. b]. Prove that beh(x)dx = 0 if and only if h(x) = 0. Hint: Use the fact that -di h(x)dx > 0 if h(x) > 0 for c
-
Suppose a linear transformation L: Rn Rn is represented by a symmetric matrix with respect to the standard basis e1,..., en. (a) Prove that its matrix representative with respect to any orthonormal...
-
Let b = (3,1, 2, l)7. Find the closest point and the distance from b to the following subspaces: (a) The line in the direction (1. 1. 1. I)T, (b) The plane spanned by (1,1,0,0)T and (0.0, 1, l)T, (c)...
-
Distinguish between P-time and M-time.
-
During the year to 31 March 2024, a company which qualifies as medium-sized spends 180,000 on research and development. This is qualifying expenditure under the R&D tax relief scheme. Explain the...
-
A company's accounts for the 17 months to 30 June 2023 include: The debentures were acquired (not for trade purposes) on 1 May 2022. Interest is payable half-yearly on 30 April and 31 October. Show...
Study smarter with the SolutionInn App