You only have two choices for letters - C or P. The probability of using either is 1/2.
Given that the probability for both C and P is 1/2, and there are three letters in the code, multiply the probabilities to find the probability of PCP.
Hope this helps!
Given: A three-character code uses the letters C and P.
If repetition is allowed then the total number of ways to make the three letter character code using two letters C and P is given by :-
Since the PCP is one of the character code, therefore , the probability of the code PCP is given by :-
Hence, the probability of the code PCP =
When there are two possiblities for each of 3 positions, the number of possible codes is 2^3 = 8. Your code is one of those, so its probability of occurrence is 1/8.
CCC, CCP, CPC, CPP, PCC, PCP, PPC, PPP
given the function as;
write the equation replacing f(x) with y
form and fill a table containing values of y with corresponding values of x
you can take a range for values of x as -3≤x≤3
solving for x=-3
repeat the same procedure to get the values of y for the remaining ,x=-1 to x=3
plot the values of y against values of x and obtain the following graph