Reference no: EM131341571
This project requires the use of programming in a computer language or a computational tool. A chemical is added a drop at a time to a container in which a reaction is occurring. Each drop is measured as precisely 0.xxxx mL. The total amount of the chemical must be computed after each drop is added. Write a program to perform the calculation in two ways: by incrementing the previous total by 0.xxxx (accumulated) and by multiplying 0.xxxx (multiplied) by the number of drops so far. At the beginning of the program, ask the user for the number of iterations and the reporting interval. Print the iteration number and both ongoing totals at the requested intervals. Use the last 4 digits of your phone number as the nonzero digits in the measurement of the drop of the chemical. Replace zeros with different odd digits. For example, with a phone number of 555-9389, use 0.9389; and with 555-8090, possibly use 8193. Sample output for 0.xxxx = 0.9389 is as follows:
Print the output and report for each of the following:
a. Run the program with a reporting interval of 1 to determine the first iteration in which there is a difference between the two computations. What are the absolute and relative errors for accumulated at that point? Is there an error for multiplied?
b. Run the program with a reporting interval of 1,000,000. What are the absolute and relative errors for both totals?
c. Run the program with a reporting interval of 999,999. What are the absolute and relative errors for both totals?
d. Run the program with a large enough number of iterations and a large reporting interval so that eventually the value of accumulated does not change from one report to the next. What explanation do you have for this phenomenon?
Develop an employee compensation and benefits package
: Develop an employee compensation and benefits package for this new position. Support your ideas for the compensation/benefits package.
|
Maintaining long-term professional relationships
: One of the most important aspects of negotiating with someone or a business that you have a long-term and on-going relationship with is maintaining that relationship post-negotiation. Consider the following negotiation:
|
Prepare an implementation plan for change
: Prepare an implementation plan for change that would enable Gar Finnvold to create a fully competitive computer service within two years.
|
What are dual relationships
: What are dual relationships? Why are these relationships considered harmful
|
What are the absolute and relative errors for both totals
: Run the program with a reporting interval of 1 to determine the first iteration in which there is a difference between the two computations. What are the absolute and relative errors for accumulated at that point? Is there an error for multiplied?
|
Write about the employee development
: Write about the "EMPLOYEE DEVELOPMENT".- Write the references after each paragraph and the end of the assignment.
|
Determine at least five information technology roles
: Determine at least five information technology personnel / roles that would be in place in order to start the business venture of gaining better traction of customer satisfaction and loyalty. Justify your response.
|
Health care reform initiatives
: Healthy People 2020 can be viewed as a strategic approach for improving the health of the US population over a ten-year timeline, applicable nationally, regionally, and in states, counties, cities and towns. ... The Healthy People strategy was des..
|
What did you learn about your chosen strategy
: What did you learn about your chosen strategy? What information surprised you? How will you use this information in the future? Make sure to cite the class text
|