# solution seq_1 <- seq(from = -15, to = 10, by = 2) # solution my_sol <- sum(seq_1)
my_answers <- make_random_answers(my_sol) #check_answers(my_answers)
Using R, create an sequence called seq_1
between -15 and 10, where the interval between values is always equal to 2. What is the sum of the elements of seq_1
?
exams::answerlist(my_answers, markup = "markdown")
extype: num
exsolution: r my_sol
exname: "numeric "
exshuffle: TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.