Question: I need help with a c++ code that does derivatives and integrals. Any help will be great Purpose: Practice Functional Design and Use Case Analysi

 I need help with a c++ code that does derivatives and

I need help with a c++ code that does derivatives and integrals. Any help will be great

Purpose: Practice Functional Design and Use Case Analysi Description: This program is intended to introduce you to the use of computers for numerical analysis. The functions below are described by a set of input and output values using linear arrays. There is design documentation required this time 1. Write a program that allows the user to select between a constant, linear and quadratic function and then numerically integrate or differentiate over some interva a. You will need to read endpoints for the interval as well as select the function b. Use arrays to save function values over the interval for a list of inputs c. Provide a menu that allows a user to input the constants for quadratic function. Then generate an array of inputs and an array of function values at those inputs d. Use the formulas shown in Problems 7.4 and 7.5 (pg 175) to integrate and differentiate numerically once you have the arrays. Produce a new array of values for the integral and another for the derivative of the selected function e. Test your functions by differentiating the integral function and seeing whether you get the original function values back. 2. List as many individual requirements for the above program as you can 3. Create a set of use cases to develop a concept for how program works. See slides for examples. Indicate which use cases cover each requirement. A matrix works well for that. 4. Identify the functions you will use in this program and draw some kind of block diagram (static, dynamic, or data flow) for your program showing how the functions are related. Try to indicate where the major requirements are satisfied using annotations. Define the physical interface for the functions you use and create a data dictionary for the parameters. You can upload a jpg image of pages in your notebook for this design work. 5. Notes Put at least two cpp files programs (a main and at least one function), and 2 screen shots (integral and derivative) in D2L dropbox. Put the jpg or pdf image of the pages from your notebook showing steps 2 to 5 and upload to the D2L dropbox

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!