Question: 3. The zeroth order cylindrical Bessel function has the Maclaurin series J0(x)=k=0(1)k(k!)21(2x)2k. To observe a Bessel function, excite a wave on the surface of your

 3. The zeroth order cylindrical Bessel function has the Maclaurin series

3. The zeroth order cylindrical Bessel function has the Maclaurin series J0(x)=k=0(1)k(k!)21(2x)2k. To observe a Bessel function, excite a wave on the surface of your morning cup of coffee. J0(x) models the wave height as a function of radius. In Matlab and OCtave values of J0(x) are given by besselj (0,x). (a) Write a MAtLaB function ApproxBesselJo (x,N) to approximate J0(x) as a Maclaurin-Taylor polynomial, J0(x)k=0N(1)k(k!)21(2x)2k, where the input N determines the truncation. For full credit your function must be efficient and use recursion when computing the terms in the sum. Treating MatLab's value as the exact value, set x=20 and plot the error in your approximation as a function of N for N=1:Nmax. Choose the maximum value Nmax as the smallest integer such that the last term added to the sum has absolute value (Nmax!)21(2x)2Nmax=(Nmax!)2100Nmax

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!