Engineering
Engineering, 04.04.2020 03:02, nayellisoto15

Vectorize the midpoint rule for integration The midpoint rule for approximating an integral can be expressed as ∫badxf(x)≈h∑i=1nf(a−12h+ih), where h=b−an. Write a function midpointint( f, a,b, n ) to compute the midpoint rule using the numpy sum function. Please be careful in generating i, which should range from 1 to n inclusive. (You could, for instance, use a range and convert it to an array.) Your submission should include a function midpointint( f, a,b, n ).

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, kevin72836
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
image
Engineering, 04.07.2019 18:10, selenamr
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed. gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
image
Engineering, 04.07.2019 18:10, mamasbug4285
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
Answers: 3
image
Engineering, 04.07.2019 18:20, krojas015
Asolid cylinder is concentric with a straight pipe. the cylinder is 0.5 m long and has an outside diameter of 8 cm. the pipe has an inside diameter of 8.5 cm. the annulus between the cylinder ad the pipe contains stationary oil. the oil has a specific gravity of 0.92 and a kinematic viscosity of 5.57 x 10-4 m2/s. most nearly, what is the force needed to move the cylinder along the pipe at a constant velocity of 1 m/s?
Answers: 3
Do you know the correct answer?
Vectorize the midpoint rule for integration The midpoint rule for approximating an integral can be e...

Questions in other subjects:

Konu
English, 28.12.2020 18:40
Konu
Physics, 28.12.2020 18:40
Konu
Business, 28.12.2020 18:40