Exercise 1

x = 3
y = 15 

sum<-x+y
sum
## [1] 18
diff<-y-x
diff
## [1] 12
product<-y*x
product
## [1] 45
quotient<-y/3
quotient
## [1] 5

Exercise 2

x = 2 
y = 3 

x^5 > y^4
## [1] FALSE

Exercise 3

vector <- c(22, 62, 148, 43, 129)
sum <- sum(vector)
vector/sum
## [1] 0.05445545 0.15346535 0.36633663 0.10643564 0.31930693

Exercise 4

nucleotides <- c("A", "T", "C", "G")
sort(nucleotides)
## [1] "A" "C" "G" "T"