Answer:
8 mm
Explanation:
Given:
Diameter, D = 800 mm
Pressure, P = 2 N/mm²
Permissible tensile stress, σ = 100 N/mm²
Now,
for the pipes, we have the relation as:
where, t is the thickness
on substituting the respective values, we get
or
t = 8 mm
Hence, the minimum thickness of pipe is 8 mm
Answer:
COMMON ENGINEERING DOCUMENTS
Inspection or trip reports.
Research, laboratory, and field reports.
Specifications.
Proposals.
Progress reports.
ect...
Explanation:
Answer:
Assumption:
1. The kinetic and potential energy changes are negligible
2. The cylinder is well insulated and thus heat transfer is negligible.
3. The thermal energy stored in the cylinder itself is negligible.
4. The process is stated to be reversible
Analysis:
a. This is reversible adiabatic(i.e isentropic) process and thus 
From the refrigerant table A11-A13

sat vapor
m=

b.) We take the content of the cylinder as the sysytem.
This is a closed system since no mass leaves or enters.
Hence, the energy balance for adiabatic closed system can be expressed as:
ΔE
ΔU
)
workdone during the isentropic process
=5.8491(246.82-219.9)
=5.8491(26.91)
=157.3993
=157.4kJ
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.