1.
You are conducting an experiment on the tardigrade population in
space. You captured 100 tardigrades and measured the length of each of them.
Each tardigrade is cataloged by the letter 't' followed by a number (‘t_1’, ‘t_2’
etc.).
Write a function display_tardigrade_length(tardigrade) that receives a list tardigrade as an argument. The list tardigrade represents a single tardigrade as a list
with 2 elements: the first element in is the tardigrade’s
catalog name and the second element is its length in
millimeters (mm). The function should print to the console the tardigrade’s
catalog name and the length in the following format:
Catalog name: t_1
length: 1.2 mm
*Pay attention to space following the ‘:’ character.
2.
In order to compare the tardigrade population to much larger
animals, you need to convert their length from millimeters to meters. Write a
function get_tardigrade_length_m(tardigrade)that gets a single tardigrade (i.e., list of name and length in mm)
and returns its length in meters.
For example, the call to convert_mm_to_m([‘t_11’, 1.1]) will return 0.0011.
3.
Write a function that gets a list of tardigrades and returns the
sum of their lengths in meters: sum_tardigrade_length_m(tardigrade_list)
4. You released all the tardigrades you
captured to nature. You know that tardigrades' growth rate behaves according to
logistic growth model defined below:
Get Free Quote!
425 Experts Online