![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 10.03.2020 00:31 lilquongohard
An approximation to the integral of a function f(x) over an interval [a, b] can be found by first approximating f(x) by the straight line that goes through the end points (a, f(a)) and (b, f(b)), and then finding the area under the straight line, which is the area of the trapezoid. The resulting formula becomes:
lim(a→b) ∫ f(x)d(x) = (b-a)/2[f(a) + f(b)]
Write a function trapezint1( f, a,b) that returns this approximation to the integral. The argument f is a Python implementation f(x) of the mathematical function f(c). For instance, the result of trapezint1( math. sin,0,0.5* math. pi ) should be 0.7854 (with some numerical error). The result of trapezint1( abs, -1,1 ) should be 2.0.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00
The isometric projection camera technique provides an illusion of perspective by using things like parallax scrolling to create the illusion of 3d in a 2d game
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 06:30
Some peer-to-peer networks have a server and some don't. true false
Answers: 2
You know the right answer?
An approximation to the integral of a function f(x) over an interval [a, b] can be found by first ap...
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 07.10.2019 22:30
![question](/tpl/images/cats/ekonomika.png)
Business, 07.10.2019 22:30
![question](/tpl/images/cats/istoriya.png)
History, 07.10.2019 22:30
![question](/tpl/images/cats/istoriya.png)
History, 07.10.2019 22:30
![question](/tpl/images/cats/en.png)
English, 07.10.2019 22:30
![question](/tpl/images/cats/mat.png)
Mathematics, 07.10.2019 22:30
![question](/tpl/images/cats/mat.png)
Mathematics, 07.10.2019 22:30
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 07.10.2019 22:30
![question](/tpl/images/cats/istoriya.png)
History, 07.10.2019 22:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 07.10.2019 22:30
![question](/tpl/images/cats/en.png)
English, 07.10.2019 22:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 07.10.2019 22:30