Question: 1 ) Write a function called cm _ to _ in ( ) that converts a given number of centimeter to inches. The result should
Write a function called cmtoin that converts a given number of centimeter to inches.
The result should be rounded to the nearest tenth and returned from the function.
NOTE: inch centimenters
cmtoin
Write a function called rectperimeter that returns the perimeter of a rectangle, given
the length and width of a rectangle.
rectperimeter
Write a function called avgsix which finds the average mean of six values given as
parameters. The function should return the average rounded to the nearest tenth.
avgsix
Write a function called reliantnum that requires two parameters, x and y and returns a
new value calculated by xy y
For Example:
reliantnum
Write a function called speakerprice that calculates and returns the price of a
bluetooth speaker after some discount and then some tax rate. This function requires three
parameters: price, discount percent, and tax rate. NOTE: Calculate the discounted price before
calculating and adding the tax.
speakerprice
Write a function called cupstosleeves that calculates how many sleeves of cups Kenia
needs if she can only bring full sleeves. Each sleeve contains paper cups.
HINT: Kenia will likely have extra cups, but should not have more than extra cups!
HINT: You can use math.ceilor another approach to get the result.
cupstosleeves
Write a function called determinant that returns a determinant of a quadratic function,
given the values of a b and c as parameters.
NOTE: determinant the part under the radical: bac
determinant
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
