--%>

Create a function sumabs that takes two arguments and


Part 1. Create a function pow_two():

it takes one argument and returns that number squared (that number times itself).

pow_two <- function(x){ return() }

# Part 2. Create a function sum_abs(), that takes two arguments and returns the sum of the absolute values of both arguments.

sum_abs <- function(y,z){ return() } #

Part 3. Write two test cases for each function to make sure they are working properly.

For example: pow_two(2) == 4 sum_abs(-1, -3) == 4

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a function sumabs that takes two arguments and
Reference No:- TGS02881885

Expected delivery within 24 Hours