Answer:
Two Python codes are explained for the problem. Modify as appropriate
Explanation:
<u>CODE 1:</u>
def string_contains(input_string): # called function
if(input_string.__contains__('z')): # Check input_string contains 'z'
print('has the letter z.') # print input_string contains 'z'
else:
print('not worthwhile.') # print if input_string not contains 'z'
input_string = input('Please enter the string: ') # ACeept string from user
string_contains(input_string) # calling function where we pass input_string as actual parameter
<u>CODE 2:</u>
def string_contains(input_string):
for x in input_string:
if x=='z':
return 'has the letter z'
return 'not worthwhile'
Answer:
acceleration = 24.23 ms⁻¹
Explanation:
Let's gather the data:
The acceleration of the car is given by a = 0.5 
The acceleration is the change in the speed in relation to time. In other words:
= a = a = 0.5
...1
Solving the differential equation yields:
v = 0.5
+ C₁
Initial conditions : 0 = 0.5
+ C₁
C₁ = -5
at any time t, the velocity is: v= 0.5
- 5
Solving for distance, s = 0. 5
- 0.5 t - 0.5
18 = 0.5
- 0.5 t - 0.5
t = 3.71 s
Substitute t = 3.71 s
v= 0.5
- 5
= 19.85 m/s
a = 0.5
...1
= 20.3531
an = 
= 
= 13.1382
Magnitude of acceleration = 
= 
= 24.23 ms⁻¹ Ans
Answer:
Cost before adding taxes and incorporating variations
Explanation:
The sub-totals are basically sum of the cost from individual pages before including value added tax or any other tax depending with the state regulations. At this stage, contingencies and variation of prices are not considered. Therefore, the sub-total for building materials only include the materials on site or materials used as per the bill of quantities and certified by the engineer.
I think it’s A
Correct me if I’m wrong.