Answer:
# string_contains function is defined with input_string
# as arguments
def string_contains(input_string):
# if-statement that check if letter z is in input_string
if 'z' in input_string:
# it print"has the letter z" if it has z
print("has the letter z")
else:
# else it print "not worthwhile"
print("not worthwhile")
# string_contains function is called
string_contains("The animal is zebra")
string_contains("learning is fun")
Explanation:
The code is written in Python and well commented.
Image of the output when the function is called is attached.
Answer:
50 μsec
Explanation:
See the attached pictures for detailed answer.
Answer:
There 11,238,513 different Powerball
Answer:
MPa
T = 1536.8 N m
Explanation:
Given data:
Torque = 3.5 k N m = 3.5*10^3 N.m
Diameter D = 5 cm = 0.05 m
a) from torsional equation we have
solving for
MPa
B)
Pa
m
m
T = 1536.8 N m