Explanation:
First of all get the input from the user, number of rows and number of columns where rows represents seat digit number and column represents the seat letter
rows is initialized to 1 to ensure that row starts at 1 or you can remove it then seat number will start from 0.
The first loop is used for digits starting from 1 to number of rows
The second loop is used for letters starting from 1 to number of columns
since rows and cols are not of the same type that's why we are converting the int type to string type
print(str(rows)+cols) counter will keep updating the columns A, B, C.....
rows= rows + 1 counter will keep updating the rows 1, 2, 3....
Code:
Please refer to the attached image.
Output:
Please enter the number of rows: 2
Please enter the number of columns: 3
1A
1B
1C
2A
2B
2C
Answer:
6.37 inch
Explanation:
Thinking process:
We need to know the flow rate of the fluid through the cross sectional pipe. Let this rate be denoted by Q.
To determine the pressure drop in the pipe:
Using the Bernoulli equation for mass conservation:

thus

The largest pressure drop (P1-P2) will occur with the largest f, which occurs with the smallest Reynolds number, Re or the largest V.
Since the viscosity of the water increases with temperature decrease, we consider coldest case at T = 50⁰F
from the tables
Re= 2.01 × 10⁵
Hence, f = 0.018
Therefore, pressure drop, (P1-P2)/p = 2.70 ft
This occurs at ae presure change of 1.17 psi
Correlating with the chart, we find that the diameter will be D= 0.513
= <u>6.37 in Ans</u>
Answer:
Option A
Chemical engineering
Explanation:
Chemical engineering mainly encompass the study of behavior of different particles such as petroleum, water, drugs and other products. When Anne is involved in a study with engineers who study flow of particles, the flow, viscosity and other properties are among the behavior that chemical engineers are involved in.
Answer:
Explanation:
The python code to generate this is quite simple to run.
i hope you understand everything written here, you can as well try out other problems to understand better.
First to begin, we import the package;
Code:
import pandas as pd
import matplotlib.pyplot as plt
name = input('Enter name of the file: ')
op = input('Enter name of output file: ')
df = pd.read_csv(name)
df['Date'] = pd.to_datetime(df["Date"].apply(str))
plt.plot(df['Date'],df['Absent']/(df['Present']+df['Absent']+df['Released']),label="% Absent")
plt.legend(loc="upper right")
plt.xticks(rotation=20)
plt.savefig(op)
plt.show()
This should generate the data(plot) as seen in the uploaded screenshot.
thanks i hope this helps!!!