Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. The zeroth order cylindrical Bessel function has the Maclaurin series 2k 1 Jo(x) = (-1) (k!)2 k=0 N -1* 2.13 () * k=0 To

image text in transcribed

3. The zeroth order cylindrical Bessel function has the Maclaurin series 2k 1 Jo(x) = (-1) (k!)2 k=0 N -1* 2.13 () * k=0 To observe a Bessel function, excite a wave on the surface of your morning cup of coffee. Jo(x) models the wave height as a function of radius. (a) Write a MATLAB function ApproxBesselJ0(x) to approximate Jo(x) as a Maclaurin-Taylor polynomial, 1 Jo(x) (-1)", (k!) where x may be a scalar argument in your function. Your function should determine the minimum truncation N to ensure that the size (N!) -2|x/2/20 of the last term is less than 10-8. For full credit your function must be efficient and use recursion (but no need to use Horner's method). (b) Prepare a table which for x = 5, 20, 45 compares your approximation of Jo(c) with the value returned by MATLAB's built-in besselJ(0,x). Is your function as accurate as you would expect based on the truncation error? (c) Given an explanation for what you observe in (b). Hint: For each x = 5, 20, 45 plot the terms ak 1 2k (k!)2 (2 which alternate in the series as a function of the index k. Note that the truncated sum can be expressed as the difference of two positive numbers. 3. The zeroth order cylindrical Bessel function has the Maclaurin series 2k 1 Jo(x) = (-1) (k!)2 k=0 N -1* 2.13 () * k=0 To observe a Bessel function, excite a wave on the surface of your morning cup of coffee. Jo(x) models the wave height as a function of radius. (a) Write a MATLAB function ApproxBesselJ0(x) to approximate Jo(x) as a Maclaurin-Taylor polynomial, 1 Jo(x) (-1)", (k!) where x may be a scalar argument in your function. Your function should determine the minimum truncation N to ensure that the size (N!) -2|x/2/20 of the last term is less than 10-8. For full credit your function must be efficient and use recursion (but no need to use Horner's method). (b) Prepare a table which for x = 5, 20, 45 compares your approximation of Jo(c) with the value returned by MATLAB's built-in besselJ(0,x). Is your function as accurate as you would expect based on the truncation error? (c) Given an explanation for what you observe in (b). Hint: For each x = 5, 20, 45 plot the terms ak 1 2k (k!)2 (2 which alternate in the series as a function of the index k. Note that the truncated sum can be expressed as the difference of two positive numbers

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

What are the advantages of planning ?

Answered: 1 week ago

Question

Explain the factors that determine the degree of decentralisation

Answered: 1 week ago

Question

What Is acidity?

Answered: 1 week ago

Question

Explain the principles of delegation

Answered: 1 week ago

Question

State the importance of motivation

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago