Answer:
In the simplest terms, bioremediation is a waste management process using live organisms to neutralize or remove harmful pollutants from contaminated areas. Bioremediation is an environmental science that amplifies natural biological actions to remedy or remediate polluted groundwater and contaminated soil.
Explanation:
Answer:
import numpy as np
import time
def matrixMul(m1,m2):
if m1.shape[1] == m2.shape[0]:
t1 = time.time()
r1 = np.zeros((m1.shape[0],m2.shape[1]))
for i in range(m1.shape[0]):
for j in range(m2.shape[1]):
r1[i,j] = (m1[i]*m2.transpose()[j]).sum()
t2 = time.time()
print("Native implementation: ",r1)
print("Time: ",t2-t1)
t1 = time.time()
r2 = m1.dot(m2)
t2 = time.time()
print("\nEfficient implementation: ",r2)
print("Time: ",t2-t1)
else:
print("Wrong dimensions!")
Explanation:
We define a function (matrixMul) that receive two arrays representing the two matrices to be multiplied, then we verify is the dimensions are appropriated for matrix multiplication if so we proceed with the native implementation consisting of two for-loops and prints the result of the operation and the execution time, then we proceed with the efficient implementation using .dot method then we return the result with the operation time. As you can see from the image the execution time is appreciable just for large matrices, in such a case the execution time of the efficient implementation can be 1000 times faster than the native implementation.
Answer:
V=33.66 m/s
![Re=448.8\times 10^6](https://tex.z-dn.net/?f=Re%3D448.8%5Ctimes%2010%5E6)
Re>4000, The flow is turbulent flow.
Explanation:
Given that
Pressure difference = 50 mm of Hg
We know that density of Hg=136000![Kg/m^3](https://tex.z-dn.net/?f=Kg%2Fm%5E3)
ΔP= 13.6 x 1000 x 0.05 Pa
ΔP=680 Pa
Diameter of tunnel = 200 mm
Property of air at 25°C
ρ=1.2![Kg/m^3](https://tex.z-dn.net/?f=Kg%2Fm%5E3)
Dynamic viscosity
![\mu =1.8\times 10^{-8}\ Pa.s](https://tex.z-dn.net/?f=%5Cmu%20%3D1.8%5Ctimes%2010%5E%7B-8%7D%5C%20Pa.s)
Velocity of fluid given as
![V=\sqrt{\dfrac{2\Delta P}{\rho_{air}}}](https://tex.z-dn.net/?f=V%3D%5Csqrt%7B%5Cdfrac%7B2%5CDelta%20P%7D%7B%5Crho_%7Bair%7D%7D%7D)
![V=\sqrt{\dfrac{2\times 680}{1.2}}](https://tex.z-dn.net/?f=V%3D%5Csqrt%7B%5Cdfrac%7B2%5Ctimes%20680%7D%7B1.2%7D%7D)
V=33.66 m/s
Reynolds number
![Re=\dfrac{\rho _{air}Vd}{\mu }](https://tex.z-dn.net/?f=Re%3D%5Cdfrac%7B%5Crho%20_%7Bair%7DVd%7D%7B%5Cmu%20%7D)
![Re=\dfrac{1.2\times 33.66\times 0.2}{1.8\times 10^{-8}}](https://tex.z-dn.net/?f=Re%3D%5Cdfrac%7B1.2%5Ctimes%2033.66%5Ctimes%200.2%7D%7B1.8%5Ctimes%2010%5E%7B-8%7D%7D)
![Re=448.8\times 10^6](https://tex.z-dn.net/?f=Re%3D448.8%5Ctimes%2010%5E6)
Re>4000,So the flow is turbulent flow.