Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a continuation from the previous problem. Once you have found the lower and upper bound ( a and b values ) that brackets

This is a continuation from the previous problem. Once you have found the lower and upper bound (a and b values) that brackets a zero/root for the Bessel function J. You can now use the bisection method to find the zero/root.
Given the lower and the upper bound that brackets the root, write a function that outputs the root and the number of iteration using the bisection method. The function should accept the following inputs in order:
alpha (alpha) for Bessel function J
lower bound (low)
upper bound (upp)
And outputs the following in order:
root
number of iteration to reach approximate error (present besselj of mid - previous besselj of mid) of (Note: For example, input =(0,2,3), the answer should be 2.25 for 1 iteration)
For example:
To find the first root of J0, your input for lower bound is 2 and upper bound is 3.
Input =(0,2,3) Output =[2.4048255576957732]
Supplemental Deliverables (2 points):
For supplemental deliverables, you do not need to run your code in Matlab Grader. You have to turn in a hard copy of what is asked.
Use your functions from problem 3.2 and 3.3. Recreate the following table.

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions