Starting from:
$35

$29

Programming Languages In-Class Exercise 2 Solution




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.




Write a function to convert minutes to miliseconds.



Define a function to find the average of two exam scores.



Use math module import to use square root and compute the roots of a quatratic equation.
∆= $ − 4 , = *+ ± √∆




$/

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.



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.



Write a function to give the following output: (PS: \n, \t, and loops are not allowed)

More products