{"id":189,"date":"2023-05-05T15:53:39","date_gmt":"2023-05-05T19:53:39","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/chapter\/__unknown__\/"},"modified":"2023-05-08T14:10:33","modified_gmt":"2023-05-08T18:10:33","slug":"intro_simulations","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/chapter\/intro_simulations\/","title":{"raw":"Introduction to Simulations","rendered":"Introduction to Simulations"},"content":{"raw":"<div class=\"__UNKNOWN__\">\r\n<h1 class=\"import-Title\"><em class=\"import-Emphasis\">The Monte Carlo method<\/em><\/h1>\r\n<h2>What is a simulation?<\/h2>\r\n<p class=\"import-Normal\">Let\u2019s roll a lot of dice. Every time we roll, that\u2019s a simulation. This allows us to find experimental probabilities:<\/p>\r\n<p class=\"import-Normal\"><\/p>\r\n\r\n<\/div>\r\n<p style=\"text-align: center\">[latex]P(\\textrm{rolling a }6) = \\frac{ \\textrm{Number of sixes}}{\\textrm{Number of total rolls}}[\/latex]<\/p>\r\n&nbsp;\r\n<div class=\"__UNKNOWN__\">\r\n<h2>Law of Large Numbers (or law of averages)<\/h2>\r\n<p class=\"import-Normal\">As the total number of simulations gets larger, the experimental probability gets closer to the theoretical probability:<\/p>\r\n<p class=\"import-Normal\"><span style=\"font-size: NaNpt;color: #;text-decoration: none\">\\[P(\\textrm{rolling a 6})\\rightarrow \\frac{1}{6}\\]<\/span><\/p>\r\n\r\n<h2>Can computers find random numbers?<\/h2>\r\n<p class=\"import-Normal\">Not exactly! But what they can do is generate large amounts of <em>pseudorandom<\/em> numbers. That is, a computer will use complex algorithms to find something that is close enough to random to satisfy most mathematicians.<\/p>\r\n<p class=\"import-Normal\">EXCEL:<\/p>\r\n<p class=\"import-Normal\">Our major tools will be the Excel functions: <code>RAND()<\/code> and <code>RANDBETWEEN(a,b)<\/code>. To simulate a large lumber of dice rolls, we use the function <code>RANDBETWEEN(1,6)<\/code>, which randomly chooses a number between 1 and 6.<\/p>\r\n<p class=\"import-Normal\">R:<\/p>\r\n<p class=\"import-Normal\">R is easier: we will use \u201cr\u201d commands (<code>rnorm()<\/code>, <code>rpois()<\/code>, <code>rbinom()<\/code>, ect) to generate strings of random numbers.<\/p>\r\n\r\n<h2>Examples of simulations in Business<\/h2>\r\n<p class=\"import-Normal\">Simulations can do more than let us roll pretend dice. They can be used to model various real-world situations such as:<\/p>\r\n\r\n<ul>\r\n \t<li>Product demand<\/li>\r\n \t<li>Lead time for orders to arrive<\/li>\r\n \t<li>Time between customers, machine breakdowns, or any other event<\/li>\r\n \t<li>Service Time<\/li>\r\n \t<li>Tim to complete a project or activity<\/li>\r\n \t<li>Number of employees absent on a certain day<\/li>\r\n \t<li>Stock market performance<sup class=\"import-FootnoteReference\"><a id=\"sdfootnote1anc\" href=\"#sdfootnote1sym\">1<\/a><\/sup><\/li>\r\n<\/ul>\r\n<h2>Advantages to using simulation instead of other methods<\/h2>\r\n<ul>\r\n \t<li>Simulations rely less on theoretical knowledge (and fun Statistics theorems like the Central Limit theorem), making them easier to understand.<\/li>\r\n \t<li>Can analyze complex real world problems like State economies and world food systems that can\u2019t be solved using pure math.<\/li>\r\n \t<li>We don\u2019t have to actually try out potentially disruptive experiments to see what will happen. For example, we can simulate our production with a new machine before actually purchasing the machine.<\/li>\r\n \t<li>We can look at the effects of different variables, all from the comfort of our desk chairs.<\/li>\r\n \t<li>We can look at things over time without a time machine.<\/li>\r\n<\/ul>\r\n<h2>Disadvantages to Simulation<\/h2>\r\n<ul>\r\n \t<li>It can be very expensive and time consuming to produce<\/li>\r\n \t<li>Our model rests on any underlying assumptions we have made. In the dice rolling experiment, we assumed that we were working with a fair six-sided die. What if we weren\u2019t?<\/li>\r\n<\/ul>\r\n<h3>E<\/h3>\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p class=\"import-Normal\">MG hotdogs sells three types of hotdogs, at three different prices. They estimate that customers choose the different hotdogs at the following rates:<\/p>\r\n\r\n<div style=\"margin: auto\">\r\n<table>\r\n<tbody>\r\n<tr class=\"TableGrid-R\" style=\"height: 0\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><strong>Type of Hotdog<\/strong><\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><strong>Price<\/strong><\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><strong>Probability<\/strong><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 0\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">Kosher<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">$5.50<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">0.5<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 0\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">Ordinary<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">$4.25<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">0.4<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 0\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">Vegetarian<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">$4.75<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">0.1<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<p class=\"import-Normal\">They are providing hotdogs to a conference of 35 people. Model the average revenue by running 200 replications of a Monte Carlo Simulation.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n<h2><em class=\"import-Emphasis\">Why not just use the Expected Value formula?<\/em><\/h2>\r\n<p class=\"import-Normal\">Good question! The mean, or expected value of this distribution is:<\/p>\r\n<p class=\"import-Normal\"><span style=\"font-size: NaNpt;color: #;text-decoration: none\">\\[E(X)=\\Sigma X P(X)=\\$5.50 \\times 0.5 +\\$4.25\\times 0.4+\\$4.75\\times 0.1=\\$4.93\\]<\/span><\/p>\r\n<p class=\"import-Normal\"><em class=\"import-Emphasis\">But this is the long range average. On any given conference, we won\u2019t have exactly $4.93 per person (or $172.38 total <\/em><em class=\"import-Emphasis\">revenue) When<\/em><em class=\"import-Emphasis\"> we are forecasting demand over a short time period, things can be much more volatile.<\/em><\/p>\r\n\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Exercise<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p class=\"import-Normal\">MG hot dogs runs a concession stand at a local sports arena. Because of the way kitchen facilities work, they need to decide how many hotdogs to prepare for each football game ahead of time. From the stadium, they know that the number of spectators at a football game is normally distributed with a mean of 30,000 fans and a standard deviation of 7,000 fans. From past experience, they estimate that between 25% and 35% of spectators will buy a hotdog, following a continuous uniform distribution. Each hotdog costs $2.25 to prepare, and sells for $4.50. Any hotdog not sold at the end of the game will be thrown out.<\/p>\r\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">a) Say S&amp;C prepares 10,000 hotdogs. The Excel worksheet is MOSTLY set up to create a Monte Carlo Simulation with 500 replications to find the average profit. Your job is to complete the sheet by filling in the empty cells (Each empty cell that is coloured should be filled in). If you want to set up the sheet yourself from scratch differently, you may do so. Note that in this problem the Data Table is already set up, you just need to activate by pressing F9 or calculate now)<\/p>\r\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">b)Using the result from (a), do you think that 10,000 hotdogs is a good number to order? Why?<\/p>\r\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">c)Using either a two-variable data table OR the simulation manager (or a third EXPLAINED method), find the average profit when MG prepares 8,000; 9,000; 10,000; 11,000 and 12,000 hotdogs.<\/p>\r\n\r\n<table>\r\n<tbody>\r\n<tr class=\"TableGrid-R\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><strong>Number Prepared<\/strong><\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><strong>Average Profit<\/strong><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">8,000<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">9,000<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">10,000<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">11,000<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\">12,000<\/p>\r\n<\/td>\r\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\r\n<p class=\"import-Normal\"><\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">d) Using the results from part c), how many hotdogs would you advise MG to prepare?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div id=\"sdfootnote1sym\"><a href=\"#sdfootnote1anc\">1<\/a> Don\u2019t try this at home kids, unless you have money to burn! If there was a concrete way to beat the market, we wouldn\u2019t see the crashes that happen. So proceed with caution.<\/div>\r\n<\/div>","rendered":"<div class=\"__UNKNOWN__\">\n<h1 class=\"import-Title\"><em class=\"import-Emphasis\">The Monte Carlo method<\/em><\/h1>\n<h2>What is a simulation?<\/h2>\n<p class=\"import-Normal\">Let\u2019s roll a lot of dice. Every time we roll, that\u2019s a simulation. This allows us to find experimental probabilities:<\/p>\n<p class=\"import-Normal\">\n<\/div>\n<p style=\"text-align: center\">[latex]P(\\textrm{rolling a }6) = \\frac{ \\textrm{Number of sixes}}{\\textrm{Number of total rolls}}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<div class=\"__UNKNOWN__\">\n<h2>Law of Large Numbers (or law of averages)<\/h2>\n<p class=\"import-Normal\">As the total number of simulations gets larger, the experimental probability gets closer to the theoretical probability:<\/p>\n<p class=\"import-Normal\"><span style=\"font-size: NaNpt;color: #;text-decoration: none\">\\[P(\\textrm{rolling a 6})\\rightarrow \\frac{1}{6}\\]<\/span><\/p>\n<h2>Can computers find random numbers?<\/h2>\n<p class=\"import-Normal\">Not exactly! But what they can do is generate large amounts of <em>pseudorandom<\/em> numbers. That is, a computer will use complex algorithms to find something that is close enough to random to satisfy most mathematicians.<\/p>\n<p class=\"import-Normal\">EXCEL:<\/p>\n<p class=\"import-Normal\">Our major tools will be the Excel functions: <code>RAND()<\/code> and <code>RANDBETWEEN(a,b)<\/code>. To simulate a large lumber of dice rolls, we use the function <code>RANDBETWEEN(1,6)<\/code>, which randomly chooses a number between 1 and 6.<\/p>\n<p class=\"import-Normal\">R:<\/p>\n<p class=\"import-Normal\">R is easier: we will use \u201cr\u201d commands (<code>rnorm()<\/code>, <code>rpois()<\/code>, <code>rbinom()<\/code>, ect) to generate strings of random numbers.<\/p>\n<h2>Examples of simulations in Business<\/h2>\n<p class=\"import-Normal\">Simulations can do more than let us roll pretend dice. They can be used to model various real-world situations such as:<\/p>\n<ul>\n<li>Product demand<\/li>\n<li>Lead time for orders to arrive<\/li>\n<li>Time between customers, machine breakdowns, or any other event<\/li>\n<li>Service Time<\/li>\n<li>Tim to complete a project or activity<\/li>\n<li>Number of employees absent on a certain day<\/li>\n<li>Stock market performance<sup class=\"import-FootnoteReference\"><a id=\"sdfootnote1anc\" href=\"#sdfootnote1sym\">1<\/a><\/sup><\/li>\n<\/ul>\n<h2>Advantages to using simulation instead of other methods<\/h2>\n<ul>\n<li>Simulations rely less on theoretical knowledge (and fun Statistics theorems like the Central Limit theorem), making them easier to understand.<\/li>\n<li>Can analyze complex real world problems like State economies and world food systems that can\u2019t be solved using pure math.<\/li>\n<li>We don\u2019t have to actually try out potentially disruptive experiments to see what will happen. For example, we can simulate our production with a new machine before actually purchasing the machine.<\/li>\n<li>We can look at the effects of different variables, all from the comfort of our desk chairs.<\/li>\n<li>We can look at things over time without a time machine.<\/li>\n<\/ul>\n<h2>Disadvantages to Simulation<\/h2>\n<ul>\n<li>It can be very expensive and time consuming to produce<\/li>\n<li>Our model rests on any underlying assumptions we have made. In the dice rolling experiment, we assumed that we were working with a fair six-sided die. What if we weren\u2019t?<\/li>\n<\/ul>\n<h3>E<\/h3>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p class=\"import-Normal\">MG hotdogs sells three types of hotdogs, at three different prices. They estimate that customers choose the different hotdogs at the following rates:<\/p>\n<div style=\"margin: auto\">\n<table>\n<tbody>\n<tr class=\"TableGrid-R\" style=\"height: 0\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\"><strong>Type of Hotdog<\/strong><\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\"><strong>Price<\/strong><\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\"><strong>Probability<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 0\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">Kosher<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">$5.50<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">0.5<\/p>\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 0\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">Ordinary<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">$4.25<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">0.4<\/p>\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 0\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">Vegetarian<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">$4.75<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">0.1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p class=\"import-Normal\">They are providing hotdogs to a conference of 35 people. Model the average revenue by running 200 replications of a Monte Carlo Simulation.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h2><em class=\"import-Emphasis\">Why not just use the Expected Value formula?<\/em><\/h2>\n<p class=\"import-Normal\">Good question! The mean, or expected value of this distribution is:<\/p>\n<p class=\"import-Normal\"><span style=\"font-size: NaNpt;color: #;text-decoration: none\">\\[E(X)=\\Sigma X P(X)=\\$5.50 \\times 0.5 +\\$4.25\\times 0.4+\\$4.75\\times 0.1=\\$4.93\\]<\/span><\/p>\n<p class=\"import-Normal\"><em class=\"import-Emphasis\">But this is the long range average. On any given conference, we won\u2019t have exactly $4.93 per person (or $172.38 total <\/em><em class=\"import-Emphasis\">revenue) When<\/em><em class=\"import-Emphasis\"> we are forecasting demand over a short time period, things can be much more volatile.<\/em><\/p>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Exercise<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p class=\"import-Normal\">MG hot dogs runs a concession stand at a local sports arena. Because of the way kitchen facilities work, they need to decide how many hotdogs to prepare for each football game ahead of time. From the stadium, they know that the number of spectators at a football game is normally distributed with a mean of 30,000 fans and a standard deviation of 7,000 fans. From past experience, they estimate that between 25% and 35% of spectators will buy a hotdog, following a continuous uniform distribution. Each hotdog costs $2.25 to prepare, and sells for $4.50. Any hotdog not sold at the end of the game will be thrown out.<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">a) Say S&amp;C prepares 10,000 hotdogs. The Excel worksheet is MOSTLY set up to create a Monte Carlo Simulation with 500 replications to find the average profit. Your job is to complete the sheet by filling in the empty cells (Each empty cell that is coloured should be filled in). If you want to set up the sheet yourself from scratch differently, you may do so. Note that in this problem the Data Table is already set up, you just need to activate by pressing F9 or calculate now)<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">b)Using the result from (a), do you think that 10,000 hotdogs is a good number to order? Why?<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">c)Using either a two-variable data table OR the simulation manager (or a third EXPLAINED method), find the average profit when MG prepares 8,000; 9,000; 10,000; 11,000 and 12,000 hotdogs.<\/p>\n<table>\n<tbody>\n<tr class=\"TableGrid-R\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\"><strong>Number Prepared<\/strong><\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\"><strong>Average Profit<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">8,000<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">9,000<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">10,000<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">11,000<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">\n<\/td>\n<\/tr>\n<tr class=\"TableGrid-R\" style=\"height: 19.85pt\">\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">12,000<\/p>\n<\/td>\n<td class=\"TableGrid-C\" style=\"border: solid windowtext 0.5pt\">\n<p class=\"import-Normal\">\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"import-Normal\" style=\"margin-left: 14.2pt;text-indent: 14.2pt\">d) Using the results from part c), how many hotdogs would you advise MG to prepare?<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"sdfootnote1sym\"><a href=\"#sdfootnote1anc\">1<\/a> Don\u2019t try this at home kids, unless you have money to burn! If there was a concrete way to beat the market, we wouldn\u2019t see the crashes that happen. So proceed with caution.<\/div>\n<\/div>\n","protected":false},"author":883,"menu_order":11,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[48],"contributor":[],"license":[],"class_list":["post-189","chapter","type-chapter","status-publish","hentry","chapter-type-standard"],"part":106,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/chapters\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/wp\/v2\/users\/883"}],"version-history":[{"count":25,"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/chapters\/189\/revisions"}],"predecessor-version":[{"id":238,"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/chapters\/189\/revisions\/238"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/parts\/106"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/chapters\/189\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/pressbooks\/v2\/chapter-type?post=189"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/wp\/v2\/contributor?post=189"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/businessanalytics\/wp-json\/wp\/v2\/license?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}