Answer:
See explaination for python programming code
Explanation:
Python programming code below
import re
s = "abc" # enter string here
#s = "hello world! HELLOW INDIA how are you? 01234"
# Short version
print filter(lambda c: c.isalpha(), s)
# Faster version for long ASCII strings:
id_tab = "".join(map(chr, xrange(256)))
tostrip = "".join(c for c in id_tab if c.isalpha())
print s.translate(id_tab, tostrip)
# Using regular expressions
s1 = re.sub("[^A-Za-z]", "", s)
s2 = s1.lower()
print s2
import string
values = dict()
for index, letter in enumerate(string.ascii_lowercase):
values[letter] = index + 1
sum = 0
for ch2 in s2:
for ch1 in values:
if(ch2 == ch1):
sum = sum + values[ch1]
print sum
Answer:
hello your question is incomplete attached below is the missing diagram to the question and the detailed solution
Answer : principal stresses : 0.82 MPa, -33.492 MPa
shear stress = 17.157 MPa
∅ = 9.09 ≈ 10°
Explanation:
The principal stress ( б1 ) = 0.82 MPa
( б2 ) = -33.492 MPa
The shear stress = 17.157 MPa
∅ = 9.09 ≈ 10°
attached below is the detailed solution and the Mohr's circle
Answer:
point B where has the largest Q value at section a–a
Explanation:
The missing diagram that is suppose to be attached to this question can be found in the attached file below.
So from the given information ;we are to determine the point that has the largest Q value at section a–a
In order to do that; we will work hand in hand with the image attached below.
From the image attached ; we will realize that there are 8 blocks aligned on top on another in the R.H.S of the image with the total of 12 in; meaning that each block contains 1.5 in each.
We also have block partitioned into different point segments . i,e A,B,C, D
For point A ;
Let Q be the moment of the Area A;
SO ;
where ;
For point B ;
Let Q be the moment of the Area B;
SO ;
where ;
For point C ;
Let Q be the moment of the Area C;
SO ;
where ;
For point D ;
Let Q be the moment of the Area D;
SO ;
since there is no area about point D
Area = 0
Thus; from the foregoing ; point B where has the largest Q value at section a–a
Answer:
The space station must turn at 0.24 rad/s to give the astronauts inside it apparent weights equal to their real weights at the earth’s surface.
Explanation:
In circular motion there’s always a radial acceleration that points toward the center of the circumference, so because the space station is spinning like a centrifuge it has a radial acceleration towards the center of the trajectory. To imitate the weight of the passengers on earth, they should turn the station in a way that the radial acceleration equals earth gravitational acceleration; this is:
And radial acceleration is also defined as:
with v the tangential velocity of the station and R the radius of the ring, solving for v:
We can find the angular velocity using the following equation:
That is the angular velocity the space station must turn.