Ask Question
1 May, 19:44

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 ().

+2
Answers (1)
  1. 1 May, 23:13
    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?
Find 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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers