$29
Send your codes to the insturctor via e-mail. Make a script file that includes example results as comments. Add your name and the session, (morning/afternoon) (ayuksel@ccny.cuny.edu) For the formulas you can use the Internet but Internet copy-paste answers will be scored 0 as well as anonymous files you send. Just mathematical solutions will not be accepted.
A. Write a function to convert minutes to miliseconds.
B. Define a function to find the average of two exam scores.
C. Use math module import to use square root and compute the roots of a quatratic equation.
∆= $ − 4 , = *+ ± √∆
$/
D. Define a function to convert Kelvin to Réaumur, then Réaumur to Celsius. Use different functions, and call one inside the other, if necessary.
E. Say you have a cube with side of n. And you have some amount of marbles (round, sphere) with radius n14 How many marbles can you fit in the cube? Obtain the solution with the use of functions.
F. Write a function to give the following output: (PS: \n, \t, and loops are not allowed)