(* Content-type: application/mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 6.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 145, 7] NotebookDataLength[ 111052, 2132] NotebookOptionsPosition[ 92567, 1813] NotebookOutlinePosition[ 110838, 2124] CellTagsIndexPosition[ 110795, 2121] WindowFrame->Normal ContainsDynamic->True *) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell["Product Profitability Optimization", "Subsubtitle", CellChangeTimes->{{3.407877809966988*^9, 3.4078778432248106`*^9}, { 3.4078786319389257`*^9, 3.407878645238049*^9}}], Cell[TextData[{ "Businesses typically have the capability to offer a variety of products. \ Given various factors such as the price at which the product may be sold, \ number of units that may be produced, resources required to produce each \ product, fixed and per unit overhead, etc., we would like to know which \ combination of products may produce the greatest profit for the company. This \ demonstration employs linear programming concepts to maximize profit for \ three products. The available resources for production are up to five \ employees. You may adjust the number of hours each resource is required for \ production per unit of each product type, as well as the hourly wage of the \ worker and the number of hours that worker is available per year. You may \ also specify the number of units you can produce each year, the selling price \ of the product, per unit and fixed annual overhead. As you adjust the \ parameters the two bar graphs will reflect the profit and number of each \ products to produce each year. \n\n", StyleBox["Adjustable Parameters", "Subsection"], "\n\n", StyleBox["Product", FontWeight->"Bold"], StyleBox["n", FontWeight->"Bold", FontSlant->"Italic"], StyleBox[" Price", FontWeight->"Bold"], " - unit price of Product #", StyleBox["n\n", FontSlant->"Italic"], StyleBox["Employee", FontWeight->"Bold"], StyleBox["m", FontWeight->"Bold", FontSlant->"Italic"], StyleBox[" Hourly Wage", FontWeight->"Bold"], " - amount paid Employee #m per hour\n", StyleBox["Product", FontWeight->"Bold"], StyleBox["n", FontWeight->"Bold", FontSlant->"Italic"], StyleBox[" Employee", FontWeight->"Bold"], StyleBox["m", FontWeight->"Bold", FontSlant->"Italic"], StyleBox[" Hours", FontWeight->"Bold"], " - number of hours required of Employee #", StyleBox["m", FontSlant->"Italic"], " for production of Product #", StyleBox["n", FontSlant->"Italic"], "\n", StyleBox["Annual Overhead", FontWeight->"Bold"], " - Fixed annual overhead exclusive of Product 1-5 overhead and wages (e.g. \ office rent, etc.)\n", StyleBox["Product", FontWeight->"Bold"], StyleBox["n ", FontWeight->"Bold", FontSlant->"Italic"], StyleBox["Overhead", FontWeight->"Bold"], " - variable overhead for Product #", StyleBox["n ", FontSlant->"Italic"], "exclusive of Employee 1-5 wages (e.g. materials cost)\n", StyleBox["Employee", FontWeight->"Bold"], StyleBox["n", FontWeight->"Bold", FontSlant->"Italic"], StyleBox[" Max Hours/Yr", FontWeight->"Bold"], " - Maximum hours Employee #", StyleBox["n", FontSlant->"Italic"], " is available per year (52 weeks * 40 hours = 2080)\n\n", StyleBox["Output Graphs", "Subsection"], "\n\nYou may click the + symbol to the right of the slider to see the actual \ value. As a change is made the bar graphs displayed to the right will change, \ showing the potential profit and the numbers of each product that would need \ to be sold to generate that profit. You may not edit the value field directly \ but you may make a large change in the slider value by clicking to the left \ or right of the slider indicator bar.\n\n", StyleBox["Profit", FontWeight->"Bold"], " - Shows the total profit from sales of Products 1-3 with the given \ constraints\n", StyleBox["Product Sales", FontWeight->"Bold"], " - Shows the optimized number of Products 1-3 to sell\n\n", StyleBox["An Example", "Subsection"], "\n\nMemories Photography Studio photographs weddings and needs to determine \ which packages they should sell. They produce three types of wedding \ packages. Platinum is $5000, Gold is $1500, and Silver is $500. Memories has \ 5 employees. Bob, the owner, is a Master Photographer and is in high demand. \ His assistant Carol is a talented photographer but not yet in quite as high \ demand as Bob. Marcia is the photo editor and creates the photo montages and \ wedding albums. Monica is Memories' Customer Care Executive and keeps things \ running smoothly for each wedding that Memories photographs. Diane is the \ office manager and handles sales and other business functions.\n\nMost \ weddings occur on weekends. Due to the work involved in producing the \ Platinum package, Memories can produce at most 50 Platinum packages per year. \ A Platinum package requires 12 hours of Bob's time, 12 hours of Carol's time, \ 12 hours of Marcia's time, 16 hours of Monica's time, and 4 hours of Diane's \ time. A Gold package requires 2 hours of Bob's time, 8 hours of Carol's \ time, 6 hours of Marcia's time, 4 hours of Monica's time, and 3 hours of \ Diane's time. Memories can produce up to 100 Gold packages per year. Since \ Bob is in such high demand he is only booked for Platinum and Gold weddings, \ so Carol photographs all of the Silver weddings. Memories can photograph up \ to 100 Silver weddings per year. A Silver package requires 4 hours of Carol's \ time, 2 hours of Marcia's time, 2 hours of Monica's time, and 2 hours of \ Diane's time. \n\nThe number of any one type of package that Memories can \ produce per year depends on the time required of the employees and the number \ of hours each employee is available each year. Bob is available 1000 hours \ per year, Carol 800 hours per year, Monica 2000 hours per year, Marcia 2000 \ hours per year, and Diane 2000 hours per year.\n\nEach employee gets an \ hourly wage based on the amount of work they spend on each wedding. Bob \ receives $80 per hour, Carol $45 per hour, Marcia $35 per hour, Monica $20 \ per hour, and Diane $25 her hour. \n\nMemories has fixed overhead costs for \ office rent, advertising, phones, etc. of $20,000 per year. Each package has \ a production cost. For Platinum it is $200, for Gold it is $100, and Siver it \ is $50 for each package sold.\n\nBob has a good handle on the costs, labor, \ and scheduling requirements for his different packages, but he's not sure how \ many of each he should sell. His marketing and growth strategy depends on \ providing the most profitable prodcut mix. Bob decided to ask for help.\n\n", StyleBox["Solution", "Subsubsection"], "\n\nThe Platinum, Gold, and Silver packages correspond to Products 1,2, and \ 3. Set the price of each product accordingly (5000, 1500, 500). Next, set the \ hourly wages of Employees 1-5 (Bob = 80, Carol = 45, Marcia = 35, Monica = \ 20, Diane = 25). Then set the time spent by each employee on each product \ (Product 1 Employee 1 corresponds to the 12 hours Bob spends on the Platinum \ package, etc.) Set the fixed Annual Overhead (28000) and per package Product \ Overhead for each product (250, 100, 50). Set the number of each package \ that Memories is capable of producing each year (50, 100, 100) and the number \ of hours each employee is available each year (1000,800,2000,2000,2000). The \ bar graphs show the profit potential and number of each package that would \ need to be sold to generate that profit. You may explore various scenarios by \ adjusting the available hours, hours spent on each package, selling price, \ etc. to determine what effect those parameters have on the optimization. \n\n\ This demonstration does not address potential scheduling conflicts between \ the packages that are sold other than taking into account the hours required \ by each employee and the maximum number of hours each employee can work each \ year. Further work could address scheduling and other pertinent issues.\n" }], "Text", CellChangeTimes->{{3.4078778880392504`*^9, 3.4078779227091036`*^9}, { 3.407878037754531*^9, 3.4078786098071017`*^9}, {3.407878702690662*^9, 3.4078787157694683`*^9}, {3.408049453788435*^9, 3.408049514655958*^9}, { 3.4080495453300657`*^9, 3.408049652353958*^9}, {3.4080496837491026`*^9, 3.408049761721221*^9}, {3.4080510685703773`*^9, 3.408051279543742*^9}, { 3.4080984038632736`*^9, 3.4080985312664704`*^9}, {3.408099003916107*^9, 3.408099143947462*^9}, {3.408099209361523*^9, 3.4080995886569233`*^9}, { 3.4080996854861565`*^9, 3.40809969519011*^9}, {3.408099740645472*^9, 3.4080999267430673`*^9}, {3.408099961042387*^9, 3.408100909596341*^9}, { 3.4081009416924925`*^9, 3.4081011066997614`*^9}, {3.408101160216715*^9, 3.408101757545632*^9}, {3.408101793266997*^9, 3.408102051608474*^9}, { 3.408102111404456*^9, 3.4081022807579746`*^9}, {3.408102325692587*^9, 3.4081023271046176`*^9}, {3.4081023798604765`*^9, 3.408102682946293*^9}, { 3.4081027837312145`*^9, 3.4081028305685635`*^9}, {3.408102915600834*^9, 3.408103154133827*^9}, {3.408109682591288*^9, 3.4081098584040947`*^9}, { 3.4081098945260353`*^9, 3.4081098970396495`*^9}, {3.4081100691571426`*^9, 3.408110069758006*^9}, {3.408110156152235*^9, 3.408110243958494*^9}, { 3.4081102869503136`*^9, 3.4081102900547776`*^9}, {3.4081103240236225`*^9, 3.408110334208267*^9}, {3.408110378071339*^9, 3.4081103875950336`*^9}, 3.408110519534754*^9, 3.408110581313587*^9, {3.4081178958714046`*^9, 3.4081179743542576`*^9}, {3.408118032267533*^9, 3.408118073326573*^9}, { 3.4081181556349263`*^9, 3.4081181971245856`*^9}, {3.4081182407272835`*^9, 3.4081182820466976`*^9}, {3.408118322615032*^9, 3.4081185312249985`*^9}, { 3.4081426411387186`*^9, 3.4081426725438766`*^9}, {3.4081427346131277`*^9, 3.4081430571168656`*^9}, {3.408143171321083*^9, 3.408143238127146*^9}, { 3.408198945881547*^9, 3.408199091110376*^9}, {3.4081991542211246`*^9, 3.408199168241285*^9}, {3.408199214988504*^9, 3.408199260523981*^9}, { 3.408199394246264*^9, 3.4081995910091953`*^9}, {3.408199626099653*^9, 3.4081997037513103`*^9}, {3.408201219190405*^9, 3.4082014197788367`*^9}, { 3.408203279032312*^9, 3.4082032843299294`*^9}, 3.408205981017576*^9, { 3.408206089884118*^9, 3.4082060973949184`*^9}, {3.4082864428806334`*^9, 3.4082864738952303`*^9}, {3.408286505420562*^9, 3.4082865272219105`*^9}, { 3.408286675304843*^9, 3.408286675354915*^9}, {3.408286736983533*^9, 3.408286742421352*^9}, {3.4082874290787168`*^9, 3.408287429959984*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"Needs", "[", "\"\\"", "]"}], ";"}], "\[IndentingNewLine]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{ RowBox[{"f", "[", RowBox[{ "price1_", ",", "price2_", ",", "price3_", ",", " ", "s1_", ",", "s2_", ",", "s3_", ",", "s4_", ",", "s5_", ",", "p1e1_", ",", "p1e2_", ",", "p1e3_", ",", "p1e4_", ",", "p1e5_", ",", "p2e1_", ",", "p2e2_", ",", "p2e3_", ",", "p2e4_", ",", "p2e5_", ",", "p3e1_", ",", "p3e2_", ",", "p3e3_", ",", "p3e4_", ",", "p3e5_", ",", "overhead_", ",", "e1hours_", ",", "e2hours_", ",", "e3hours_", ",", "e4hours_", ",", "e5hours_", ",", "p1capacity_", ",", "\[IndentingNewLine]", "p2capacity_", ",", "p3capacity_", ",", "p1overhead_", ",", "p2overhead_", ",", "p3overhead_"}], "]"}], " ", ":=", RowBox[{"Maximize", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{ RowBox[{"p1", "*", RowBox[{"(", RowBox[{"price1", "-", RowBox[{"(", RowBox[{ RowBox[{"p1e1", " ", "s1"}], "+", RowBox[{"p1e2", " ", "s2"}], "+", RowBox[{"p1e3", " ", "s3"}], "+", RowBox[{"p1e4", " ", "s4"}], "+", RowBox[{"p1e5", " ", "s5"}], "+", "p1overhead"}], ")"}]}], ")"}]}], "+", RowBox[{"p2", "*", RowBox[{"(", RowBox[{"price2", "-", RowBox[{"(", RowBox[{ RowBox[{"p2e1", " ", "s1"}], "+", RowBox[{"p2e2", " ", "s2"}], "+", RowBox[{"p2e3", " ", "s3"}], "+", RowBox[{"p2e4", " ", "s4"}], "+", RowBox[{"p2e5", " ", "s5"}], "+", "p2overhead"}], ")"}]}], ")"}]}], "+", RowBox[{"p3", "*", RowBox[{"(", RowBox[{"price3", "-", RowBox[{"(", RowBox[{ RowBox[{"p3e1", " ", "s1"}], "+", RowBox[{"p3e2", " ", "s2"}], "+", RowBox[{"p3e3", " ", "s3"}], "+", RowBox[{"p3e4", " ", "s4"}], "+", RowBox[{"p3e5", " ", "s5"}], "+", "p3overhead"}], ")"}]}], ")"}]}], "-", "overhead"}], ",", RowBox[{ RowBox[{ RowBox[{"p1", " ", "p1e1"}], "+", RowBox[{"p2", " ", "p2e1"}], " ", "+", " ", RowBox[{"p3", " ", "p3e1"}]}], "\[LessEqual]", "e1hours"}], ",", RowBox[{ RowBox[{ RowBox[{"p1", " ", "p1e2"}], "+", RowBox[{"p2", " ", "p2e2"}], " ", "+", " ", RowBox[{"p3", " ", "p2e3"}]}], "\[LessEqual]", "e2hours"}], ",", RowBox[{ RowBox[{ RowBox[{"p1", " ", "p1e3"}], "+", RowBox[{"p2", " ", "p2e3"}], "+", RowBox[{"p3", " ", "p3e3"}]}], "\[LessEqual]", "e3hours"}], ",", RowBox[{ RowBox[{ RowBox[{"p1", " ", "p1e4"}], "+", RowBox[{"p2", " ", "p2e4"}], "+", RowBox[{"p3", " ", "p3e4"}]}], "\[LessEqual]", "e4hours"}], ",", RowBox[{ RowBox[{ RowBox[{"p1", " ", "p1e5"}], "+", RowBox[{"p2", " ", "p2e5"}], "+", RowBox[{"p3", " ", "p3e5"}]}], "\[LessEqual]", "e5hours"}], ",", RowBox[{"p1", "\[LessEqual]", "p1capacity"}], ",", RowBox[{"p2", "\[LessEqual]", "p2capacity"}], ",", RowBox[{"p3", "\[LessEqual]", "p3capacity"}], ",", RowBox[{"p1", "\[GreaterEqual]", " ", "0"}], ",", RowBox[{"p2", " ", "\[GreaterEqual]", " ", "0"}], ",", " ", RowBox[{"p3", " ", "\[GreaterEqual]", " ", "0"}], ",", RowBox[{ RowBox[{"+", "p1overhead"}], " ", "\[GreaterEqual]", " ", "0"}], ",", " ", RowBox[{ RowBox[{"+", "p2overhead"}], " ", "\[GreaterEqual]", "0"}], ",", RowBox[{"p3overhead", " ", "\[GreaterEqual]", " ", "0"}]}], "}"}], ",", RowBox[{"{", RowBox[{"p1", ",", "p2", ",", "p3"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"(*", RowBox[{"<<", "BarCharts`"}], "*)"}]}]}], "Input", CellOpen->False, CellChangeTimes->{{3.4078391677763777`*^9, 3.4078393275160723`*^9}, 3.407839576243725*^9, {3.407839630021053*^9, 3.407839638563336*^9}, { 3.4078397131806307`*^9, 3.407839753608763*^9}, {3.407839784543245*^9, 3.407839810400426*^9}, {3.4078398846071296`*^9, 3.4078401957244945`*^9}, { 3.4078404592133727`*^9, 3.407840498319605*^9}, 3.407840531837802*^9, { 3.4078406022590623`*^9, 3.4078407760790033`*^9}, {3.4078408080649967`*^9, 3.407840875712269*^9}, 3.407841564532744*^9, 3.4078416069537425`*^9, { 3.4078417031821117`*^9, 3.4078417067772818`*^9}, {3.4078417419178114`*^9, 3.407841774244294*^9}, {3.4078419114115314`*^9, 3.407841934634925*^9}, { 3.407842293280632*^9, 3.407842344674533*^9}, {3.4078424681020126`*^9, 3.4078424935285745`*^9}, {3.4078425597237587`*^9, 3.4078426430435667`*^9}, {3.4078427143961663`*^9, 3.4078428273786273`*^9}, {3.4078432753027105`*^9, 3.407843384629915*^9}, { 3.407843428983693*^9, 3.4078434375560193`*^9}, {3.407843723567283*^9, 3.407843727543*^9}, {3.4078437639052863`*^9, 3.4078438005079184`*^9}, 3.4078438716702447`*^9, {3.4078439937357664`*^9, 3.407843997300893*^9}, { 3.407844066099821*^9, 3.407844075313069*^9}, {3.407844222705008*^9, 3.40784427842513*^9}, {3.4078445174087715`*^9, 3.407844518560427*^9}, { 3.4078445638054867`*^9, 3.4078446440308447`*^9}, {3.4078447464481134`*^9, 3.4078447489717426`*^9}, {3.4078448714478545`*^9, 3.407844875373499*^9}, { 3.4078449057471743`*^9, 3.4078449065282974`*^9}, {3.4078461498861585`*^9, 3.4078462644308653`*^9}, {3.4078463052195168`*^9, 3.4078463441655183`*^9}, {3.4078463812688704`*^9, 3.407846414116102*^9}, { 3.4078465267781024`*^9, 3.4078466195214605`*^9}, 3.4078466653273263`*^9, { 3.4078466972031617`*^9, 3.4078467240217247`*^9}, {3.4078467763369503`*^9, 3.4078467769177856`*^9}, {3.4078469162881904`*^9, 3.407846973650674*^9}, { 3.4078470359502563`*^9, 3.4078470493895807`*^9}, {3.407847081085157*^9, 3.4078471405907216`*^9}, {3.4078471738385296`*^9, 3.4078472243311343`*^9}, {3.4078540090871344`*^9, 3.4078540836743855`*^9}, 3.4078541434503393`*^9, 3.40785418983704*^9, {3.407854980273632*^9, 3.4078550352026157`*^9}, {3.4078571669779587`*^9, 3.4078573082711277`*^9}, {3.407857353265827*^9, 3.4078573620784993`*^9}, { 3.4078574230161233`*^9, 3.407857502700704*^9}, {3.407857917987858*^9, 3.4078579601384673`*^9}, {3.407858025472413*^9, 3.407858159945776*^9}, { 3.407870331247645*^9, 3.4078703435853853`*^9}, 3.4078704273358126`*^9, { 3.4078704821346097`*^9, 3.4078705695803504`*^9}, 3.4078706158168354`*^9, { 3.407872112494425*^9, 3.4078723196723323`*^9}, {3.4078723768845997`*^9, 3.407872390283867*^9}, {3.4078724298307323`*^9, 3.407872462748065*^9}, { 3.407872506691252*^9, 3.4078725509849434`*^9}, {3.4078726644480953`*^9, 3.4078728719064054`*^9}, {3.40787290530443*^9, 3.4078730504231005`*^9}, { 3.407873089969966*^9, 3.407873144999094*^9}, {3.407873721808505*^9, 3.4078737373107963`*^9}, {3.4078737811838827`*^9, 3.4078737910480666`*^9}, {3.407873868769825*^9, 3.4078738746683064`*^9}, { 3.407873908296662*^9, 3.4078739122924075`*^9}, {3.4078740624883785`*^9, 3.407874092491521*^9}, {3.407874124537601*^9, 3.407874130095593*^9}, { 3.407874169812703*^9, 3.4078741718956985`*^9}, {3.4078742091893244`*^9, 3.4078744120710535`*^9}, {3.4078752141443787`*^9, 3.407875275071988*^9}, { 3.407875322480158*^9, 3.4078754035166826`*^9}, {3.40787556003174*^9, 3.407875618776211*^9}, {3.40787570357815*^9, 3.4078757620121737`*^9}, { 3.4078757974531355`*^9, 3.4078760064837065`*^9}, {3.4078760373681164`*^9, 3.407876065428465*^9}, {3.4078760971640987`*^9, 3.4078761707699385`*^9}, { 3.40787621906939*^9, 3.4078762417920637`*^9}, {3.4078762723359833`*^9, 3.4078765216645*^9}, {3.4078768924276314`*^9, 3.4078769320646267`*^9}, { 3.4078774511410217`*^9, 3.407877507702353*^9}, {3.4078820144226985`*^9, 3.4078820349221754`*^9}, {3.407882151329561*^9, 3.407882161544249*^9}, { 3.4078830804355497`*^9, 3.4078830829892216`*^9}, 3.407883940181804*^9, { 3.40788444264431*^9, 3.4078844538103657`*^9}, {3.4079287818907647`*^9, 3.4079288288983583`*^9}, {3.4080474909960785`*^9, 3.408047518946269*^9}, { 3.4080477708585005`*^9, 3.4080477742133245`*^9}, {3.4080515331884656`*^9, 3.408051535591922*^9}, {3.4080516320506225`*^9, 3.408051669714781*^9}, { 3.408051749519534*^9, 3.4080517543064175`*^9}, {3.408051789446947*^9, 3.4080517950449967`*^9}, {3.4080546218096848`*^9, 3.408054651011675*^9}, { 3.4080546900277777`*^9, 3.408054723706205*^9}, {3.4080548158987713`*^9, 3.408054835256606*^9}, 3.4080557885573854`*^9, {3.4080985668676624`*^9, 3.4080986837457247`*^9}, 3.408098929609259*^9}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"Manipulate", " ", "[", "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"f0", " ", "=", RowBox[{"f", "[", RowBox[{ "price1x", ",", "price2x", ",", "price3x", ",", " ", "s1x", ",", "s2x", ",", "s3x", ",", "s4x", ",", "s5x", ",", "p1e1x", ",", "p1e2x", ",", "p1e3x", ",", "p1e4x", ",", "p1e5x", ",", "p2e1x", ",", "p2e2x", ",", "p2e3x", ",", "p2e4x", ",", "p2e5x", ",", "p3e1x", ",", "p3e2x", ",", "p3e3x", ",", "p3e4x", ",", "p3e5x", ",", "overheadx", ",", "e1hoursx", ",", "e2hoursx", ",", "e3hoursx", ",", "e4hoursx", ",", "e5hoursx", ",", "p1capacityx", ",", "\[IndentingNewLine]", "p2capacityx", ",", "p3capacityx", ",", "p1overheadx", ",", "p1overheadx", ",", "p1overheadx"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"GraphicsColumn", "[", RowBox[{"{", RowBox[{ RowBox[{"BarChart", "[", RowBox[{ RowBox[{"{", RowBox[{"f0", "[", RowBox[{"[", "1", "]"}], "]"}], "}"}], ",", RowBox[{"BarStyle", "\[Rule]", RowBox[{"Directive", "[", RowBox[{"Green", ",", RowBox[{"Opacity", "[", ".5", "]"}]}], "]"}]}], ",", RowBox[{"BarLabels", "\[Rule]", RowBox[{"{", "}"}]}], ",", RowBox[{"Frame", "\[Rule]", "True"}], ",", RowBox[{"FrameLabel", "\[Rule]", RowBox[{"{", RowBox[{"\"\\"", ",", "\"\\""}], "}"}]}], ",", RowBox[{"ImageSize", "\[Rule]", RowBox[{"{", RowBox[{"200", ",", "200"}], "}"}]}]}], "]"}], ",", " ", RowBox[{"BarChart", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p1", ",", "p2", ",", "p3"}], "}"}], "/.", RowBox[{"f0", "[", RowBox[{"[", "2", "]"}], "]"}]}], "}"}], ",", RowBox[{"BarStyle", "\[Rule]", RowBox[{"Directive", "[", RowBox[{"Yellow", ",", RowBox[{"Opacity", "[", ".5", "]"}]}], "]"}]}], ",", RowBox[{"BarLabels", "\[Rule]", RowBox[{"{", RowBox[{ "\"\\"", ",", "\"\\"", ",", "\"\\""}], "}"}]}], ",", RowBox[{"Frame", "\[Rule]", "True"}], ",", RowBox[{"FrameLabel", "\[Rule]", RowBox[{"{", RowBox[{"\"\\"", ",", "\"\\""}], "}"}]}], ",", RowBox[{"ImageSize", "\[Rule]", RowBox[{"{", RowBox[{"200", ",", "200"}], "}"}]}]}], "]"}]}], "}"}], "]"}]}], ",", "\[IndentingNewLine]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"price1x", ",", "5000", ",", "\"\\""}], "}"}], ",", "0", ",", "5000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"price2x", ",", "1500", ",", "\"\\""}], "}"}], ",", "0", ",", "5000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", "\[IndentingNewLine]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"price3x", ",", "500", ",", " ", "\"\\""}], "}"}], ",", "0", ",", "5000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"s1x", ",", "80", ",", "\"\\""}], "}"}], ",", "5", ",", "200", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"s2x", ",", "45", ",", "\"\\""}], "}"}], ",", "5", ",", "200", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"s3x", ",", "35", ",", "\"\\""}], "}"}], ",", "5", ",", "200", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"s4x", ",", "20", ",", "\"\\""}], "}"}], ",", "5", ",", "200", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"s5x", ",", "25", ",", "\"\\""}], "}"}], ",", "5", ",", "200", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p1e1x", ",", "12", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p2e1x", ",", "2", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p3e1x", ",", "0", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p1e2x", ",", "12", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p2e2x", ",", "8", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p3e2x", ",", "4", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p1e3x", ",", "12", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p2e3x", ",", "6", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p3e3x", ",", "2", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p1e4x", ",", "16", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p2e4x", ",", "8", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p3e4x", ",", "2", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p1e5x", ",", "4", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p2e5x", ",", "3", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"p3e5x", ",", "2", ",", "\"\\""}], "}"}], ",", "0", ",", "20", ",", "1", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"overheadx", ",", "20000", ",", "\"\\""}], "}"}], ",", "0", ",", "100000", ",", "1000", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "e1hoursx", ",", "1000", ",", "\"\\""}], "}"}], ",", "100", ",", "2000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "e2hoursx", ",", "1000", ",", "\"\\""}], "}"}], ",", "100", ",", "2000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "e3hoursx", ",", "1000", ",", "\"\\""}], "}"}], ",", "100", ",", "2000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "e4hoursx", ",", "2000", ",", "\"\\""}], "}"}], ",", "100", ",", "2000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "e5hoursx", ",", "2000", ",", "\"\\""}], "}"}], ",", "100", ",", "2000", ",", "100", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "p1capacityx", ",", "50", ",", "\"\\""}], "}"}], ",", "10", ",", "200", ",", "10", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "p2capacityx", ",", "100", ",", "\"\\""}], "}"}], ",", "10", ",", "200", ",", "10", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "p3capacityx", ",", "100", ",", "\"\\""}], "}"}], ",", "10", ",", "200", ",", "10", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", "\[IndentingNewLine]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "p1overheadx", ",", " ", "200", ",", " ", "\"\\""}], "}"}], ",", "0", ",", "1000", ",", "10", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", "\[IndentingNewLine]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "p2overheadx", ",", " ", "100", ",", " ", "\"\\""}], "}"}], ",", "0", ",", "1000", ",", "10", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", "\[IndentingNewLine]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ "p3overheadx", ",", " ", "50", ",", " ", "\"\\""}], "}"}], ",", "0", ",", "1000", ",", "10", ",", RowBox[{"Appearance", "\[Rule]", "\"\\""}]}], "}"}], ",", "\[IndentingNewLine]", RowBox[{"SaveDefinitions", "\[Rule]", "True"}]}], "]"}], "\n"}]], "Input",\ CellChangeTimes->{{3.4078391677763777`*^9, 3.4078393275160723`*^9}, 3.407839576243725*^9, {3.407839630021053*^9, 3.407839638563336*^9}, { 3.4078397131806307`*^9, 3.407839753608763*^9}, {3.407839784543245*^9, 3.407839810400426*^9}, {3.4078398846071296`*^9, 3.4078401957244945`*^9}, { 3.4078404592133727`*^9, 3.407840498319605*^9}, 3.407840531837802*^9, { 3.4078406022590623`*^9, 3.4078407760790033`*^9}, {3.4078408080649967`*^9, 3.407840875712269*^9}, 3.407841564532744*^9, 3.4078416069537425`*^9, { 3.4078417031821117`*^9, 3.4078417067772818`*^9}, {3.4078417419178114`*^9, 3.407841774244294*^9}, {3.4078419114115314`*^9, 3.407841934634925*^9}, { 3.407842293280632*^9, 3.407842344674533*^9}, {3.4078424681020126`*^9, 3.4078424935285745`*^9}, {3.4078425597237587`*^9, 3.4078426430435667`*^9}, {3.4078427143961663`*^9, 3.4078428273786273`*^9}, {3.4078432753027105`*^9, 3.407843384629915*^9}, { 3.407843428983693*^9, 3.4078434375560193`*^9}, {3.407843723567283*^9, 3.407843727543*^9}, {3.4078437639052863`*^9, 3.4078438005079184`*^9}, 3.4078438716702447`*^9, {3.4078439937357664`*^9, 3.407843997300893*^9}, { 3.407844066099821*^9, 3.407844075313069*^9}, {3.407844222705008*^9, 3.40784427842513*^9}, {3.4078445174087715`*^9, 3.407844518560427*^9}, { 3.4078445638054867`*^9, 3.4078446440308447`*^9}, {3.4078447464481134`*^9, 3.4078447489717426`*^9}, {3.4078448714478545`*^9, 3.407844875373499*^9}, { 3.4078449057471743`*^9, 3.4078449065282974`*^9}, {3.4078461498861585`*^9, 3.4078462644308653`*^9}, {3.4078463052195168`*^9, 3.4078463441655183`*^9}, {3.4078463812688704`*^9, 3.407846414116102*^9}, { 3.4078465267781024`*^9, 3.4078466195214605`*^9}, 3.4078466653273263`*^9, { 3.4078466972031617`*^9, 3.4078467240217247`*^9}, {3.4078467763369503`*^9, 3.4078467769177856`*^9}, {3.4078469162881904`*^9, 3.407846973650674*^9}, { 3.4078470359502563`*^9, 3.4078470493895807`*^9}, {3.407847081085157*^9, 3.4078471405907216`*^9}, {3.4078471738385296`*^9, 3.4078472243311343`*^9}, {3.4078540090871344`*^9, 3.4078540836743855`*^9}, 3.4078541434503393`*^9, 3.40785418983704*^9, {3.407854980273632*^9, 3.4078550352026157`*^9}, {3.4078571669779587`*^9, 3.4078573082711277`*^9}, {3.407857353265827*^9, 3.4078573620784993`*^9}, { 3.4078574230161233`*^9, 3.407857502700704*^9}, {3.407857917987858*^9, 3.4078579601384673`*^9}, {3.407858025472413*^9, 3.407858159945776*^9}, { 3.407870331247645*^9, 3.4078703435853853`*^9}, 3.4078704273358126`*^9, { 3.4078704821346097`*^9, 3.4078705695803504`*^9}, 3.4078706158168354`*^9, { 3.407872112494425*^9, 3.4078723196723323`*^9}, {3.4078723768845997`*^9, 3.407872390283867*^9}, {3.4078724298307323`*^9, 3.407872462748065*^9}, { 3.407872506691252*^9, 3.4078725509849434`*^9}, {3.4078726644480953`*^9, 3.4078728719064054`*^9}, {3.40787290530443*^9, 3.4078730504231005`*^9}, { 3.407873089969966*^9, 3.407873144999094*^9}, {3.407873721808505*^9, 3.4078737373107963`*^9}, {3.4078737811838827`*^9, 3.4078737910480666`*^9}, {3.407873868769825*^9, 3.4078738746683064`*^9}, { 3.407873908296662*^9, 3.4078739122924075`*^9}, {3.4078740624883785`*^9, 3.407874092491521*^9}, {3.407874124537601*^9, 3.407874130095593*^9}, { 3.407874169812703*^9, 3.4078741718956985`*^9}, {3.4078742091893244`*^9, 3.4078744120710535`*^9}, {3.4078752141443787`*^9, 3.407875275071988*^9}, { 3.407875322480158*^9, 3.4078754035166826`*^9}, {3.40787556003174*^9, 3.407875618776211*^9}, {3.40787570357815*^9, 3.4078757620121737`*^9}, { 3.4078757974531355`*^9, 3.4078760064837065`*^9}, {3.4078760373681164`*^9, 3.407876065428465*^9}, {3.4078760971640987`*^9, 3.4078761707699385`*^9}, { 3.40787621906939*^9, 3.4078762417920637`*^9}, {3.4078762723359833`*^9, 3.4078765216645*^9}, {3.4078768924276314`*^9, 3.4078769320646267`*^9}, { 3.4078774511410217`*^9, 3.407877507702353*^9}, {3.4078820144226985`*^9, 3.4078820349221754`*^9}, {3.407882151329561*^9, 3.407882161544249*^9}, { 3.4078830804355497`*^9, 3.4078830829892216`*^9}, 3.407883940181804*^9, { 3.40788444264431*^9, 3.4078844538103657`*^9}, {3.407884688728161*^9, 3.407884711290604*^9}, 3.4078847786174154`*^9, {3.407884842449201*^9, 3.407884845453521*^9}, {3.4078848759974413`*^9, 3.40788487767986*^9}, 3.4078849945078506`*^9, {3.4078851229625597`*^9, 3.4078851292215595`*^9}, { 3.407885213122203*^9, 3.4078852152752986`*^9}, {3.407885253690537*^9, 3.407885259629076*^9}, {3.407928939687666*^9, 3.4079289461669827`*^9}, 3.407929099998181*^9, 3.407929138533592*^9, 3.4079292504845695`*^9, 3.40792949633809*^9, {3.4079296513309584`*^9, 3.4079296679047904`*^9}, { 3.4079298527205424`*^9, 3.407929865749277*^9}, {3.4079299044449186`*^9, 3.4079299357198896`*^9}, {3.4079299854514*^9, 3.4079299865930414`*^9}, { 3.407930069141741*^9, 3.407930069602403*^9}, {3.4079316208029203`*^9, 3.4079316584770927`*^9}, {3.4079316962213664`*^9, 3.407931721898288*^9}, { 3.407931756958702*^9, 3.407931789825963*^9}, {3.407931841770656*^9, 3.407931868028413*^9}, {3.407931914355027*^9, 3.407931981721896*^9}, 3.4080475314242115`*^9, 3.4080477642289677`*^9, {3.408048492976856*^9, 3.408048544631131*^9}, {3.4080485752251234`*^9, 3.4080485818246126`*^9}, { 3.408048973748171*^9, 3.4080490616145167`*^9}, {3.4080491819175043`*^9, 3.408049187044877*^9}, {3.4080493179831567`*^9, 3.4080494378855677`*^9}, 3.4080495322312307`*^9, {3.408055696084416*^9, 3.4080557045866413`*^9}, { 3.408098698126403*^9, 3.4080988367056704`*^9}, {3.408098973372187*^9, 3.4080989893551693`*^9}, {3.4082056593250046`*^9, 3.408205688096376*^9}, { 3.4082057184099646`*^9, 3.4082058304811153`*^9}, {3.4082058768778305`*^9, 3.408205885309955*^9}, {3.4082059481202717`*^9, 3.4082059644737873`*^9}, { 3.4082060565161376`*^9, 3.408206075633627*^9}, 3.408206111034531*^9, { 3.408273128094912*^9, 3.408273128665733*^9}, {3.408273163716133*^9, 3.4082732264763775`*^9}, 3.4082865448973265`*^9, {3.408286618072547*^9, 3.408286618292864*^9}, {3.4082866960847235`*^9, 3.4082866971662784`*^9}, { 3.4082867556704035`*^9, 3.408286796499112*^9}, {3.408286829436474*^9, 3.4082868401919394`*^9}, {3.408286944531973*^9, 3.4082869867126255`*^9}, { 3.4082870625616913`*^9, 3.4082870724559183`*^9}, {3.408287134755501*^9, 3.408287158679902*^9}, {3.4082872152913055`*^9, 3.408287224384381*^9}, { 3.408287261087157*^9, 3.4082872732145953`*^9}, {3.408287327172182*^9, 3.4082874181930637`*^9}, {3.408287539998211*^9, 3.408287550763691*^9}, { 3.4082906492490945`*^9, 3.408290702695947*^9}, {3.4082910351039267`*^9, 3.408291084915552*^9}, {3.408291200141238*^9, 3.4082912007220736`*^9}, { 3.408291356305792*^9, 3.408291363546203*^9}, {3.4082913945007133`*^9, 3.408291399888461*^9}, {3.408291455528467*^9, 3.4082915199410877`*^9}, { 3.4082916435087695`*^9, 3.4082916443099213`*^9}}], Cell[BoxData[ TagBox[ StyleBox[ DynamicModuleBox[{$CellContext`e1hoursx$$ = 1000, $CellContext`e2hoursx$$ = 1000, $CellContext`e3hoursx$$ = 1000, $CellContext`e4hoursx$$ = 2000, $CellContext`e5hoursx$$ = 2000, $CellContext`overheadx$$ = 20000, $CellContext`p1capacityx$$ = 50, $CellContext`p1e1x$$ = 12, $CellContext`p1e2x$$ = 12, $CellContext`p1e3x$$ = 12, $CellContext`p1e4x$$ = 16, $CellContext`p1e5x$$ = 4, $CellContext`p1overheadx$$ = 200, $CellContext`p2capacityx$$ = 100, $CellContext`p2e1x$$ = 2, $CellContext`p2e2x$$ = 8, $CellContext`p2e3x$$ = 6, $CellContext`p2e4x$$ = 8, $CellContext`p2e5x$$ = 3, $CellContext`p2overheadx$$ = 100, $CellContext`p3capacityx$$ = 100, $CellContext`p3e1x$$ = 0, $CellContext`p3e2x$$ = 4, $CellContext`p3e3x$$ = 2, $CellContext`p3e4x$$ = 2, $CellContext`p3e5x$$ = 2, $CellContext`p3overheadx$$ = 50, $CellContext`price1x$$ = 5000, $CellContext`price2x$$ = 1500, $CellContext`price3x$$ = 500, $CellContext`s1x$$ = 80, $CellContext`s2x$$ = 45, $CellContext`s3x$$ = 35, $CellContext`s4x$$ = 20, $CellContext`s5x$$ = 25, Typeset`show$$ = True, Typeset`bookmarkList$$ = {}, Typeset`bookmarkMode$$ = "Menu", Typeset`animator$$, Typeset`animvar$$ = 1, Typeset`name$$ = "\"untitled\"", Typeset`specs$$ = {{{ Hold[$CellContext`price1x$$], 5000, "Product1 Price"}, 0, 5000, 100}, {{ Hold[$CellContext`price2x$$], 1500, "Product2 Price"}, 0, 5000, 100}, {{ Hold[$CellContext`price3x$$], 500, "Product3 Price"}, 0, 5000, 100}, {{ Hold[$CellContext`s1x$$], 80, "Employee1 Hourly Wage"}, 5, 200, 1}, {{ Hold[$CellContext`s2x$$], 45, "Employee2 Hourly Wage"}, 5, 200, 1}, {{ Hold[$CellContext`s3x$$], 35, "Employee3 Hourly Wage"}, 5, 200, 1}, {{ Hold[$CellContext`s4x$$], 20, "Employee4 Hourly Wage"}, 5, 200, 1}, {{ Hold[$CellContext`s5x$$], 25, "Employee5 Hourly Wage"}, 5, 200, 1}, {{ Hold[$CellContext`p1e1x$$], 12, "Product1 Employee1 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p2e1x$$], 2, "Product2 Employee1 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p3e1x$$], 0, "Product3 Employee1 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p1e2x$$], 12, "Product1 Employee2 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p2e2x$$], 8, "Product2 Employee2 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p3e2x$$], 4, "Product3 Employee2 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p1e3x$$], 12, "Product1 Employee3 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p2e3x$$], 6, "Product2 Employee3 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p3e3x$$], 2, "Product3 Employee3 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p1e4x$$], 16, "Product1 Employee4 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p2e4x$$], 8, "Product2 Employee4 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p3e4x$$], 2, "Product3 Employee4 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p1e5x$$], 4, "Product1 Employee5 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p2e5x$$], 3, "Product2 Employee5 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`p3e5x$$], 2, "Product3 Employee5 Hours"}, 0, 20, 1}, {{ Hold[$CellContext`overheadx$$], 20000, "Annual Overhead"}, 0, 100000, 1000}, {{ Hold[$CellContext`e1hoursx$$], 1000, "Employee1 Max Hours/Yr"}, 100, 2000, 100}, {{ Hold[$CellContext`e2hoursx$$], 1000, "Employee2 Max Hours/Yr"}, 100, 2000, 100}, {{ Hold[$CellContext`e3hoursx$$], 1000, "Employee3 Max Hours/Yr"}, 100, 2000, 100}, {{ Hold[$CellContext`e4hoursx$$], 2000, "Employee4 Max Hours/Yr"}, 100, 2000, 100}, {{ Hold[$CellContext`e5hoursx$$], 2000, "Employee5 Max Hours/Yr"}, 100, 2000, 100}, {{ Hold[$CellContext`p1capacityx$$], 50, "Product1 Annual Capacity"}, 10, 200, 10}, {{ Hold[$CellContext`p2capacityx$$], 100, "Product2 Annual Capacity"}, 10, 200, 10}, {{ Hold[$CellContext`p3capacityx$$], 100, "Product3 Annual Capacity"}, 10, 200, 10}, {{ Hold[$CellContext`p1overheadx$$], 200, "Product1 Overhead"}, 0, 1000, 10}, {{ Hold[$CellContext`p2overheadx$$], 100, "Product2 Overhead"}, 0, 1000, 10}, {{ Hold[$CellContext`p3overheadx$$], 50, "Product3 Overhead"}, 0, 1000, 10}}, Typeset`size$$ = {278., {270., 278.}}, Typeset`update$$ = 0, Typeset`initDone$$, Typeset`skipInitDone$$ = False, $CellContext`price1x$5615$$ = 0, $CellContext`price2x$5616$$ = 0, $CellContext`price3x$5617$$ = 0, $CellContext`s1x$5618$$ = 0, $CellContext`s2x$5619$$ = 0, $CellContext`s3x$5620$$ = 0, $CellContext`s4x$5621$$ = 0, $CellContext`s5x$5622$$ = 0, $CellContext`p1e1x$5623$$ = 0, $CellContext`p2e1x$5624$$ = 0}, DynamicBox[Manipulate`ManipulateBoxes[ 1, StandardForm, "Variables" :> {$CellContext`e1hoursx$$ = 1000, $CellContext`e2hoursx$$ = 1000, $CellContext`e3hoursx$$ = 1000, $CellContext`e4hoursx$$ = 2000, $CellContext`e5hoursx$$ = 2000, $CellContext`overheadx$$ = 20000, $CellContext`p1capacityx$$ = 50, $CellContext`p1e1x$$ = 12, $CellContext`p1e2x$$ = 12, $CellContext`p1e3x$$ = 12, $CellContext`p1e4x$$ = 16, $CellContext`p1e5x$$ = 4, $CellContext`p1overheadx$$ = 200, $CellContext`p2capacityx$$ = 100, $CellContext`p2e1x$$ = 2, $CellContext`p2e2x$$ = 8, $CellContext`p2e3x$$ = 6, $CellContext`p2e4x$$ = 8, $CellContext`p2e5x$$ = 3, $CellContext`p2overheadx$$ = 100, $CellContext`p3capacityx$$ = 100, $CellContext`p3e1x$$ = 0, $CellContext`p3e2x$$ = 4, $CellContext`p3e3x$$ = 2, $CellContext`p3e4x$$ = 2, $CellContext`p3e5x$$ = 2, $CellContext`p3overheadx$$ = 50, $CellContext`price1x$$ = 5000, $CellContext`price2x$$ = 1500, $CellContext`price3x$$ = 500, $CellContext`s1x$$ = 80, $CellContext`s2x$$ = 45, $CellContext`s3x$$ = 35, $CellContext`s4x$$ = 20, $CellContext`s5x$$ = 25}, "ControllerVariables" :> { Hold[$CellContext`price1x$$, $CellContext`price1x$5615$$, 0], Hold[$CellContext`price2x$$, $CellContext`price2x$5616$$, 0], Hold[$CellContext`price3x$$, $CellContext`price3x$5617$$, 0], Hold[$CellContext`s1x$$, $CellContext`s1x$5618$$, 0], Hold[$CellContext`s2x$$, $CellContext`s2x$5619$$, 0], Hold[$CellContext`s3x$$, $CellContext`s3x$5620$$, 0], Hold[$CellContext`s4x$$, $CellContext`s4x$5621$$, 0], Hold[$CellContext`s5x$$, $CellContext`s5x$5622$$, 0], Hold[$CellContext`p1e1x$$, $CellContext`p1e1x$5623$$, 0], Hold[$CellContext`p2e1x$$, $CellContext`p2e1x$5624$$, 0]}, "OtherVariables" :> { Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$, Typeset`animator$$, Typeset`animvar$$, Typeset`name$$, Typeset`specs$$, Typeset`size$$, Typeset`update$$, Typeset`initDone$$, Typeset`skipInitDone$$}, "Body" :> ($CellContext`f0 = $CellContext`f[$CellContext`price1x$$, \ $CellContext`price2x$$, $CellContext`price3x$$, $CellContext`s1x$$, \ $CellContext`s2x$$, $CellContext`s3x$$, $CellContext`s4x$$, \ $CellContext`s5x$$, $CellContext`p1e1x$$, $CellContext`p1e2x$$, \ $CellContext`p1e3x$$, $CellContext`p1e4x$$, $CellContext`p1e5x$$, \ $CellContext`p2e1x$$, $CellContext`p2e2x$$, $CellContext`p2e3x$$, \ $CellContext`p2e4x$$, $CellContext`p2e5x$$, $CellContext`p3e1x$$, \ $CellContext`p3e2x$$, $CellContext`p3e3x$$, $CellContext`p3e4x$$, \ $CellContext`p3e5x$$, $CellContext`overheadx$$, $CellContext`e1hoursx$$, \ $CellContext`e2hoursx$$, $CellContext`e3hoursx$$, $CellContext`e4hoursx$$, \ $CellContext`e5hoursx$$, $CellContext`p1capacityx$$, \ $CellContext`p2capacityx$$, $CellContext`p3capacityx$$, \ $CellContext`p1overheadx$$, $CellContext`p1overheadx$$, \ $CellContext`p1overheadx$$]; GraphicsColumn[{ BarCharts`BarChart[{ Part[$CellContext`f0, 1]}, BarCharts`BarStyle -> Directive[Green, Opacity[0.5]], BarCharts`BarLabels -> {}, Frame -> True, FrameLabel -> {"All Products", "Profit"}, ImageSize -> {200, 200}], BarCharts`BarChart[{ ReplaceAll[{$CellContext`p1, $CellContext`p2, $CellContext`p3}, Part[$CellContext`f0, 2]]}, BarCharts`BarStyle -> Directive[Yellow, Opacity[0.5]], BarCharts`BarLabels -> {"Product 1", "Product 2", "Product 3"}, Frame -> True, FrameLabel -> {"Product Sales", "Qty"}, ImageSize -> {200, 200}]}]), "Specifications" :> {{{$CellContext`price1x$$, 5000, "Product1 Price"}, 0, 5000, 100, Appearance -> "Labeled"}, {{$CellContext`price2x$$, 1500, "Product2 Price"}, 0, 5000, 100, Appearance -> "Labeled"}, {{$CellContext`price3x$$, 500, "Product3 Price"}, 0, 5000, 100, Appearance -> "Labeled"}, {{$CellContext`s1x$$, 80, "Employee1 Hourly Wage"}, 5, 200, 1, Appearance -> "Labeled"}, {{$CellContext`s2x$$, 45, "Employee2 Hourly Wage"}, 5, 200, 1, Appearance -> "Labeled"}, {{$CellContext`s3x$$, 35, "Employee3 Hourly Wage"}, 5, 200, 1, Appearance -> "Labeled"}, {{$CellContext`s4x$$, 20, "Employee4 Hourly Wage"}, 5, 200, 1, Appearance -> "Labeled"}, {{$CellContext`s5x$$, 25, "Employee5 Hourly Wage"}, 5, 200, 1, Appearance -> "Labeled"}, {{$CellContext`p1e1x$$, 12, "Product1 Employee1 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p2e1x$$, 2, "Product2 Employee1 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p3e1x$$, 0, "Product3 Employee1 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p1e2x$$, 12, "Product1 Employee2 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p2e2x$$, 8, "Product2 Employee2 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p3e2x$$, 4, "Product3 Employee2 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p1e3x$$, 12, "Product1 Employee3 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p2e3x$$, 6, "Product2 Employee3 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p3e3x$$, 2, "Product3 Employee3 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p1e4x$$, 16, "Product1 Employee4 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p2e4x$$, 8, "Product2 Employee4 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p3e4x$$, 2, "Product3 Employee4 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p1e5x$$, 4, "Product1 Employee5 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p2e5x$$, 3, "Product2 Employee5 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`p3e5x$$, 2, "Product3 Employee5 Hours"}, 0, 20, 1, Appearance -> "Labeled"}, {{$CellContext`overheadx$$, 20000, "Annual Overhead"}, 0, 100000, 1000, Appearance -> "Labeled"}, {{$CellContext`e1hoursx$$, 1000, "Employee1 Max Hours/Yr"}, 100, 2000, 100, Appearance -> "Labeled"}, {{$CellContext`e2hoursx$$, 1000, "Employee2 Max Hours/Yr"}, 100, 2000, 100, Appearance -> "Labeled"}, {{$CellContext`e3hoursx$$, 1000, "Employee3 Max Hours/Yr"}, 100, 2000, 100, Appearance -> "Labeled"}, {{$CellContext`e4hoursx$$, 2000, "Employee4 Max Hours/Yr"}, 100, 2000, 100, Appearance -> "Labeled"}, {{$CellContext`e5hoursx$$, 2000, "Employee5 Max Hours/Yr"}, 100, 2000, 100, Appearance -> "Labeled"}, {{$CellContext`p1capacityx$$, 50, "Product1 Annual Capacity"}, 10, 200, 10, Appearance -> "Labeled"}, {{$CellContext`p2capacityx$$, 100, "Product2 Annual Capacity"}, 10, 200, 10, Appearance -> "Labeled"}, {{$CellContext`p3capacityx$$, 100, "Product3 Annual Capacity"}, 10, 200, 10, Appearance -> "Labeled"}, {{$CellContext`p1overheadx$$, 200, "Product1 Overhead"}, 0, 1000, 10, Appearance -> "Labeled"}, {{$CellContext`p2overheadx$$, 100, "Product2 Overhead"}, 0, 1000, 10, Appearance -> "Labeled"}, {{$CellContext`p3overheadx$$, 50, "Product3 Overhead"}, 0, 1000, 10, Appearance -> "Labeled"}}, "Options" :> {}, "DefaultOptions" :> {}], ImageSizeCache->{803., {591.5, 598.5}}, SingleEvaluation->True], Deinitialization:>None, DynamicModuleValues:>{}, Initialization:>({$CellContext`f0 = { 256500, {$CellContext`p1 -> 50, $CellContext`p2 -> 100, $CellContext`p3 -> 100}}, $CellContext`f[ Pattern[$CellContext`price1, Blank[]], Pattern[$CellContext`price2, Blank[]], Pattern[$CellContext`price3, Blank[]], Pattern[$CellContext`s1, Blank[]], Pattern[$CellContext`s2, Blank[]], Pattern[$CellContext`s3, Blank[]], Pattern[$CellContext`s4, Blank[]], Pattern[$CellContext`s5, Blank[]], Pattern[$CellContext`p1e1, Blank[]], Pattern[$CellContext`p1e2, Blank[]], Pattern[$CellContext`p1e3, Blank[]], Pattern[$CellContext`p1e4, Blank[]], Pattern[$CellContext`p1e5, Blank[]], Pattern[$CellContext`p2e1, Blank[]], Pattern[$CellContext`p2e2, Blank[]], Pattern[$CellContext`p2e3, Blank[]], Pattern[$CellContext`p2e4, Blank[]], Pattern[$CellContext`p2e5, Blank[]], Pattern[$CellContext`p3e1, Blank[]], Pattern[$CellContext`p3e2, Blank[]], Pattern[$CellContext`p3e3, Blank[]], Pattern[$CellContext`p3e4, Blank[]], Pattern[$CellContext`p3e5, Blank[]], Pattern[$CellContext`overhead, Blank[]], Pattern[$CellContext`e1hours, Blank[]], Pattern[$CellContext`e2hours, Blank[]], Pattern[$CellContext`e3hours, Blank[]], Pattern[$CellContext`e4hours, Blank[]], Pattern[$CellContext`e5hours, Blank[]], Pattern[$CellContext`p1capacity, Blank[]], Pattern[$CellContext`p2capacity, Blank[]], Pattern[$CellContext`p3capacity, Blank[]]] := Maximize[{$CellContext`p1 ($CellContext`price1 - ($CellContext`p1e1 \ $CellContext`s1 + $CellContext`p1e2 $CellContext`s2 + $CellContext`p1e3 \ $CellContext`s3 + $CellContext`p1e4 $CellContext`s4 + $CellContext`p1e5 \ $CellContext`s5)) + $CellContext`p2 ($CellContext`price2 - ($CellContext`p2e1 \ $CellContext`s1 + $CellContext`p2e2 $CellContext`s2 + $CellContext`p2e3 \ $CellContext`s3 + $CellContext`p2e4 $CellContext`s4 + $CellContext`p2e5 \ $CellContext`s5)) + $CellContext`p3 ($CellContext`price3 - ($CellContext`p3e1 \ $CellContext`s1 + $CellContext`p3e2 $CellContext`s2 + $CellContext`p3e3 \ $CellContext`s3 + $CellContext`p3e4 $CellContext`s4 + $CellContext`p3e5 \ $CellContext`s5)) - $CellContext`overhead, $CellContext`p1 $CellContext`p1e1 + \ $CellContext`p2 $CellContext`p2e1 + $CellContext`p3 $CellContext`p3e1 <= \ $CellContext`e1hours, $CellContext`p1 $CellContext`p1e2 + $CellContext`p2 \ $CellContext`p2e2 + $CellContext`p3 $CellContext`p2e3 <= \ $CellContext`e2hours, $CellContext`p1 $CellContext`p1e3 + $CellContext`p2 \ $CellContext`p2e3 + $CellContext`p3 $CellContext`p3e3 <= \ $CellContext`e3hours, $CellContext`p1 $CellContext`p1e4 + $CellContext`p2 \ $CellContext`p2e4 + $CellContext`p3 $CellContext`p3e4 <= \ $CellContext`e4hours, $CellContext`p1 $CellContext`p1e5 + $CellContext`p2 \ $CellContext`p2e5 + $CellContext`p3 $CellContext`p3e5 <= \ $CellContext`e5hours, $CellContext`p1 <= $CellContext`p1capacity, \ $CellContext`p2 <= $CellContext`p2capacity, $CellContext`p3 <= \ $CellContext`p3capacity, $CellContext`p1 >= 0, $CellContext`p2 >= 0, $CellContext`p3 >= 0}, {$CellContext`p1, $CellContext`p2, $CellContext`p3}], \ $CellContext`f[ Pattern[$CellContext`price1, Blank[]], Pattern[$CellContext`price2, Blank[]], Pattern[$CellContext`price3, Blank[]], Pattern[$CellContext`s1, Blank[]], Pattern[$CellContext`s2, Blank[]], Pattern[$CellContext`s3, Blank[]], Pattern[$CellContext`s4, Blank[]], Pattern[$CellContext`s5, Blank[]], Pattern[$CellContext`p1e1, Blank[]], Pattern[$CellContext`p1e2, Blank[]], Pattern[$CellContext`p1e3, Blank[]], Pattern[$CellContext`p1e4, Blank[]], Pattern[$CellContext`p1e5, Blank[]], Pattern[$CellContext`p2e1, Blank[]], Pattern[$CellContext`p2e2, Blank[]], Pattern[$CellContext`p2e3, Blank[]], Pattern[$CellContext`p2e4, Blank[]], Pattern[$CellContext`p2e5, Blank[]], Pattern[$CellContext`p3e1, Blank[]], Pattern[$CellContext`p3e2, Blank[]], Pattern[$CellContext`p3e3, Blank[]], Pattern[$CellContext`p3e4, Blank[]], Pattern[$CellContext`p3e5, Blank[]], Pattern[$CellContext`overhead, Blank[]], Pattern[$CellContext`e1hours, Blank[]], Pattern[$CellContext`e2hours, Blank[]], Pattern[$CellContext`e3hours, Blank[]], Pattern[$CellContext`e4hours, Blank[]], Pattern[$CellContext`e5hours, Blank[]], Pattern[$CellContext`p1capacity, Blank[]], Pattern[$CellContext`p2capacity, Blank[]], Pattern[$CellContext`p3capacity, Blank[]], Pattern[$CellContext`p1overhead, Blank[]], Pattern[$CellContext`p2overhead, Blank[]], Pattern[$CellContext`p3overhead, Blank[]]] := Maximize[{$CellContext`p1 ($CellContext`price1 - ($CellContext`p1e1 \ $CellContext`s1 + $CellContext`p1e2 $CellContext`s2 + $CellContext`p1e3 \ $CellContext`s3 + $CellContext`p1e4 $CellContext`s4 + $CellContext`p1e5 \ $CellContext`s5 + $CellContext`p1overhead)) + $CellContext`p2 \ ($CellContext`price2 - ($CellContext`p2e1 $CellContext`s1 + $CellContext`p2e2 \ $CellContext`s2 + $CellContext`p2e3 $CellContext`s3 + $CellContext`p2e4 \ $CellContext`s4 + $CellContext`p2e5 $CellContext`s5 + \ $CellContext`p2overhead)) + $CellContext`p3 ($CellContext`price3 - \ ($CellContext`p3e1 $CellContext`s1 + $CellContext`p3e2 $CellContext`s2 + \ $CellContext`p3e3 $CellContext`s3 + $CellContext`p3e4 $CellContext`s4 + \ $CellContext`p3e5 $CellContext`s5 + $CellContext`p3overhead)) - \ $CellContext`overhead, $CellContext`p1 $CellContext`p1e1 + $CellContext`p2 \ $CellContext`p2e1 + $CellContext`p3 $CellContext`p3e1 <= \ $CellContext`e1hours, $CellContext`p1 $CellContext`p1e2 + $CellContext`p2 \ $CellContext`p2e2 + $CellContext`p3 $CellContext`p2e3 <= \ $CellContext`e2hours, $CellContext`p1 $CellContext`p1e3 + $CellContext`p2 \ $CellContext`p2e3 + $CellContext`p3 $CellContext`p3e3 <= \ $CellContext`e3hours, $CellContext`p1 $CellContext`p1e4 + $CellContext`p2 \ $CellContext`p2e4 + $CellContext`p3 $CellContext`p3e4 <= \ $CellContext`e4hours, $CellContext`p1 $CellContext`p1e5 + $CellContext`p2 \ $CellContext`p2e5 + $CellContext`p3 $CellContext`p3e5 <= \ $CellContext`e5hours, $CellContext`p1 <= $CellContext`p1capacity, \ $CellContext`p2 <= $CellContext`p2capacity, $CellContext`p3 <= \ $CellContext`p3capacity, $CellContext`p1 >= 0, $CellContext`p2 >= 0, $CellContext`p3 >= 0, Plus[$CellContext`p1overhead] >= 0, Plus[$CellContext`p2overhead] >= 0, $CellContext`p3overhead >= 0}, {$CellContext`p1, $CellContext`p2, $CellContext`p3}], BarCharts`BarChart[ Pattern[BarCharts`Private`idata, Repeated[{ Repeated[ PatternTest[ Blank[], BarCharts`Private`numberQ]]}]], Pattern[BarCharts`Private`opts, OptionsPattern[]]] := BarCharts`BarChart[{BarCharts`Private`idata}, BarCharts`Private`opts], BarCharts`BarChart[ PatternTest[ Pattern[BarCharts`Private`idata, Blank[]], VectorQ[#, VectorQ[#, BarCharts`Private`numberQ]& ]& ], Pattern[BarCharts`Private`opts, OptionsPattern[]]] := Module[{BarCharts`Private`data = BarCharts`Private`idata, BarCharts`Private`ln = Length[BarCharts`Private`idata], BarCharts`Private`ticks, BarCharts`Private`orig, BarCharts`Private`rng, BarCharts`Private`lns = Map[Length, BarCharts`Private`idata], BarCharts`Private`bs, BarCharts`Private`bgs, BarCharts`Private`labels, BarCharts`Private`width, BarCharts`Private`gbopts}, { BarCharts`Private`bs, BarCharts`Private`bgs, BarCharts`Private`labels, BarCharts`Private`orient} = ReplaceAll[{ BarCharts`BarSpacing, BarCharts`BarGroupSpacing, BarCharts`BarLabels, BarCharts`BarOrientation}, Flatten[{BarCharts`Private`opts, Options[BarCharts`BarChart]}]]; BarCharts`Private`gbopts = FilterRules[ Options[BarCharts`BarChart], Options[BarCharts`GeneralizedBarChart]]; BarCharts`Private`bs = N[BarCharts`Private`bs]; BarCharts`Private`bgs = N[BarCharts`Private`bgs]; If[BarCharts`Private`bs === Automatic, BarCharts`Private`bs = 0.03]; If[BarCharts`Private`bgs === Automatic, BarCharts`Private`bgs = 0.2]; Which[BarCharts`Private`labels === Automatic, BarCharts`Private`labels = Range[ Max[BarCharts`Private`lns]], BarCharts`Private`labels === None, Null, BarCharts`Private`labels === {}, BarCharts`Private`labels = None, True, BarCharts`Private`labels = BarCharts`Private`CycleValues[BarCharts`Private`labels, Max[BarCharts`Private`lns]]]; BarCharts`Private`width = (1 - BarCharts`Private`bgs)/ BarCharts`Private`ln; BarCharts`Private`data = MapIndexed[{ Part[#2, 2] + BarCharts`Private`width (Part[#2, 1] - 1), #, BarCharts`Private`width - BarCharts`Private`bs}& , BarCharts`Private`idata, {2}]; If[BarCharts`Private`labels =!= None, BarCharts`Private`ticks = { Transpose[{Range[ Max[BarCharts`Private`lns]] + ((BarCharts`Private`ln - 1) BarCharts`Private`width)/2, BarCharts`Private`labels, Table[0, { Max[BarCharts`Private`lns]}]}], Automatic}, BarCharts`Private`ticks = {None, Automatic}; Null]; BarCharts`Private`orig = { 1 - BarCharts`Private`width/2 - BarCharts`Private`bgs, 0}; BarCharts`Private`rng = {{ 1 - BarCharts`Private`width/2 - BarCharts`Private`bgs, Max[BarCharts`Private`lns] + (BarCharts`Private`ln - 1/2) BarCharts`Private`width + BarCharts`Private`bgs}, All}; If[BarCharts`Private`orient === Horizontal, BarCharts`Private`ticks = Reverse[BarCharts`Private`ticks]; BarCharts`Private`orig = Reverse[BarCharts`Private`orig]; BarCharts`Private`rng = Reverse[BarCharts`Private`rng]]; BarCharts`GeneralizedBarChart[ BarCharts`Private`data, BarCharts`Private`opts, Ticks -> BarCharts`Private`ticks, AxesOrigin -> BarCharts`Private`orig, PlotRange -> BarCharts`Private`rng, FrameTicks -> BarCharts`Private`ticks, BarCharts`Private`gbopts]], BarCharts`BarChart[ Pattern[BarCharts`Private`list, { Repeated[{ PatternTest[ Blank[], BarCharts`Private`numberQ], Blank[]}]}], PatternTest[ Pattern[BarCharts`Private`opts, BlankNullSequence[]], OptionQ]] := Module[{BarCharts`Private`lab, BarCharts`Private`dat}, { BarCharts`Private`dat, BarCharts`Private`lab} = Transpose[BarCharts`Private`list]; BarCharts`BarChart[ BarCharts`Private`dat, BarCharts`Private`opts, BarCharts`BarLabels -> BarCharts`Private`lab]], BarCharts`BarChart[ Pattern[BarCharts`Private`list, { Repeated[{ PatternTest[ Blank[], BarCharts`Private`numberQ], Blank[], Blank[]}]}], PatternTest[ Pattern[BarCharts`Private`opts, BlankNullSequence[]], OptionQ]] := Module[{BarCharts`Private`lab, BarCharts`Private`sty, BarCharts`Private`dat}, { BarCharts`Private`dat, BarCharts`Private`lab, BarCharts`Private`sty} = Transpose[BarCharts`Private`list]; BarCharts`BarChart[ BarCharts`Private`dat, BarCharts`Private`opts, BarCharts`BarLabels -> BarCharts`Private`lab, BarCharts`BarStyle -> BarCharts`Private`sty]], Options[BarCharts`BarChart] := { AlignmentPoint -> Center, AspectRatio -> GoldenRatio^(-1), Axes -> True, AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, Background -> None, BarCharts`BarEdges -> True, BarCharts`BarEdgeStyle -> Opacity[0.5], BarCharts`BarGroupSpacing -> Automatic, BarCharts`BarLabels -> Automatic, BarCharts`BarOrientation -> Vertical, BarCharts`BarSpacing -> Automatic, BarCharts`BarStyle -> Automatic, BarCharts`BarValues -> False, BaselinePosition -> Automatic, BaseStyle -> {}, ColorOutput -> Automatic, ContentSelectable -> Automatic, Epilog -> {}, Frame -> False, FrameLabel -> None, FrameStyle -> {}, FrameTicks -> Automatic, FrameTicksStyle -> {}, GridLines -> None, GridLinesStyle -> {}, ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, LabelStyle -> {}, Method -> Automatic, PlotLabel -> None, PlotRange -> All, PlotRangeClipping -> True, PlotRangePadding -> Automatic, PlotRegion -> Automatic, PreserveImageOptions -> Automatic, Prolog -> {}, RotateLabel -> True, Ticks -> Automatic, TicksStyle -> {}, DisplayFunction :> $DisplayFunction, FormatType :> TraditionalForm}, TagSet[BarCharts`BarChart, MessageName[BarCharts`BarChart, "usage"], "\!\(\*RowBox[{\"BarChart\", \"[\", RowBox[{\"{\", \ RowBox[{SubscriptBox[StyleBox[\"y\", \"TI\"], StyleBox[\"1\", \"TR\"]], \ \",\", SubscriptBox[StyleBox[\"y\", \"TI\"], StyleBox[\"2\", \"TR\"]], \",\", \ StyleBox[\"\[Ellipsis]\", \"TR\"]}], \"}\"}], \"]\"}]\) generates a bar chart \ of the values \!\(\*RowBox[{SubscriptBox[StyleBox[\"y\", \"TI\"], \ StyleBox[\"1\", \"TR\"]], \",\", SubscriptBox[StyleBox[\"y\", \"TI\"], \ StyleBox[\"2\", \"TR\"]], \",\", StyleBox[\"\[Ellipsis]\", \"TR\"]}]\).\n\!\(\ \*RowBox[{\"BarChart\", \"[\", RowBox[{\"{\", \ RowBox[{SubscriptBox[StyleBox[\"list\", \"TI\"], StyleBox[\"1\", \"TR\"]], \ \",\", SubscriptBox[StyleBox[\"list\", \"TI\"], StyleBox[\"2\", \"TR\"]], \",\ \", StyleBox[\"\[Ellipsis]\", \"TI\"]}], \"}\"}], \"]\"}]\) generates a bar \ chart of the data in the lists."], BarCharts`Private`numberQ[ Pattern[BarCharts`Private`x, Blank[]]] := NumberQ[ N[BarCharts`Private`x]], BarCharts`Private`orient = Vertical, TagSet[BarCharts`BarSpacing, MessageName[BarCharts`BarSpacing, "usage"], "BarSpacing is an option for bar charts that determines the fraction \ of the bar width to space the bars in a group of bars."], TagSet[BarCharts`BarGroupSpacing, MessageName[BarCharts`BarGroupSpacing, "usage"], "BarGroupSpacing is an option for BarChart that determines the \ spacing between groups of bars."], TagSet[BarCharts`BarLabels, MessageName[BarCharts`BarLabels, "usage"], "BarLabels is an option for BarChart, StackedBarChart, and \ PercentileBarChart, that allows a label to be placed at the tick mark for \ each bar (or group of bars for multiple data sets). Labels are specified in a \ list."], TagSet[BarCharts`BarOrientation, MessageName[BarCharts`BarOrientation, "usage"], "BarOrientation is an option for BarChart that determines whether the \ bars are oriented vertically or horizontally."], BarCharts`GeneralizedBarChart[ Pattern[BarCharts`Private`idata, Repeated[{ Repeated[{ PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ]}]}]], PatternTest[ Pattern[BarCharts`Private`opts, BlankNullSequence[]], OptionQ]] := BarCharts`GeneralizedBarChart[{BarCharts`Private`idata}, BarCharts`Private`opts], BarCharts`GeneralizedBarChart[ Pattern[BarCharts`Private`idata, { Repeated[{ Repeated[{ PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ]}]}]}], PatternTest[ Pattern[BarCharts`Private`opts, BlankNullSequence[]], OptionQ]] := Module[{BarCharts`Private`data = BarCharts`Private`idata, BarCharts`Private`bsty, BarCharts`Private`val, BarCharts`Private`vpos, BarCharts`Private`unob, BarCharts`Private`edge, BarCharts`Private`esty, BarCharts`Private`bsf, BarCharts`Private`orient, BarCharts`Private`ln = Length[BarCharts`Private`idata], BarCharts`Private`lns = Map[Length, BarCharts`Private`idata], BarCharts`Private`bars, BarCharts`Private`disp, BarCharts`Private`pr, BarCharts`Private`origopts}, { BarCharts`Private`bsty, BarCharts`Private`val, BarCharts`Private`edge, BarCharts`Private`esty, BarCharts`Private`orient, BarCharts`Private`pr} = ReplaceAll[{ BarCharts`BarStyle, BarCharts`BarValues, BarCharts`BarEdges, BarCharts`BarEdgeStyle, BarCharts`BarOrientation, PlotRange}, Flatten[{BarCharts`Private`opts, Options[BarCharts`GeneralizedBarChart]}]]; BarCharts`Private`origopts = FilterRules[ Flatten[{BarCharts`Private`opts, Options[BarCharts`GeneralizedBarChart]}], {DisplayFunction}]; BarCharts`Private`gopts = FilterRules[{BarCharts`Private`opts, Options[BarCharts`GeneralizedBarChart]}, Options[Graphics]]; If[ And[ BarCharts`Private`bsty =!= Automatic, BarCharts`Private`bsty =!= None, Head[BarCharts`Private`bsty] =!= List, Not[ MatchQ[BarCharts`Private`bsty, Alternatives[ Hue, RGBColor, GrayLevel, CMYKColor, Opacity, Directive][ BlankSequence[]]]]], BarCharts`Private`bsty = Apply[Join, Map[BarCharts`Private`bsty[ Part[#, 2]]& , BarCharts`Private`data, {2}]], BarCharts`Private`bsty = BarCharts`Private`barcoloring[ BarCharts`Private`bsty, BarCharts`Private`ln, BarCharts`Private`lns]]; If[ TrueQ[BarCharts`Private`edge], If[ BarCharts`Private`ln === 1, BarCharts`Private`esty = BarCharts`Private`CycleValues[BarCharts`Private`esty, Length[ First[BarCharts`Private`data]]], BarCharts`Private`esty = Apply[Join, MapThread[Table[#, {#2}]& , { BarCharts`Private`CycleValues[ BarCharts`Private`esty, BarCharts`Private`ln], BarCharts`Private`lns}]]], BarCharts`Private`esty = None]; If[ Not[ MemberQ[{Horizontal, Vertical}, BarCharts`Private`orient]], Message[ MessageName[BarCharts`GeneralizedBarChart, "badorient"], BarCharts`Private`orient]; BarCharts`Private`orient = Vertical]; BarCharts`Private`val = TrueQ[BarCharts`Private`val]; BarCharts`Private`vpos = 0.05; BarCharts`Private`data = Flatten[BarCharts`Private`data, 1]; BarCharts`Private`bars = Map[ BarCharts`Private`barcoords[BarCharts`Private`orient], BarCharts`Private`data]; If[BarCharts`Private`val, Show[ BarCharts`Private`RectanglePlot[ BarCharts`Private`bars, BarCharts`Private`RectangleStyle -> BarCharts`Private`bsty, BarCharts`Private`EdgeStyle -> BarCharts`Private`esty, DisplayFunction -> Identity], Graphics[ Map[ BarCharts`Private`varcoords[ BarCharts`Private`orient, BarCharts`Private`vpos, #& ], BarCharts`Private`data]], If[ BarCharts`Private`pr === Automatic, PlotRange -> All, PlotRange -> BarCharts`Private`pr], BarCharts`Private`origopts, BarCharts`Private`gopts], BarCharts`Private`RectanglePlot[ BarCharts`Private`bars, BarCharts`Private`RectangleStyle -> BarCharts`Private`bsty, BarCharts`Private`EdgeStyle -> BarCharts`Private`esty, BarCharts`Private`ObscuredFront -> BarCharts`Private`unob, BarCharts`Private`gopts]]], BarCharts`GeneralizedBarChart[{}, Pattern[BarCharts`Private`opts, BlankNullSequence[]]] := Show[ Graphics[{}, FilterRules[{BarCharts`Private`opts, Options[BarCharts`GeneralizedBarChart]}, Options[Graphics]]]], Options[BarCharts`GeneralizedBarChart] := { AlignmentPoint -> Center, AspectRatio -> GoldenRatio^(-1), Axes -> True, AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, Background -> None, BarCharts`BarEdges -> True, BarCharts`BarEdgeStyle -> Opacity[0.5], BarCharts`BarOrientation -> Vertical, BarCharts`BarStyle -> Automatic, BarCharts`BarValues -> False, BaselinePosition -> Automatic, BaseStyle -> {}, ColorOutput -> Automatic, ContentSelectable -> Automatic, Epilog -> {}, Frame -> False, FrameLabel -> None, FrameStyle -> {}, FrameTicks -> Automatic, FrameTicksStyle -> {}, GridLines -> None, GridLinesStyle -> {}, ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, LabelStyle -> {}, Method -> Automatic, PlotLabel -> None, PlotRange -> All, PlotRangeClipping -> True, PlotRangePadding -> Automatic, PlotRegion -> Automatic, PreserveImageOptions -> Automatic, Prolog -> {}, RotateLabel -> True, Ticks -> Automatic, TicksStyle -> {}, DisplayFunction :> $DisplayFunction, FormatType :> TraditionalForm}, TagSet[BarCharts`GeneralizedBarChart, MessageName[BarCharts`GeneralizedBarChart, "badorient"], "The value given for BarOrientation is invalid; please use Horizontal \ or Vertical. The chart will be generated with Vertical."], TagSet[BarCharts`GeneralizedBarChart, MessageName[BarCharts`GeneralizedBarChart, "usage"], "\!\(\*RowBox[{\"GeneralizedBarChart\", \"[\", RowBox[{\"{\", \ RowBox[{RowBox[{\"{\", RowBox[{SubscriptBox[StyleBox[\"pos\", \"TI\"], \ StyleBox[\"1\", \"TR\"]], \",\", SubscriptBox[StyleBox[\"height\", \"TI\"], \ StyleBox[\"1\", \"TR\"]], \",\", SubscriptBox[StyleBox[\"width\", \"TI\"], \ StyleBox[\"1\", \"TR\"]]}], \"}\"}], \",\", RowBox[{\"{\", \ RowBox[{SubscriptBox[StyleBox[\"pos\", \"TI\"], StyleBox[\"2\", \"TR\"]], \",\ \", SubscriptBox[StyleBox[\"height\", \"TI\"], StyleBox[\"2\", \"TR\"]], \ \",\", SubscriptBox[StyleBox[\"width\", \"TI\"], StyleBox[\"2\", \"TR\"]]}], \ \"}\"}], \",\", RowBox[{StyleBox[\"\[Ellipsis]\", \"TR\"], RowBox[{\"}\", \"]\ \"}]}]}]}]}]\) generates a bar chart with the bars at the given positions, \ and with given heights and widths.\n\!\(\*RowBox[{\"GeneralizedBarChart\", \ \"[\", RowBox[{\"{\", RowBox[{SubscriptBox[StyleBox[\"list\", \"TI\"], \ StyleBox[\"1\", \"TR\"]], \",\", SubscriptBox[StyleBox[\"list\", \"TI\"], \ StyleBox[\"2\", \"TR\"]], \",\", StyleBox[\"\[Ellipsis]\", \"TR\"]}], \ StyleBox[\"}\", \"TR\"]}], \"]\"}]\) generates a bar chart from lists of \ data."], TagSet[BarCharts`BarStyle, MessageName[BarCharts`BarStyle, "usage"], "BarStyle is an option for bar charts that determines the default \ style for the bars. "], TagSet[BarCharts`BarValues, MessageName[BarCharts`BarValues, "usage"], "BarValues is an option for BarChart and GeneralizedBarChart that \ allows the length of the bar to be displayed above each bar."], TagSet[BarCharts`BarEdges, MessageName[BarCharts`BarEdges, "usage"], "BarEdges is an option for bar charts that determines whether edges \ are to be drawn around the bars."], TagSet[BarCharts`BarEdgeStyle, MessageName[BarCharts`BarEdgeStyle, "usage"], "BarEdgeStyle is an option for bar charts that determines the style \ for the edges."], Attributes[PlotRange] = {ReadProtected}, BarCharts`Private`gopts = { Frame -> True, FrameLabel -> {"Product Sales", "Qty"}, ImageSize -> {200, 200}, Ticks -> {{{1, "Product 1", 0}, {2, "Product 2", 0}, { 3, "Product 3", 0}}, Automatic}, AxesOrigin -> {0.3999999999999999, 0}, PlotRange -> {{0.3999999999999999, 3.6}, All}, FrameTicks -> {{{1, "Product 1", 0}, {2, "Product 2", 0}, { 3, "Product 3", 0}}, Automatic}, AlignmentPoint -> Center, AspectRatio -> GoldenRatio^(-1), Axes -> True, AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, Background -> None, BaselinePosition -> Automatic, BaseStyle -> {}, ColorOutput -> Automatic, ContentSelectable -> Automatic, Epilog -> {}, Frame -> False, FrameLabel -> None, FrameStyle -> {}, FrameTicks -> Automatic, FrameTicksStyle -> {}, GridLines -> None, GridLinesStyle -> {}, ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, LabelStyle -> {}, Method -> Automatic, PlotLabel -> None, PlotRange -> All, PlotRangeClipping -> True, PlotRangePadding -> Automatic, PlotRegion -> Automatic, PreserveImageOptions -> Automatic, Prolog -> {}, RotateLabel -> True, Ticks -> Automatic, TicksStyle -> {}, DisplayFunction :> $DisplayFunction, FormatType :> TraditionalForm, AlignmentPoint -> Center, AspectRatio -> GoldenRatio^(-1), Axes -> True, AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, Background -> None, BaselinePosition -> Automatic, BaseStyle -> {}, ColorOutput -> Automatic, ContentSelectable -> Automatic, Epilog -> {}, Frame -> False, FrameLabel -> None, FrameStyle -> {}, FrameTicks -> Automatic, FrameTicksStyle -> {}, GridLines -> None, GridLinesStyle -> {}, ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, LabelStyle -> {}, Method -> Automatic, PlotLabel -> None, PlotRange -> All, PlotRangeClipping -> True, PlotRangePadding -> Automatic, PlotRegion -> Automatic, PreserveImageOptions -> Automatic, Prolog -> {}, RotateLabel -> True, Ticks -> Automatic, TicksStyle -> {}, DisplayFunction :> $DisplayFunction, FormatType :> TraditionalForm}, $DisplayFunction = Identity, BarCharts`Private`barcoloring[Automatic, 1, Blank[]] := { Hue[0.67, 0.45, 0.65]}, BarCharts`Private`barcoloring[Automatic, Pattern[BarCharts`Private`ln, Blank[]], Pattern[BarCharts`Private`lns, Blank[]]] := Apply[Join, MapThread[Table[#, {#2}]& , { Table[ Hue[ FractionalPart[ 0.67 + (2. (BarCharts`Private`i - 1))/GoldenRatio], 0.45, 0.65], {BarCharts`Private`i, 1, BarCharts`Private`ln}], BarCharts`Private`lns}]], BarCharts`Private`barcoloring[ Pattern[BarCharts`Private`bsty, Blank[]], 1, Pattern[BarCharts`Private`lns, Blank[]]] := BarCharts`Private`CycleValues[BarCharts`Private`bsty, First[BarCharts`Private`lns]], BarCharts`Private`barcoloring[ Pattern[BarCharts`Private`bsty, Blank[]], Pattern[BarCharts`Private`ln, Blank[]], Pattern[BarCharts`Private`lns, Blank[]]] := Apply[Join, MapThread[Table[#, {#2}]& , { BarCharts`Private`CycleValues[ BarCharts`Private`bsty, BarCharts`Private`ln], BarCharts`Private`lns}]], BarCharts`Private`CycleValues[{}, Blank[]] := {}, BarCharts`Private`CycleValues[ Pattern[BarCharts`Private`list, Blank[List]], Pattern[BarCharts`Private`n, Blank[Integer]]] := Module[{BarCharts`Private`hold = BarCharts`Private`list}, While[Length[BarCharts`Private`hold] < BarCharts`Private`n, BarCharts`Private`hold = Join[BarCharts`Private`hold, BarCharts`Private`hold]]; ReplaceAll[ Take[BarCharts`Private`hold, BarCharts`Private`n], None -> {}]], BarCharts`Private`CycleValues[ Pattern[BarCharts`Private`item, Blank[]], Pattern[BarCharts`Private`n, Blank[]]] := BarCharts`Private`CycleValues[{BarCharts`Private`item}, BarCharts`Private`n], BarCharts`Private`barcoords[Horizontal][{ Pattern[BarCharts`Private`pos, Blank[]], Pattern[BarCharts`Private`len, Blank[]], Pattern[BarCharts`Private`wid, Blank[]]}] := {{ 0, BarCharts`Private`pos - BarCharts`Private`wid/2}, { BarCharts`Private`len, BarCharts`Private`pos + BarCharts`Private`wid/2}}, BarCharts`Private`barcoords[Vertical][{ Pattern[BarCharts`Private`pos, Blank[]], Pattern[BarCharts`Private`len, Blank[]], Pattern[BarCharts`Private`wid, Blank[]]}] := {{ BarCharts`Private`pos - BarCharts`Private`wid/2, 0}, { BarCharts`Private`pos + BarCharts`Private`wid/2, BarCharts`Private`len}}, BarCharts`Private`RectanglePlot[ Pattern[BarCharts`Private`boxes, { Repeated[{{ PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ]}, { PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ]}}]}], PatternTest[ Pattern[BarCharts`Private`opts, BlankNullSequence[]], OptionQ]] := Module[{BarCharts`Private`ln = Length[BarCharts`Private`boxes], BarCharts`Private`bstyle, BarCharts`Private`estyle, BarCharts`Private`gopts, BarCharts`Private`sort}, { BarCharts`Private`bstyle, BarCharts`Private`estyle, BarCharts`Private`sort} = ReplaceAll[{ BarCharts`Private`RectangleStyle, BarCharts`Private`EdgeStyle, BarCharts`Private`ObscuredFront}, Flatten[{BarCharts`Private`opts, Options[BarCharts`Private`RectanglePlot]}]]; BarCharts`Private`gopts = FilterRules[{BarCharts`Private`opts, Options[BarCharts`Private`RectanglePlot]}, Options[Graphics]]; If[BarCharts`Private`bstyle === Automatic, BarCharts`Private`bstyle = Map[Hue, (0.6 Range[0, BarCharts`Private`ln - 1])/( BarCharts`Private`ln - 1)]]; If[BarCharts`Private`bstyle === {}, BarCharts`Private`bstyle = {{}}]; If[BarCharts`Private`bstyle === None, BarCharts`Private`bstyle = {{}}]; If[BarCharts`Private`estyle === Automatic, BarCharts`Private`estyle = { GrayLevel[0]}]; If[BarCharts`Private`estyle === {}, BarCharts`Private`estyle = {{}}]; If[BarCharts`Private`estyle === None, BarCharts`Private`estyle = {{}}]; BarCharts`Private`bstyle = BarCharts`Private`CycleValues[ BarCharts`Private`bstyle, BarCharts`Private`ln]; BarCharts`Private`estyle = BarCharts`Private`CycleValues[ BarCharts`Private`estyle, BarCharts`Private`ln]; BarCharts`Private`recs = Table[{ Part[BarCharts`Private`bstyle, BarCharts`Private`i], EdgeForm[ Part[BarCharts`Private`estyle, BarCharts`Private`i]], Apply[Rectangle, Part[BarCharts`Private`boxes, BarCharts`Private`i]]}, { BarCharts`Private`i, Length[BarCharts`Private`boxes]}]; Show[ Graphics[BarCharts`Private`recs], BarCharts`Private`gopts]], BarCharts`Private`RectanglePlot[ Pattern[BarCharts`Private`boxes, { Repeated[{ PatternTest[ Blank[], BarCharts`Private`numberQ], PatternTest[ Blank[], BarCharts`Private`numberQ]}]}], Pattern[BarCharts`Private`opts, BlankNullSequence[]]] := BarCharts`Private`RectanglePlot[ Map[{#, # + 1}& , BarCharts`Private`boxes], BarCharts`Private`opts], Options[BarCharts`Private`RectanglePlot] := { BarCharts`Private`RectangleStyle -> Automatic, BarCharts`Private`EdgeStyle -> Automatic, BarCharts`Private`ObscuredFront -> False, AlignmentPoint -> Center, AspectRatio -> GoldenRatio^(-1), Axes -> False, AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, Background -> None, BaselinePosition -> Automatic, BaseStyle -> {}, ColorOutput -> Automatic, ContentSelectable -> Automatic, Epilog -> {}, Frame -> False, FrameLabel -> None, FrameStyle -> {}, FrameTicks -> Automatic, FrameTicksStyle -> {}, GridLines -> None, GridLinesStyle -> {}, ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, LabelStyle -> {}, Method -> Automatic, PlotLabel -> None, PlotRange -> All, PlotRangeClipping -> True, PlotRangePadding -> Automatic, PlotRegion -> Automatic, PreserveImageOptions -> Automatic, Prolog -> {}, RotateLabel -> True, Ticks -> Automatic, TicksStyle -> {}, DisplayFunction :> $DisplayFunction, FormatType :> TraditionalForm}, BarCharts`Private`recs = {{ Directive[ RGBColor[1, 1, 0], Opacity[0.5]], EdgeForm[ Opacity[0.5]], Rectangle[{0.615, 0}, {1.385, 50}]}, { Directive[ RGBColor[1, 1, 0], Opacity[0.5]], EdgeForm[ Opacity[0.5]], Rectangle[{1.615, 0}, {2.385, 100}]}, { Directive[ RGBColor[1, 1, 0], Opacity[0.5]], EdgeForm[ Opacity[0.5]], Rectangle[{2.615, 0}, {3.385, 100}]}}, BarCharts`Private`varcoords[Horizontal, Pattern[BarCharts`Private`offset, Blank[]], Pattern[BarCharts`Private`format, Blank[]]][{ Pattern[BarCharts`Private`pos, Blank[]], Pattern[BarCharts`Private`len, Blank[]], Pattern[BarCharts`Private`wid, Blank[]]}] := Text[ BarCharts`Private`format[BarCharts`Private`len], Scaled[{ReplaceAll[ Sign[BarCharts`Private`len], 0 -> 1] BarCharts`Private`offset, 0}, {BarCharts`Private`len, BarCharts`Private`pos}]], BarCharts`Private`varcoords[Vertical, Pattern[BarCharts`Private`offset, Blank[]], Pattern[BarCharts`Private`format, Blank[]]][{ Pattern[BarCharts`Private`pos, Blank[]], Pattern[BarCharts`Private`len, Blank[]], Pattern[BarCharts`Private`wid, Blank[]]}] := Text[ BarCharts`Private`format[BarCharts`Private`len], Scaled[{0, ReplaceAll[ Sign[BarCharts`Private`len], 0 -> 1] BarCharts`Private`offset}, { BarCharts`Private`pos, BarCharts`Private`len}]]}; Typeset`initDone$$ = True), SynchronousInitialization->True, UnsavedVariables:>{Typeset`initDone$$}, UntrackedVariables:>{Typeset`size$$}], "Manipulate", Deployed->True, StripOnInput->False], Manipulate`InterpretManipulate[1]]], "Output", CellChangeTimes->{ 3.4078705469277773`*^9, 3.4078705797449665`*^9, 3.407870619662365*^9, 3.407872221961831*^9, 3.4078722645731034`*^9, 3.4078723230772285`*^9, 3.40787238496622*^9, 3.407872470859729*^9, 3.407872561359862*^9, 3.407872730853582*^9, 3.407873157446993*^9, {3.40787320013838*^9, 3.4078733233155003`*^9}, 3.407873741707118*^9, 3.407873794843524*^9, 3.4078738795853767`*^9, 3.407873919913366*^9, 3.4078740970781164`*^9, { 3.4078741346120872`*^9, 3.4078741864666505`*^9}, 3.4078744218250794`*^9, 3.4078765382183037`*^9, {3.4078769098526874`*^9, 3.4078769385639725`*^9}, 3.40787751943923*^9, {3.407877576701569*^9, 3.407877703383729*^9}, 3.40787882556735*^9, 3.407882045126849*^9, 3.407883090830497*^9, { 3.407883123717787*^9, 3.4078831429454346`*^9}, 3.4078844863471518`*^9, 3.4078848200870457`*^9, 3.407884856589534*^9, 3.4078848923209133`*^9, 3.4078849596377096`*^9, 3.4078850026395435`*^9, 3.4078851356107464`*^9, 3.407885234763321*^9, 3.407885279377473*^9, {3.407885471223334*^9, 3.4078854819587708`*^9}, 3.4078861264050817`*^9, {3.407886310880344*^9, 3.4078863175098767`*^9}, {3.4078868917756305`*^9, 3.4078868984151773`*^9}, {3.4078871354660397`*^9, 3.407887142275832*^9}, 3.407928846864192*^9, 3.4079289634918947`*^9, 3.4079291072986784`*^9, 3.4079295053109922`*^9, 3.407929674824741*^9, 3.4079298809110785`*^9, 3.407929923332077*^9, 3.4079300077434545`*^9, 3.407930079706933*^9, 3.407931672246893*^9, {3.4079317026606255`*^9, 3.407931732563624*^9}, 3.407931769867264*^9, {3.407931857563365*^9, 3.4079318728052816`*^9}, 3.4079319508174577`*^9, 3.4079319901239777`*^9, 3.408047554126856*^9, 3.4080481259490957`*^9, 3.4080485524924355`*^9, {3.408048590036421*^9, 3.408048603906365*^9}, 3.4080490772770386`*^9, 3.4080492365560703`*^9, 3.408051365337107*^9, 3.408051730612347*^9, {3.4080546733738303`*^9, 3.4080547013140063`*^9}, 3.408054736204176*^9, 3.408054777413432*^9, 3.4080548639979343`*^9, 3.408055712377845*^9, 3.408098859228056*^9, 3.4080989365993104`*^9, 3.408102300957019*^9, 3.408205843339605*^9, 3.408206003850408*^9, 3.4082061249645615`*^9, {3.4082062179783087`*^9, 3.408206256583821*^9}, 3.4082731363768206`*^9, 3.408273249789901*^9, 3.4082868525396943`*^9, 3.4082869923607473`*^9, 3.408287077983867*^9, 3.408287164498269*^9, 3.4082872334974847`*^9, 3.4082872949758863`*^9, 3.4082874348970833`*^9, 3.408287556742288*^9, 3.4082907156445665`*^9, 3.4082910920558195`*^9, 3.408291206229994*^9, 3.408291367942525*^9, 3.4082914885559587`*^9, 3.408291524928259*^9, 3.4082916522212973`*^9}] }, Open ]], Cell[TextData[{ StyleBox["Thank You!", "Subsection"], "\n\nThank you for trying this demonstration. Did you find it useful? Did it \ help you solve a problem? If so, please email us and let us know how you used \ it to solve your problem.\n\nWe are looking for ideas for new demonstrations \ to help people solve real problems. If you have an idea for a demonstration \ or would like to sponsor an application, don't hesitate to contact us via \ email at analyst@10squaredcorp.com or phone (404) 271-1907.\n\nThis \ demonstration is provided courtesy of ", StyleBox["10 Squared Corporation", FontWeight->"Bold"], ", an Atlanta, Georgia based consulting firm. " }], "Text", CellChangeTimes->{{3.4081171030413713`*^9, 3.4081171082088013`*^9}, { 3.408198177526707*^9, 3.408198345618411*^9}, {3.4081984140668354`*^9, 3.4081984682948112`*^9}, {3.408198506099171*^9, 3.4081985705919075`*^9}}] }, Open ]] }, AutoGeneratedPackage->None, WindowSize->{1016, 647}, WindowMargins->{{0, Automatic}, {Automatic, 0}}, DockedCells->FEPrivate`If[ FEPrivate`SameQ[FEPrivate`$ProductIDName, "MathematicaPlayer"], { Cell[ BoxData[ Cell[ GraphicsData[ "CompressedBitmap", "eJzdXWdgVEeSnlUiYzA2mdUCygFEkhDKRAkMAhsWE8wZe8FgwHjB9p7DLuwa\n\ 7CUJY6IIAgmUESighAQSCiihnBMCRDz7wu/7sd91v9f9pt/Mm5EE+M/9mNSv\n\ Q1V1d31V1WGWbvxiy6YdG7/Y+vHGPyzatfHzLVs/3v2HhTt3kSTL3+l0Flt0\n\ Op3zH3T0O8hX9vYWOjs7dVaozs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GhnSd\n\ ceWsaah2ckXZZBeUnTo1gJWiDGV/uh03v/qLNL+V2mfJtfP/NpL+yuadJcib\n\ uwA1t28PZPIoOnQYucSpbrJzQlXoe9J+Y25h1RBA6Wht1U9T6W2mWK8lSo4f\n\ R0ZIMOrulrKCVqRHc5HiE4B6W2eUvv+Bvuw8uexb3DIhqJW6Zi0qU1KU/16g\n\ aVlbP0UxQbDCzVuMyvJ2O5qbFXXPAbLqejLSZsym/z2iMypoxzLRXkte/A5S\n\ V682zmTPMmX+aROuL1thwPpcOZPud/8HKWwI5g=="], "Graphics", Evaluatable -> False, ImageSize -> {616, 41}, ImageMargins -> {{0, 0}, {0, 0}}, ImageRegion -> {{0, 1}, {0, 1}}]], "DockedCell", Background -> GrayLevel[0.866682], CellFrame -> {{0, 0}, {0, 4}}, CellFrameColor -> RGBColor[0.690074, 0.12871, 0.194598], CellMargins -> {{0, 0}, {-3, 0}}, CellFrameMargins -> 0], Cell[ BoxData[ GridBox[{{ Cell[ GraphicsData[ "CompressedBitmap", "eJzVV0tIVFEYvs4dx9FkFtZCAh+LyhLMDDNNXJio+UILKqOVqOHbUtEEH5BR\n\ ahmC2MuQHhNFJpJIUFRChK4qNwWuWrSsdfjI/s5/zn/unHvnTpoMRBfunfP4\n\ H9/3/+f850xJRVtNdWNFW21lRXx+S8XZmtrK1vi85hY2pIdomjbP3th4DdvA\n\ mvSZh56eHja5/k8W/9HB6/XC7Owsvto5/hVjbJZLbDWLo+hSezS+TBy/Yux/\n\ E9f5NxJWZmoAHxzHZ/l+AW+vvD5v7gs5B3ac2NLchg7OYXvt+2f4uTgl9bis\n\ FgGrC3f4lDSDbXzWvr71M625TBbx/fXjG6rIaRWwAkAnVoq24CjAhv+RIP1q\n\ DlKTiFHTwb9ibKk3Bo0LN+y7fCsT6CG5UAOfZIjyWzaTG5d/bibKEYLw5BRd\n\ a/wiueTq3CAHh68pS/07DdKYKUbKgYMsSxhmjIl0im1uws6L05QlnmuBCR34\n\ SZuzYjcmGL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ageMargins -> {{0, 0}, {0, 0}}, ImageRegion -> {{0, 1}, {0, 1}}], ButtonBox[ Cell[ GraphicsData[ "CompressedBitmap", "eJylVb1uAjEMDuSAUqTr1J234A3aqQ9xQpVgqFpRZkZWNkZWRkZmRkZmVkZ2\n\ xtSfY0e+9MrSSLkY27E//4W3aj55/6jm03E1fJ1VX5Pp+Hv48jkjlm8550a0\n\ y6EDHYiUzygsFgsS1o42Hw9hs9mE6/UasHCu12tI+KTVYbUy7Ha7pIZ1uVys\n\ GtPL5ZJpmLzdbrgTvXgrol+0XBHO5zOr4irtyO7zTWHx3u/3CRTo1Wol4FMM\n\ WBBB5Xg8MlDQsE6rYLUnjkFVIdputwm7qCYvigLmCCi5AvSSZapnbUFPY89l\n\ hN4zhE44HA4J3el0EtMcjHusAUHG8gTX4ikZIwxqpmwM1gwcqh7xC8k//CtU\n\ YrcFIthaXS1Z7IJuKiMyqcBI3pIIvHUtcRU5rDYLe4zKZgvVkLS4qJObw3eA\n\ +qeIkQG9Z20obm0/U2lpP5/CB09jRxW18mhPyoO7F9xzY87zNrTIgF56ovEO\n\ PGri8BsoRSeyB7U2w7ZtbNsOg1JIYCioBixtczewwZ+BWW9IEcrVES8NerUu\n\ gGcZqMju/womz5vtPnWNHOqMUkf+v0AohmIDDT19T/I7pBc90Rd3ZBycrY5W\n\ AEOn49JUHW+qowMKm6STXgVvX4GUTfsqEB1no8uXbTZBk3EdJ9RLbsgY9FJj\n\ 6kaXyMMRvelzjWRpIInt01MRX+KGPxo5XOsHSMiAwg=="], "Graphics", Evaluatable -> False, ImageSize -> {55, 14}, ImageMargins -> {{0, 0}, {0, 0}}, ImageRegion -> {{0, 1}, {0, 1}}], BaseStyle -> "Hyperlink", ButtonData -> { URL["http://www.wolfram.com/upgrade"], None}, ButtonNote -> "http://www.wolfram.com/upgrade"], Cell[ GraphicsData[ "CompressedBitmap", "eJzzTSzJSM1NLMlMTlRwL0osyMhMLlZwyy8CCjEzMjAwMAExnwIDiP0fyIQS\n\ jP9bWloY/8+ZPZuBgfF/V2cn4//VK1cOFnZ7ezvj/+XLlgFdyggAJaVbgQ==\n"], "Graphics", Evaluatable -> False, ImageSize -> {2, 14}, ImageMargins -> {{0, 0}, {0, 0}}, ImageRegion -> {{0, 1}, {0, 1}}], ButtonBox[ Cell[ GraphicsData[ "CompressedBitmap", "eJyVVj1vIjEQ9bIBRKKjyClFOn5NUvEjUBQpKU6JctSUtHSUtJSU1JSU1LSU\n\ 9JTOPHued0x2SWJpWXvGOx/Pb8YMR+OX53+j8evTaPD4MXp/eX36P3h4+xBR\n\ WTjnhvL0Bw5zL1P9GfrJZCLK7NUKr9LP53OPgVWQlVi5O386nbC0G/x0Og3z\n\ xWKRybHGgN7KMYcdjPV67TrBzZXfbreeQ+aMBQOfYMWty+UybZV5S5XH4zGJ\n\ xTK9xeB7/nA4BBEfbFHLYT6bzVyRA8EcEhDuPllnvjZXmiJOVs78VqtVJocN\n\ yJgUwrgKvnrBFrISWXhgd7PZhO8Uc9dVUBQM2onhdlOocKHm6V5SgoFekFlk\n\ 4AJuMd/tdn6/33+PTJlYUMn6GQtgktFbBJAVdOKG8lJNGnIlULCVx3seLfd2\n\ lBLWjdFH8+2MuwSlc6YDcMpfAQHGm0GIVCsDaJplxMVdJ5D5EWuCbz03Zg4T\n\ yErC0My7aRuzIWUS/PJLgKtDaEShpZlCDVcEsYq6zlysVDJczqxAZV1ixt+s\n\ Zs5xYG2wPCmHZzACMuiwjqSNfqDT2pAcILu5BFAWQwVqvwmcVMsYOAzwwcTX\n\ UpgotgAhXFJAgCoQ+29L5zYLzCZCOZIHORko25/dI+B0GsqGn3wtm95FTBRH\n\ V9ak09Zf08vYD6V2gLoTNrDrEV3Lip8wxXRXASvylMcANlBmbqrY6kgTUAlG\n\ 2FYtNGcBpK7zHSQSmCMnTNCNPZaUZgMEpNpj1YJekikdFkidTNLUkm2nAmBj\n\ QfcutYNgv82ClxIquO4ilghrG1vF0z/Z5U40eDEiFl72X2PN7cWLzNX+M3HF\nJ/Rd8Mk="], "Graphics", Evaluatable -> False, ImageSize -> {77, 14}, ImageMargins -> {{0, 0}, {0, 0}}, ImageRegion -> {{0, 1}, {0, 1}}], BaseStyle -> "Hyperlink", ButtonData -> { URL["http://www.wolfram.com/company/terms.html"], None}, ButtonNote -> "http://www.wolfram.com/company/terms.html"]}}, ColumnsEqual -> False, GridBoxAlignment -> {"Columns" -> {{Center}}, "Rows" -> {{Center}}}]], "DockedCell", Background -> GrayLevel[0.494118], CellFrame -> {{0, 0}, {4, 0}}, CellFrameColor -> RGBColor[0.690074, 0.12871, 0.194598], CellMargins -> 0, CellFrameMargins -> {{0, 0}, {0, -1}}]}, {}], ShowSelection->True, FrontEndVersion->"6.0 for Microsoft Windows (32-bit) (June 19, 2007)", StyleDefinitions->FrontEnd`FileName[{"Creative"}, "NaturalColor.nb", CharacterEncoding -> "WindowsANSI"] ] (* End of Notebook Content *) (* Internal cache information *) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[590, 23, 176, 2, 36, "Subsubtitle"], Cell[769, 27, 10010, 181, 1529, "Text"], Cell[10782, 210, 9010, 166, 19, "Input", CellOpen->False], Cell[CellGroupData[{ Cell[19817, 380, 19153, 389, 1083, "Input"], Cell[38973, 771, 52665, 1021, 1224, "Output"] }, Open ]], Cell[91653, 1795, 898, 15, 205, "Text"] }, Open ]] } ] *) (* End of internal cache information *) (* NotebookSignature mv0aQPqFe3bIJDKrX675fIsp *)