Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me on the following : For Project 1, you will develop a suite of MATLAB functions to solve a variety of problems related

Please help me on the following :

For Project 1, you will develop a suite of MATLAB functions to solve a variety of problems related to one of the numerical integration.

Numerical Integration:

Explore numerical integration methods of a single-valued function of one variable (or more) by using a consistent interface (handle, bounds, number) to implement solutions.

Features

Integration methods : I am choosing the midpoint from the given integration methods. The feature levels are

  1. Basic : A function for each of the stated numerical integration methods.
  2. Proficient : An additional output argument is returned -- the error estimate.
  3. Advanced : Additionally, one method is extended in an additional function with a similar interface which can integrate single-valued functions of any number of variables.

Make sure to write at least one of your integration functions in a way that demonstrates for loops, and another in a way that demonstrates the use of vectorized calculations.

Unit Tests

Testing is expected to be conducted on each feature function using a variety of techniques (by hand, limiting behavior, symmetry) in order to fully ensure expected behavior. Proficient-level projects will necessarily have more tests to cover the additional answers of each feature function. Grouping tests into files by feature-function is encouraged. Tests are expected to use the format indicated in class and the LL book.

Graphing

Implement at least two graphing functions:

  1. Takes arguments for integrand function handle, limits, NNN, method handle, and constructs a geometric illustration of the method
  2. Takes argument of integrand function handle, limits, and known result, and compares convergence of all four methods by NNN, or alternatively, computation time by precision.

Make sure to keep the calculations of the points you intend to display in a separate function from the plotting code! Also, remember to display appropriate axis labels, titles, legends, and informational lables.

Demonstrations

Write three short demo functions which drive specific calls to your graphing functions.

Documentation

  1. Write a file README.md giving an overview of your project, include theory and links to documentation.
  2. Write a file 'functionName.md' for each non-test function in your project which documents its behavior.

Use the syntax provided by GitLab Markdown and the conventions of the Mathworks online documentation in formatting your own.

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

Accounting Tools For Business Decision Making

Authors: Paul D. Kimmel, Jerry J. Weygandt, Donald E. Kieso

6th Edition

111919167X, 9781119191674

More Books

Students also viewed these Accounting questions

Question

=+Creative strategy statement template Example

Answered: 1 week ago

Question

=+6. Why should they buy this product/service?

Answered: 1 week ago