Ask Question
17 August, 14:59

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

+5
Answers (1)
  1. 17 August, 15:11
    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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers