For full point, you need to give me your main R code and the results. Hand in your homework as a word file.
=
> data<-c(2,3,4,5,6,7,8,9,-3,-4)
> data
[1] 2 3 4 5 6 7 8 9 -3 -4
Maximum of given data--
> maximum=max(data)
> maximum
[1] 9
Minimum of given data--
> minimum=min(data)
> minimum
[1] -4
Sum of the Data--
> sum=sum(data)
> sum
[1] 37
> mean=74
> sd=7
p(60 < z < 80) is
> z60<-pnorm(60,74,7)
> z60
[1] 0.02275013
> z80<-pnorm(80,74,7)
> z80
[1] 0.804317
> z=z80-z60
> z
[1] 0.7815669
p(60 < z < 80) = 0.7815669
So, about 78% of the class is expected to score between 60 and 80 on the test.
Get Answers For Free
Most questions answered within 1 hours.