Question: In Exercise find the number of cards Q that the card shop owner should purchase to maximize the profit with an error of approximately $5.00. Use the following expression to generate Q value
Q = 300 ± 100
For each run, generate a uniform random variate to get the Q value and for that Q value compute profit.