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:
the maximum length of specimen before deformation is found to be 235.6 mm
Explanation:
First, we need to find the stress on the cylinder.
Stress = σ = P/A
where,
P = Load = 2000 N
A = Cross-sectional area = πd²/4 = π(0.0037 m)²/4
A = 1.0752 x 10^-5 m²
σ = 2000 N/1.0752 x 10^-5 m²
σ = 186 MPa
Now, we find the strain (∈):
Elastic Modulus = Stress / Strain
E = σ / ∈
∈ = σ / E
∈ = 186 x 10^6 Pa/107 x 10^9 Pa
∈ = 1.74 x 10^-3 mm/mm
Now, we find the original length.
∈ = Elongation/Original Length
Original Length = Elongation/∈
Original Length = 0.41 mm/1.74 x 10^-3
<u>Original Length = 235.6 mm</u>
Answer:
A charge q1=7.0mc is located at the origin and a second charge q2=-5.0mc is located on the x axis, 0.3m the origin find the electric field at the point p which he's coordinates (0,0.40)m