Answer:
S = 0.5 km
velocity of motorist = 42.857 km/h
Explanation:
given data
speed = 70 km/h
accelerates uniformly = 90 km/h
time = 8 s
overtakes motorist = 42 s
solution
we know initial velocity u1 of police = 0
final velocity u2 = 90 km/h = 25 mps
we apply here equation of motion
u2 = u1 + at
so acceleration a will be
a =
a = 3.125 m/s²
so
distance will be
S1 = 0.5 × a × t²
S1 = 100 m = 0.1 km
and
S2 = u2 × t
S2 = 25 × 16
S2 = 400 m = 0.4 km
so total distance travel by police
S = S1 + S2
S = 0.1 + 0.4
S = 0.5 km
and
when motorist travel with uniform velocity
than total time = 42 s
so velocity of motorist will be
velocity of motorist = 
velocity of motorist =
velocity of motorist = 42.857 km/h
Answer:
hshdhriwjajaldh skshdjdywuusg
Explanation:
null
Answer: its an Ignition coil
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.