Using R   Two machines run simultaneously in a factory. The times at which they need repair servicefollows an exponential distribution. The average time between repairs is about 2 weeks formachine 1, and 2.2 weeks for machine 2. Suppose both machines are put online at the sametime.2(a). [8pts] Using simulation, estimate the probability that the first machine to need repairs ismachine 2.2(b). [8pts] Using simulation, estimate the probability that the time the first machine to needrepairs will be longer than 3 weeks. Make a graph of the distribution of times, and computethis value (Hint: there may be a few approaches, but you may find min() or

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

 

Using R

 

Two machines run simultaneously in a factory. The times at which they need repair service
follows an exponential distribution. The average time between repairs is about 2 weeks for
machine 1, and 2.2 weeks for machine 2. Suppose both machines are put online at the same
time.
2(a). [8pts] Using simulation, estimate the probability that the first machine to need repairs is
machine 2.
2(b). [8pts] Using simulation, estimate the probability that the time the first machine to need
repairs will be longer than 3 weeks. Make a graph of the distribution of times, and compute
this value (Hint: there may be a few approaches, but you may find min() or

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman