Unformatted text preview: Use comments in your programs. Each source and output must be clearly marked with the question number. Circle the answers. Hints: To generate random numbers you use the following R commands: a) uniform distribution “runif(n, min=0, max=1)” b) binomial distribution: “rbinom(n, size, prob) c) normal distribution “rnorm(n, mean=0, sd=1)”(if mean and sd are different put their values, zero and 1 are default). e) Problem #10. System functions if R and T are function. If A is a time for the first system to function and B is the time for second system to function then to find the time that both function you need to find the min (A,B). To calculate minimum for every pair, you have to use command pmin(R,T)....
View
Full
Document
This note was uploaded on 09/15/2011 for the course MATH 324 taught by Professor Staff during the Spring '08 term at S.F. State.
 Spring '08
 Staff
 Statistics, Binomial, Probability

Click to edit the document details