Ask Question
14 October, 17:39

Use seq () to generate a sequence 1, 3, ..., 27. (b) Use log () to generate a new sequence where each element is log-transformed from the sequence in (a). (c) Remove the second to fifth elements in the resulting sequence in (b). (d) Use length () to obtain the length of the resulting sequence in (c). (e) Sort the resulting sequence in (c) from high to low using sort ().

+3
Answers (1)
  1. 14 October, 19:56
    0
    Step-by-step explanation:

    sequence=seq (1,27, by=3)

    new_seq=c ()

    for (i in sequence) {

    n_seq. append (log (i))

    }

    new_seq< - n_seq[ - (2:5) ]

    seq_length=length (new_seq)

    sorted_seq=sort (new_seq, decreasing=TRUE)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Use seq () to generate a sequence 1, 3, ..., 27. (b) Use log () to generate a new sequence where each element is log-transformed from the ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers