(Answered) You are required to use simulation to answer the following question. • Provide the R code used for…

Written by

in

You are required to use simulation to answer the following question. • Provide the R code used for your simulation, along with the results/output. • Clearly explain the sections where you simulated the data. • Offer recommendations or suggestions for the organization based on your findings. Suppose you are managing a small coffee shop, and you want to optimise your daily revenue through pricing strategies. The demand for coffee is influenced by both price and the day of the week. The demand follows a linear relationship with the price, and weekdays have higher demand compared to weekends.
Price-Demand Relationship: The demand for coffee (D) is modeled as: D=150−18*Price. Price is the price of a cup of coffee.
Weekday Influence: Weekdays have a 30% higher demand than weekends.
Simulation Instructions:
Simulate the daily revenue for 1000 scenarios for different prices (ranging from $1.50 to $5.00) on both weekdays and weekends.
Assume that the probability of a weekday is 70% and a weekend is 30%.
Calculate revenue for each scenario.
Consider a normal distribution for random variations in demand.
Objective • Find the optimal price that maximises the average daily revenue over the 1000scenarios. PLEASE USE R CODE – MONTE CARLO SIMULATION. THANK YOU. CODING IS THE MOST IMPORTANT PART HERE. I ONLY WNT R CODE.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *