1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
laila [671]
3 years ago
7

We can easily improve the formula by approximating the area under the function f(x) by two equally-spaced trapezoids. Derive a f

ormula for this approximation and implement it in a function trapezint2( f,a,b ).
Computers and Technology
1 answer:
Salsk061 [2.6K]3 years ago
3 0

Answer:

Explanation:

\text{This is a math function that is integrated using a trapezoidal rule } \\ \\

\text{import math}

def \text{trapezint2(f,a,b):}

      \text{midPoint=(a+b)/2}

       \text{return .5*((midPoint-a)*(f(a)+f(midPoint))+(b-midPoint)*(f(b)+f(midPoint)))}

\text{trapezint2(math.sin,0,.5*math.pi)}

0.9480594489685199

trapezint2(abs,-1,1)

1.0

You might be interested in
What does pagination mean in Microsoft Word?
marin [14]

it means to alt f4 then that would help so it can eat the microscope then have it digested

5 0
3 years ago
Read 2 more answers
If a destructive program is running that might be destroying evidence what should be done
Vikentia [17]
The choices can be found elsewhere and as follows:
a. perform an immediate full backup
b. attempt to end the process
c. pull the power cable
d. record the destruction using a video capture of the screen

I think the correct answer is option a. If a destructive program is running that might be destroying evidence, then perform an immediate full backup. 
3 0
3 years ago
Which of the following are NOT two of the best ways to StaySafe around electricity? A. Maintain a safe distance from overhead po
kherson [118]

The answer is option C: Use ground-fault circuit interrupters, and inspect extensions cords and portable tools.

Inspecting the extension cords needs to be done constantly, or there can be abrasions or cuts that won't be noticed. Option B remains one of the most important ways to be safe around electricity. Always wear non-conductive safety equipment, such as safety goggles or rubber gloves. You should also avoid touching exposed metal. Option C indicates one of the two ways that do not help you stay safe around electricity. A ground fault interrupter only works if there is a short circuit or a huge amount of energy going through that point and thus, will not effectively protect you from possible incidents with electricity.


3 0
3 years ago
Read 2 more answers
research the risk of social media and list 3 websites that have information about the topic instead of the one you listed on you
Naily [24]
1) Social Life decreased
2) Missing opportunity’s
3)Passing Time
3 0
2 years ago
What is Microsoft marketing ?
vaieri [72.5K]

Answer:

Microsoft Corporation's marketing mix is a showcase of how rapid innovation combines with effective approaches.

Explanation:

Microsoft's current marketing strategy is to drive its enterprise businesses by creating cloud-based solutions that will stick with consumers.

American multinational technology company with headquarters in Redmond, Washington. It develops, manufactures, licenses, supports, and sells computer software, consumer electronics, personal computers, and related services.

6 0
3 years ago
Other questions:
  • What company handles security for a lot of the e-commerce on the internet and also maintains two root name server clusters?
    8·1 answer
  • Which wildcard character replaces a single character in the command-line interface?
    11·1 answer
  • If a firm's pages are not near the top of query results, customers may never discover its website. This has led to _____ becomin
    12·1 answer
  • Seven Features of computer aids design software
    6·1 answer
  • Assignment 2 edhesive
    8·2 answers
  • Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. T
    9·1 answer
  • What is the output of the code?
    15·1 answer
  • I have this questions i need to make it in a report format pages of atleast 3 pages and maximum of 5 pages​
    7·1 answer
  • Please helpppppppppp​
    8·1 answer
  • What is the primary difference among a domain model, an analysis model, and a design model for the same project?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!