# +++++++++++++++++++++++++ # +++ R BOOTCAMP UNIT 1 +++ # +++ EXERCISES +++ # +++++++++++++++++++++++++ # + AUTHOR: David Dobolyi + # +++++++++++++++++++++++++ # ---------- # Exercise 1 # ---------- # Write code for the following arithmetic operations: # add 3 plus 2 # subtract 2 from 5 # multiply 5 by 6 # divide 7 by 8 # find the remainder of 13 divided by 5 as an integer # raise 9 to the 3rd power # raise -3 to the 9th power # raise 2 to the power of 5 minus 2 # find the square root of 30 # determine how many times 14 can be divided by 3 sans remainder # ---------- # Exercise 2 # ---------- # Uncomment and debug the following line of code so that it returns the intended result of 1.75: # ((5 * 3) - (2 * 4) / (3 + 1) # ---------- # Exercise 3 # ---------- # Add an argument to the log function below so that it returns a result of 2: log(100)