Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Math Expert


Home >> Math

I - An Embedded Runge-Kutta Methods

Task 1: Write out the formulas for k1, . . . , k4, yn+1 and y^n+1.

Task 2: Explain how this specific method can be implemented so that only 3 function evaluations per step are required.

Task 3: Write out R(z) in the same way and state the values of the coefficients α1, α2 and α3.

Task 4: Use Maple to make a plot of the polynomials R(z) and R^(z) for z ∈ [-3, 1]. Use one graph to show both polynomials together.

Task 5: Use Maple to find the value z* such that |R(z)| < 1 for all values z ∈ (z*, 0). In the same way, use Maple to find the value z^* such that |R^(z)| < 1 for all values z ∈ (z^*, 0). Hint: You can use the fsolve command.

Task 6: Suppose we use the RK2 method with a constant step size h for the system of ODEs

X' = Ax = XΛX-1x, where X is an arbitrary 2 × 2 matrix and

2466_img1.png

Use the results from the previous task to find the upper bound on h required to obtain a stable method. Also find the upper bound for the RK3 method. Which of the two methods gives the most severe restriction on h?

II - Constant Step Size Implementation

Task 1: Implement a procedure that takes as arguments the parameters a, b, c ∈ R and z : R → R, the initial condition t0, x0, y0 ∈ R, the final time te ∈ R and the number of steps N ∈ N and calculates an approximation to the solution of the Fitz Hugh-Nagumo model (1.1)-(1.2). The output of your procedure should be five arrays t[0..N], x[0..N], y[0..N], x^[0..N], y^[0..N] containing the grid points tn and the numerical approximations xn, yn, x^n and y^n. It may be a good idea to base your implementation on several smaller procedures.

Task 2: Use the procedure from the previous task to calculate an approximate solution to the Fitz Hugh-Nagumo problem (1.1)-(1.2) for the parameter values a = 0.7, b = 0.8, c = 1, 3, 9 and z(t) = -0.4. Use t0 = 0, x0 = 1.2 and y0 = -0.625 as the values for the initial condition, te = 32 and N = 400. For each value for c create three graphs:

  • xn and yn versus tn,
  • the error estimate Ln =

    37_img2.png, versus tn

  • a phase plot: yn versus xn.

The error estimate is measured using the norm ||[xy]||2 = √(x2 + y2). Use a logarithmic scale for the error estimate Ln (see plots[logplot]).

It may be a good idea to write several procedures to solve this task. For example, you could write a procedure that takes as arguments N the arrays t[0..N], x[0..N], y[0..n], x^[0..N] and y^[0..N] and produces the necessary graphs. This procedure can then be reused in the next section.

Briefly describe the results and how the parameter c influences the solution and the error estimate.

III - Variable Step Size Implementation

Task 1: Implement a procedure that takes as arguments the parameters a, b, c ∈ R and z : R → R, the initial condition t0, x0, y0 ∈ R, the final time te ∈ R, the initial step size h0, the error tolerance  and the maximum number of time steps Nmax and calculates an approximation to the solution of the Fitz Hugh-Nagumo model (1.1)-(1.2) using the variable step size technique just described. The output of your procedure should be the number of time steps N and five arrays t[0..N], x[0..N], y[0..N], x^[0..N], y^[0..N] containing the grid points tn and the numerical approximations xn, yn, x^n and y^n. Note that as far as input values are concerned the only difference with the constant step size procedure is that instead of the input parameter N we have the parameters h0, ε and Nmax. The number of time steps N is an extra output value for the variable step procedure.

Because we do not know beforehand how many steps the procedure will take, we cannot use Maple Array data structures directly. Instead we will use table data structures and convert them to Array data structures at the end.

Task 2: Repeat Task 2 in part II, but use the variable step procedure rather than the constant step procedure. Use the same parameter values as in Task 2, but use h0 = 10-3, ε = 10-5 and Nmax = 400 (rather than specifying N as was done for the constant step case). In addition to the graphs of xn, yn versus tn, the error estimate Ln versus tn and the phase plot with xn versus yn, also generate a graph of the step size hn versus tn. Use a logarithmic scale for the hn axis. You can either implement new procedures for this task (possibly using procedures from the previous section) or you can adapt the procedures from the previous section so that they can use both the constant and variable step methods. Briefly describe your observations.

References-

[Fit61] R. FitzHugh. Impulses and physiological states in theoretical models of nerve membrane. Biophysical Journal, 1:445-466, 1961.

[NAY62] J. S. Nagumo, S. Arimoto, and S. Yoshizawa. An active pulse transmission line simulating nerve axon. Proceedings of the Institute of Radio Engineers, 50:2061-2071, 1962.

Math, Academics

  • Category:- Math
  • Reference No.:- M91593499
  • Price:- $180

Guranteed 48 Hours Delivery, In Price:- $180

Have any Question?


Related Questions in Math

Clarity succinctness writing your name and netid1

Clarity, succinctness, writing your name and Netid: 1 Indistinguishability 1. If {X n }n is computationally indistinguishable from {Y n } n , {Y n } n is computationally indistin- guishable from {Z n } n, then (select th ...

Assignment - solving the five question in the very details

Assignment - Solving the five question in the very details, thanks a lot. Question - Let a ∈ P n be a point. Show that the one-point set {a} is a projective variety, and compute explicit generators for the ideal I p ({a} ...

Questions - provide solution to the following questionsq1

Questions - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3xdx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find t ...

Mathematics- algebraic geometry problemlet k denotes an

Mathematics- Algebraic Geometry Problem Let K denotes an algebraically closed field and let P 1 be constructed as in Example 5.5(a) in Gathmanns notes, i.e. P 1 is the gluing of X 1 = A 1 and X 2 = A 1 along  the open su ...

Question 1 what is the nth order approximation using taylor

Question: 1. What is the nth order approximation using Taylor series? 2. What is Error Propagation? 3. Please explain what the total numerical error is? Please illustrate how the change of step size will affect the total ...

Instructionsthe aim of the assignment is that the

Instructions The aim of the assignment is that the student/group studies and applies numerical methods such as Euler's method, the Improved Euler's method and the Runge-Kutta method to solve first-order differential equa ...

Assignment - provide solution to the following questionsq1

Assignment - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3x dx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find ...

Question you will recommend a course of action regarding

Question: You will recommend a course of action regarding strategic planning in light of the issue the healthcare organization is facing. Be sure to address the following: 1. Provide a brief summary of the issue facing t ...

1 suppose that n 10088821 is a product of two distinct

1. Suppose that n = 10088821 is a product of two distinct primes, and Φ(n) = 10082272. Determine the prime factors of n. 2. It is easy to show that the converse of Fermat's Theorem does not hold; i.e., the congruence a n ...

Assessment taskpractical investigation- question 1 requires

Assessment Task Practical Investigation - Question 1 requires selecting reference points from the graph. It is expected that each student will choose different reference points to other students. Take note of the criteri ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As