Question

In: Math

A local car dealer closes on Sundays at 6:00 pm. He counts the number of cars...

A local car dealer closes on Sundays at 6:00 pm. He counts the number

of cars available at that time. If there are two or less, order enough to

raise the level to six. Cars are delivered at night and are available when

the exhibition hall opens at 9:00 a.m. on Monday morning. Let Pd (x) be

the probability that the demand during the week is equal to x: Suppose that:

Pd (0) = 0.2 ,Pd (1) = 0.5 ,Pd (2) = 0.2 ,Pd (3) = 0.1

If there is more demand than cars during the week than those available at the

start of it, the excess demand is wasted and the distributor ends the week with

zero cars available. Define a markov chain where states are numbers of cars

available on Monday morning at 9:00 am. Find the transition matrix.

Solutions

Expert Solution

We start with making a empty matrix, where the rows are the states (or number of cars) on a Monday and the columns are the states on the following Monday.

Every cell contains the probability of transitioning from having cars on a Monday to having cars on the next Monday, henceforth noted as .

The only way to have the same number on next Monday is if there is no demand in that week. The probability of that happening is . Thus,

If the number of cars goes to , the number is reset to .

When only one car is sold and the number stays ,

Since there is no way the number can be higher than last week without resetting to ,

The remaining values can similarly be calculated as

The transition matrix is now complete with rows denoting the state on a Monday and the columns denoting the state on the next Monday. The final matrix is:

Notice that the sum of each rows is . It is so because starting from any state, the probabilities of transitioning to all states must sum to 1.


Related Solutions

the number of cars arriving at a bank car service between 3:00 pm and 6:00 pm...
the number of cars arriving at a bank car service between 3:00 pm and 6:00 pm on Friday, according to a Poisson process at the rate of 0.3 cars per minute. Calculate the probability that at least 4 cars arrive at the bank between 4:00 pm and 4:10 pm
A pub opens its door for business at 6:00 PM. From 6:00 P.M. to 8:00 P.M....
A pub opens its door for business at 6:00 PM. From 6:00 P.M. to 8:00 P.M. 50 smokers in the pub smoke 2 cigarettes per hour and each cigarette emits 4mg formaldehyde. Fresh air is introduced into the pub @ 1,000 m3/hr. At 8:00 P.M. the number of smokers in the pub increases from 50 to 75 and as a result, the fresh air flow rate is increased from 1,000 m3/hr to 1,500 m3/hr to flush out the stale air....
A pub opens its door for business at 6:00 PM. From 6:00 P.M. to 8:00 P.M....
A pub opens its door for business at 6:00 PM. From 6:00 P.M. to 8:00 P.M. 50 smokers in the pub smoke 2 cigarettes per hour and each cigarette emits 4mg formaldehyde. Fresh air is introduced into the pub @ 1,000 m3/hr. At 8:00 P.M. the number of smokers in the pub increases from 50 to 75 and as a result, the fresh air flow rate is increased from 1,000 m3/hr to 1,500 m3/hr to flush out the stale air....
The number of cars arriving at a servi-car or bank service window between 3:00 p.m. and...
The number of cars arriving at a servi-car or bank service window between 3:00 p.m. and 6:00 p.m. on Friday, a Poisson process follows at a rate of 0.25 cars per minute. Calculates the probability that fewer than 4 cars arrive at the bank between 4:00 p.m. and 4:10 p.m. (result at four decimal places)
You are negotiating to buy a new car with a car salesman at a local dealer....
You are negotiating to buy a new car with a car salesman at a local dealer. You have negotiated the price to $35,000. You have $5,000 to put towards the down payment and plan to get a loan for the rest. If you can get an annual interest rate of 11 percent APR (with monthly compounding) over a 5-year period, what would be your monthly payment? Round it to two decimal place (cents), e.g., 234.56.
You are negotiating to buy a new car with a car salesman at a local dealer....
You are negotiating to buy a new car with a car salesman at a local dealer. You have negotiated the price to $31,000. You have $3,000 to put towards the down payment and plan to get a loan for the rest. If you can get an annual interest rate of 5 percent APR (with monthly compounding) over a 5-year period, what would be your monthly payment? Round it to two decimal place (cents)
A local tire dealer wants to predict the number of tires sold each month. He believes...
A local tire dealer wants to predict the number of tires sold each month. He believes that the number of tires sold is a linear function of the amount of money invested in advertising. He randomly selects 6 months of data consisting of tire sales (in thousands of tires) and advertising expenditures (in thousands of dollars). Based on the data set with 6 observations, the simple linear regression model yielded the following results. ?X =24 ?X2=124 ?Y  = 42 ?Y2 =338...
A local tire dealer wants to predict the number of tires sold each month. He believes...
A local tire dealer wants to predict the number of tires sold each month. He believes that the number of tires sold is a linear function of the amount of money invested in advertising. He randomly selects 6 months of data consisting of tire sales (in thousands of tires) and advertising expenditures (in thousands of dollars). Based on the data set with 6 observations, the simple linear regression model yielded the following results. ?X =24 ?X2=124 ?Y = 42 ?Y2...
A car dealer wants to use a software to display his or her cars’ information. As...
A car dealer wants to use a software to display his or her cars’ information. As a software developer, you are going to develop a simple program for the dealer. You will have a Car class which has the following member variables:  Car’s Brand  Car’s Color  Car’s MPG (Mile Per Gallon) This class has setters and getter for all member variables. This class has four different constructors: 1. A constructor with no argument. 2. A constructor with...
Write a Java program for a car dealership. The dealer has 10 cars in the showroom...
Write a Java program for a car dealership. The dealer has 10 cars in the showroom and space for 50 cars. Each car has a unique plate number, model, color, company, and a year of manufacture. Your program should have two classes: the "Car" class has the car information and the "info" method that displays the car information. The other class is an array class "CarArray" that has four methods:" display", "insert", "find", and the "delete" method. When the program...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT