subject
Mathematics, 28.06.2019 21:20 justhereforanswers13

Write a computer code to implement the composite trapezoidal rule quadrature th[f] = h 1 2 f(x0) + f(x1) + : : : + f(xn? ? 1) + 1 2 f(xn) ; (1) to approximate the denite integral i[f] = z b a f(x)dx; (2) using the equally spaced points x0 = a, x1 = x0 + h, x2 = x0 + 2h, . . , xn = b, where h = (b? ? a)=n. make sure that all your codes have a preamble which describes the purpose of the code, all the input variables, the expected output, your name, and the date of the last time you modied the code.

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 16:10
The box plot shows the number of raisins found in sample boxes from brand c and from brand d. each box weighs the same. what could you infer by comparing the range of the data for each brand? a) a box of raisins from either brand has about 28 raisins. b) the number of raisins in boxes from brand c varies more than boxes from brand d. c) the number of raisins in boxes from brand d varies more than boxes from brand c. d) the number of raisins in boxes from either brand varies about the same.
Answers: 2
question
Mathematics, 21.06.2019 21:10
The table below shows the approximate height of an object x seconds after the object was dropped. the function h(x)= -16x^2 +100 models the data in the table. for which value of x would this model make it the least sense to use? a. -2.75 b. 0.25 c. 1.75 d. 2.25
Answers: 2
question
Mathematics, 21.06.2019 23:30
Scenario: a rectangular plot of ground is 5 meters longer than it is wide. its area is 20,000 square meters. question: what equation will you find the dimensions? note: let w represent the width. options: w(w+5)=20,000 w^2=20,000+5 (w(w+5))/2=20,000 w+2(w+5)=20,000
Answers: 1
question
Mathematics, 22.06.2019 00:00
Mrs. blake's bill at a restaurant is $42.75. she wants to leave the waiter an 18% tip. how much will she pay in all, including the tip?
Answers: 2
You know the right answer?
Write a computer code to implement the composite trapezoidal rule quadrature th[f] = h 1 2 f(x0) + f...
Questions
question
Mathematics, 31.01.2020 15:04
question
Mathematics, 31.01.2020 15:04
Questions on the website: 13722367