Answer:
Elastic modulus of steel = 202.27 GPa
Explanation:
given data
long = 110 mm = 0.11 m
cross section 22 mm = 0.022 m
load = 89,000 N
elongation = 0.10 mm = 1 ×
m
solution
we know that Elastic modulus is express as
Elastic modulus =
................1
here stress is
Stress =
.................2
Area = (0.022)²
and
Strain =
.............3
so here put value in equation 1 we get
Elastic modulus =
Elastic modulus of steel = 202.27 ×
Pa
Elastic modulus of steel = 202.27 GPa
Answer:
28 , 24-inch screwdrivers
Explanation:
The total number of screwdrivers that can be purchased is = 70
4 - inch length screwdrivers = 10
6- inch length screwdrivers = 12
8- inch length screwdrivers = 20
Total = 20 +12 +10 = 42
Remaining = 70-42 = 28
So, heavy 24-inch screwdrivers = 28
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:

Explanation:
Initial Temperature 
Initial Pressure 
Final Pressure 
Generally the gas equation is mathematically given by

Where
n for 
Therefore

