Please place your answers in the R Markdown code blocks or write the answers next to the A:
5.3278 * 8.3
## [1] 44.22074
sqrt(64)
## [1] 8
2^16
## [1] 65536
44100 / 1000
## [1] 44.1
pi
defaults to the mathematical constant of the same name. What is the R code to calculate the area of a circle that has a radius of 10cm (reminder: A = pi*r^2)pi * 10^2
## [1] 314.1593
vals = seq(0, 2*pi, length.out = 16000)
# a.)
vals_sin = sin(vals)
# b.)
plot(vals_sin)
2 + 2
Create a R script containing the same information without the Markdown syntax
A: Explicit separation between R code and written word which would have to be placed in comments otherwise.