Write a program to implement a biased coin toss where the chance of getting a head is 70% (and tail 30%). That is if we invoke the program 1000 times we should see the head randomly approximately 700 times.
Answers
Answered by
0
Answer:
Step-by-step explanation:When tossed, a biased coin yields heads with probability 20% and tails with probability 80%. Let X denote the number of heads obtained when the coin is tossed 36 times. Find the standard deviation of X.
So I think I found the pdf to be (36 choose x)(.2)^x(.8)^x; but I'm not sure.
Standard deviation I know is (var(x))^(1/2) and var(x)=E(x^2)-(E(x))^(1/2). Knowing this, I'm not sure what to do next...
Similar questions
Science,
6 months ago
Computer Science,
6 months ago
Social Sciences,
6 months ago
English,
11 months ago
English,
11 months ago
Biology,
1 year ago