Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Probability and Stochastic Processes Matlab Assignment: QUIZ 1.3 A student\'s te

ID: 3069896 • Letter: P

Question

Probability and Stochastic Processes

Matlab Assignment:

QUIZ 1.3 A student's test score T is an integer between 0 and 100 corresponding to the experimental outcomes s0,...,s100. A score of 90 to 100 is an A, 80 to 89 is a B, 70 to 79 is a C, 60 to 69 is a D and below 60 is a failing grade F. If all scores between 51 and 100 are equally likely and a score of 50 or less never occurs. find the following probabilities:

A) P[{s100}] ANSWER = 1/50

B)P[A] ANSWER = 11/50

C)P[F] ANSWER = 9/50

D)P[T<90] ANSWER = 39/50

E)P[a C grade or better] ANSWER = 1-31/50

F)P[student passes] ANSWER 1-P[F] = 41/50

I need help on the matlab protion:

Problem 1.7.1 in book- Following Quiz 1.3, use MATLAB, but not the randi function, to generate a vector T of 200 independent test scores such that all scores between 51 and 100 are equally likely.

Explanation / Answer

Since there is no occurence of 50 or less than that, We should focus only on range 51 to 100

General formula to generate N random numbers between a,b is:

r = a + (b-a) * rand(N,1)

But we need integers So we nee this to br rounded off. Hence we will use ceil function.

r = ceil(a + (b-a) * rand(N,1))

So for our case it becomes,

r = ceil(51 + 49 * rand(200,1))

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote