hope it's help you ok have a good day
Answer:
The program is given below with appropriate comments for better understanding
Explanation:
#Program
# foot stride = 2.5 feet
# 1 mile = 5280 feet
no_stride_first_min = int(input('Enter the number strides made durng the first minute of jogging: '))
no_stride_last_min = int(input('Enter the number strides made durng the last minute of jogging: '))
avg_stride_one_min = (no_stride_first_min + no_stride_last_min)/2 # calculates the average stride per minute
jogging_duration = float(input('Enter the total time spent jogging in hours and minute: '))
jogging_duration_hours = int(jogging_duration) # gets the hour
jogging_duration_min = jogging_duration - int(jogging_duration) # gets the minute
tot_jogging_duration_min = jogging_duration_hours*60 + jogging_duration_min # calculates total time in minutes
dist_feet = (avg_stride_one_min*2.5)*tot_jogging_duration_min # calculates the total distance in feet
dist_miles = dist_feet/5280 # calculates the total distance in mile
print('Distance traveled in miles = {0:.2f} miles'.format(dist_miles))
Answer:
For any string, we use 
Explanation:
The pumping lemma says that for any string s in the language, with length greater than the pumping length p, we can write s = xyz with |xy| ≤ p, such that xyi z is also in the language for every i ≥ 0. For the given language, we can take p = 2.
Here are the cases:
- Consider any string a i b j c k in the language. If i = 1 or i > 2, we take
and y = a. If i = 1, we must have j = k and adding any number of a’s still preserves the membership in the language. For i > 2, all strings obtained by pumping y as defined above, have two or more a’s and hence are always in the language.
- For i = 2, we can take and y = aa. Since the strings obtained by pumping in this case always have an even number of a’s, they are all in the language.
- Finally, for the case i = 0, we take
, and y = b if j > 0 and y = c otherwise. Since strings of the form b j c k are always in the language, we satisfy the conditions of the pumping lemma in this case as well.
Answer:
2jz - ge
Explanation:
it has the non turbo 2jz. its the engine the supra has
Answer:
it is f all of the above
Explanation:
let me know if im right
im not positive if im right but i should be right