subject

Numerical methods are implementations of mathematical algorithms but constructed with special consideration for accuracy of solutions and computational run-time. The order in which we implement floating point arithmetic for any numerical method will affect the accuracy of the final computed value. For this reason, extra thought must be placed on our basic mathematical operations. In this problem, you are asked to add-up the values in a large array called data. How should you do this to achieve the most accurate final sum? Return your summation as a floating point variable named data_sum. The values and size of data will vary in length, so make sure your code is written in a generic fashion to handle this aspect. The setup code gives the following variable:Name Type Descriptiondata 1D numpy array contains data to be summed Your code snippet should define the following variables: Name Type Description data sum floating point number sum of data with minimum error

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. obfuscate: to make something so confusing that it is difficult to understand.
Answers: 2
You know the right answer?
Numerical methods are implementations of mathematical algorithms but constructed with special consid...
Questions