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.
The altitude ensures acceptable navigational signal coverage only within 22 NM of a VOR.
<h3>What is altitude?</h3>
Altitude or height exists as distance measurement, usually in the vertical or "up" approach, between a reference datum and a point or object. The exact meaning and reference datum change according to the context.
The MOCA exists in the lower published altitude in effect between fixes on VOR airways, off-airway routes, or route segments that satisfy obstacle support conditions for the whole route segment. This altitude also ensures acceptable navigational signal coverage only within 22 NM of a VOR.
The altitude ensures acceptable navigational signal coverage only within 22 NM of a VOR.
Therefore, the correct answer is 22 NM of a VOR.
To learn more about altitudes refer to:
brainly.com/question/1159693
#SPJ4
Answer:
=0.60
Explanation:
Given :Take
=1.4 for air

=r ⇒ r=16
As we know that

So 
=909.42K
Now find the cut off ration 



So efficiency of diesel engine

Now by putting the all values

So
=0.60
So the efficiency of diesel engine=0.60
Answer:
Vector C = 1.334i + 8.671j + 2k or 1.334x + 8.671y + 2z
Explanation:
The concept applied to solve the question is cross product of vector, AXB since vector C is perpendicular to vector A and B and this is solved by applying the 3X3 determinant method.
A detailed step by step explanation is attached below.