{"version":3,"sources":["webpack:///./src/components/mathematics/data/BarChart/Lesson.vue","webpack:///./src/components/mathematics/data/BarChart/Boxes.js","webpack:///src/components/mathematics/data/BarChart/Lesson.vue","webpack:///./src/components/mathematics/data/BarChart/Lesson.vue?a4e7","webpack:///./src/components/mathematics/data/BarChart/Lesson.vue?6c0c","webpack:///./src/components/mathematics/data/BarChart/Lesson.vue?1bdf"],"names":["ref","_vm","staticClass","_v","attrs","_c","staticStyle","staticRenderFns","Boxes","box1","JXG","Options","board","minimizeReflow","brd1","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","showCopyright","showNavigation","pan","enabled","zoom","resize1","resizeContainer","containerObj","clientWidth","clientHeight","fullUpdate","window","addEventListener","options","layer","create","highlight","display","anchorX","anchorY","CssStyle","fontSize","Math","round","canvasWidth","fixed","type1","type2","type3","type4","type5","dataArr","bulldog","doberman","greyhound","dalmatian","sharpei","charts","a","i","j","k","l","m","ini","removeObject","bd","opacity","setLabel","label","setAttribute","visible","offset","on","this","dm","gh","dmt","sp","cht","fillOpacity","chartStyle","labels","width","dir","reload","random","rotate","box2","brd2","resize2","Pt0","name","snapToGrid","strokeColor","fillColor","Pt1","Pt2","Pt3","Pt4","f","Y","toFixed","test","correct","wrong","check","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"iKAAsFA,EAAI,WAAM,IAAGC,EAAM,KAAkCC,UAAY,GAAM,OAAM,EAAG,MAAC,SAAodF,IAAI,QAAW,CAACC,EAAIE,GAAG,+BAAkC,CAAYD,YAAY,QAAQ,CAACD,EAAIE,GAAG,mdAA0lBC,IAAK,W,CAAE,2CAAiB,OAAE,oBAAG,CAACC,EAAG,8kBAAQ,UAACD,MAAM,CAAC,iBAAM,K,CAA4C,U,MAAoB,CAAY,2BAAI,aAAY,QAACE,YAAY,QAAC,eAAyBL,GAAIE,EAAG,MAAqHH,YAA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KAAAF,OAAAC,OAAA,yBAAAC,GACA,KAAAF,OAAAC,OAAA,wBAAAC,GACA,IAAAC,EAAA,CACA,CAAAD,MAAA,sBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,sBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,kBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,aAAAE,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,gBAEA,KAAAN,OAAAC,OAAA,2BAAAE,GACA,IAAAI,GAAA,EACA,KAAAP,OAAAC,OAAA,4BAAAM,GACA,IAAAC,GAAA,EACA,KAAAR,OAAAC,OAAA,yBAAAO,GACA,IAAAC,GAAA,EACA,KAAAT,OAAAC,OAAA,8BAAAQ,GACA,IAAAC,GAAA,EACA,KAAAV,OAAAC,OAAA,2BAAAS,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACApH,EAAAC,OACAD,EAAAkF,QAEAoC,SAAA,WACA,OAAAb,MAAA,YACAc,cAAA,2BACAC,KAAA,EAAAlC,KAAA,WAAAmC,QAAA,uCACA,CAAAnC,KAAA,cAAAmC,QAAA,2DCpH6X,I,wBCQzXC,EAAY,eACd,EACA,EACA3H,GACA,EACA,KACA,KACA,MAIa,aAAA2H,E,6CCnBf,W","file":"js/chunk-009e46b1.540e3f1d.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"what\"},[_vm._v(\"\\n Bar Chart\\n \")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\"\\n A bar chart is commonly used to represent the grouping of data into different categories.\\n The categories could be something like an age group, months of the year, or geographical locations.\\n In a bar chart (also known as a bar graph), the data is represented using a number of bars. Each bar represents a particular category or group.\\n The height of a bar is proportional to the sum total of entries in the category it represents.\\n \")]),_c('h3',{ref:\"example\"},[_vm._v(\"\\n Example of a Bar Chart\\n \")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\"\\n Imagine you are at a dog show. The show features dogs of a variety of breeds, e.g., 2 Bulldogs, 3 Dobermans, 4 Greyhounds, 1 Dalmatian, and 2 Shar-Peis.\\n Below is a bar chart summarizing this data graphically. Shown on the horizontal axis is the breed of dogs.\\n Shown on the vertical axis is number of dogs.\\n Each bar represents a dog breed and the height of the bar is equal to the number of dogs of the breed that it represents.\\n For example, the bar representing Dobermans has a height of 3 units, while the bar representing Greyhounds is 4 units tall.\\n \")]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('v-img',{attrs:{\"src\":\"/assets/bargraph.png\",\"max-height\":\"450px\",\"max-width\":\"450px\",\"contain\":\"\"}})],1),_c('h5',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"\\n Figure: Example of a bar chart displaying distribution of dogs of different breeds.\\n \")]),_c('br'),_c('h3',{ref:\"playgraph\"},[_vm._v(\"\\n MagicGraph | Bar Chart\\n \")]),_c('p',[_vm._v(\"\\n This MagicGraph below offers a visually interactive module to help you learn how to read and use bar charts.\\n \")]),_c('h5',[_vm._v(\" To Get Started \")]),_c('p',[_vm._v(\"\\n You are given a triangle formed by points O, A and B.\\n The vertices O, A, and B of the triangle can be dragged and moved around to change\\n the type (i.e., acute, obtuse or right) and size of the triangle.\\n You will be able to see that the three interior angles α, β and γ change as the vertices are dragged around.\\n \")]),_c('h5',[_vm._v(\" To Explore\")]),_c('p',[_vm._v(\"\\n Tap on the shuffle button to generate different data sets. The MagicGraph will automatically adjust the bar chart to represent that data.\\n \")]),_c('v-responsive',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})])],1),_c('h3',{ref:\"playgraph2\"},[_vm._v(\"\\n MagicGraph | Test Your Knowledge of Bar Chart\\n \")]),_c('p',[_vm._v(\"\\n This MagicGraph offers a visually interactive way to test your knowledge of bar charts.\\n \")]),_c('h5',[_vm._v(\" To Get Started: \")]),_c('p',[_vm._v(\"\\n You are given a triangle formed by points O, A and B.\\n The vertices O, A, and B of the triangle can be dragged and moved around to change\\n the type (i.e., acute, obtuse or right) and size of the triangle.\\n You will be able to see that the three interior angles α, β and γ change as the vertices are dragged around.\\n \")]),_c('h5',[_vm._v(\" To Explore:\")]),_c('p',[_vm._v(\"\\n Drag points O, A and B of the triangle to change the type (i.e., acute, obtuse or right) and size of the triangle OAB.\\n Then, tap on the two scissors to cut out the angles α and β.\\n No matter what type or size of the triangle you choose, the three interior\\n angles α, β and γ always form a half circle when stacked adjacent to each other.\\n \")]),_c('v-responsive',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox2\"}})])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const Boxes = {\r\n box1: function () {\r\n\t JXG.Options.board.minimizeReflow = 'none';\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-1, 11, 11, -1],keepaspectratio: true, axis:true, ticks:true, grid:true, showCopyright:false, showNavigation:false, pan:{enabled:false}, zoom:{enabled:false}});\r\n\t var resize1 = function () {\r\n\t brd1.resizeContainer(brd1.containerObj.clientWidth, brd1.containerObj.clientHeight, true);\r\n\t brd1.fullUpdate();};\r\n window.addEventListener(\"resize\", resize1);\r\n brd1.options.layer['image'] =14;\r\n\tbrd1.create('text', [5, 10.5, 'Bar Chart'],{highlight:false, display:'internal', anchorX:'middle', anchorY:'middle', CssStyle:'fontFamily:Oswald;fontWeight:bold',fontSize:function(){return Math.round(32*brd1.canvasWidth/800.)}, fixed:true});\r\n var type1 = 2;\r\n var type2 = 3;\r\n var type3 = 4\r\n var type4 = 1\r\n var type5 = 2;\r\n var dataArr=[type1, type2, type3, type4, type5];\r\n var bulldog=[];\r\n var doberman=[];\r\n var greyhound=[];\r\n var dalmatian=[];\r\n var sharpei =[];\r\n var charts=[];\r\n var a=1;\r\n var i=1, j=1, k=1, l=1, m=1;\r\n var ini =function(){\r\n brd1.removeObject(bulldog);\r\n brd1.removeObject(doberman);\r\n brd1.removeObject(greyhound);\r\n brd1.removeObject(dalmatian);\r\n brd1.removeObject(sharpei);\r\n brd1.removeObject(charts);\r\n }\r\n var bd = function(){\r\n for(i=1;i<=type1;i++)\r\n {\r\n bulldog[i-1] =brd1.create('image', ['/assets/bulldog.svg', [0.55, 9.25-a*(i-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n bulldog[i-1].setLabel('Bulldog')\r\n bulldog[i-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n bulldog[i-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n bulldog[i-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var dm = function(){\r\n for(j=1;j<=type2;j++)\r\n {\r\n doberman[j-1] =brd1.create('image', ['/assets/doberman.svg', [1.55, 9.25-a*(j-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n doberman[j-1].setLabel('Doberman')\r\n doberman[j-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n doberman[j-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n doberman[j-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var gh = function(){\r\n for(k=1;k<=type3;k++)\r\n {\r\n greyhound[k-1] =brd1.create('image', ['/assets/greyhound.svg', [2.55, 9.25-a*(k-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n greyhound[k-1].setLabel('Greyhound')\r\n greyhound[k-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n greyhound[k-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n greyhound[k-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var dmt = function(){\r\n for(l=1;l<=type4;l++)\r\n {\r\n dalmatian[l-1] =brd1.create('image', ['/assets/dalmatian.svg', [3.55, 9.25-a*(l-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n dalmatian[l-1].setLabel('Dalmatian')\r\n dalmatian[l-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n dalmatian[l-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n dalmatian[l-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var sp = function(){\r\n for(m=1;m<=type5;m++)\r\n {\r\n sharpei[m-1] =brd1.create('image', ['/assets/shar-pei.svg', [4.55, 9.25-a*(m-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n sharpei[m-1].setLabel('Shar-pei')\r\n sharpei[m-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n sharpei[m-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n sharpei[m-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var cht = function(){\r\n charts[0] =brd1.create('chart', dataArr, {fillOpacity:1, anchorX:'left',chartStyle:'bar',labels:dataArr,width:1,dir:'vertical'});\r\n }\r\n bd(); dm();gh();dmt();sp();cht();\r\n var reload = brd1.create('image', ['/assets/shuffle.svg', [8.4,8.4],[1.2, 1.2]], {opacity:1, fixed:true});\r\n reload.setLabel('Tap to Shuffle')\r\n reload.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n reload.on('over', function () {this.label.setAttribute({visible:true});});\r\n reload.on('out', function () {this.label.setAttribute({visible:false});});\r\n\r\n reload.on('down', function(){ini();type1=Math.round(Math.random()*3)+1; type2=Math.round(Math.random()*4)+1; type3=Math.round(Math.random()*4)+1;type4=Math.round(Math.random()*2)+1;type5=Math.round(Math.random()*3)+1;\r\n dataArr=[type1, type2, type3, type4, type5]; i=1;j=1;k=1;l=1;m=1;bd();dm();gh();dmt();sp();cht();});\r\n brd1.create('text', [9, -0.5, 'Breed of Dog'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(22*brd1.canvasWidth/800.)}});\r\n brd1.create('text', [-0.5, 5, 'Number of Dogs'],{display:'internal', rotate:90, anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(22*brd1.canvasWidth/800.)}});\r\n brd1.create('text', [1, -0.5, 'Bulldog'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd1.canvasWidth/800.)}});\r\n brd1.create('text', [2, -0.5, 'Doberman'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd1.canvasWidth/800.)}});\r\n brd1.create('text', [3, -0.5, 'Greyhound'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd1.canvasWidth/800.)}});\r\n brd1.create('text', [4, -0.5, 'Dalmatian'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd1.canvasWidth/800.)}});\r\n brd1.create('text', [5, -0.5, 'Shar-pei'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd1.canvasWidth/800.)}});\r\n\r\n /*var dice = function(){\r\n for (k=1; k<=cnt; k++){\r\n brd2.create('image', ['/assets/dice-'+tup[k-1][0]+'.svg', [12, 16-3*k],[4, 4]], {name:img[2*(k-1)+1], fixed:true});\r\n brd2.create('image', ['/assets/dice-'+tup[k-1][1]+'.svg', [17.5,16-3*k],[4, 4]],{name:img[2*(k-1)+2], rotate:50+20*Math.random(), fixed:true});\r\n brd2.update();\r\n };\r\n};\r\n\t//\r\n\tvar plus1=brd1.create('image', ['/assets/bulldog.svg', [-14., 20.-a],[1.6, 1.7]], {opacity:1, fixed:true});\r\n\tplus1.setLabel('Bulldog')\r\n\tplus1.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus1.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus1.on('out', function () {this.label.setAttribute({visible:false});});\r\n\t//\r\n\tvar plus2=brd1.create('image', ['/assets/dachshund.svg', [-12., 20.-a-0.1],[1.75, 1.75]], {opacity:1, fixed:true});\r\n\tplus2.setLabel('Corgi')\r\n\tplus2.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus2.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus2.on('out', function () {this.label.setAttribute({visible:false});});\r\n\t//\r\n\tvar plus3=brd1.create('image', ['/assets/mastiff.svg', [-10, 20-a-0.1],[3, 3.2]], {opacity:1, fixed:true});\r\n\tplus3.setLabel('Mastiff')\r\n\tplus3.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus3.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus3.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus4=brd1.create('image', ['/assets/pointer.svg', [-7.5, 20-a-0.1],[2.5, 2.5]], {opacity:1, fixed:true});\r\n\tplus4.setLabel('Pointer')\r\n\tplus4.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus4.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus4.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus5=brd1.create('image', ['/assets/doberman.svg', [-5, 20.15-a],[2.5, 2.5]], {opacity:1, fixed:true});\r\n\tplus5.setLabel('Doberman')\r\n\tplus5.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus5.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus5.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus6=brd1.create('image', ['/assets/greyhound.svg', [-2.5, 20-a-0.1],[2.85, 2.85]], {opacity:1, fixed:true});\r\n\tplus6.setLabel('Greyhound')\r\n\tplus6.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus6.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus6.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus7=brd1.create('image', ['/assets/dalmatian.svg', [0, 20-0.2-a],[2.35, 2.6]], {opacity:1, fixed:true});\r\n\tplus7.setLabel('Dalmatian')\r\n\tplus7.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus7.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus7.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus8=brd1.create('image', ['/assets/shar-pei.svg', [2.5, 20-a-0.1],[2.25, 2.25]], {opacity:1, fixed:true});\r\n\tplus8.setLabel('Shar-Pei')\r\n\tplus8.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus8.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus8.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus9 = brd1.create('image', ['/assets/rottweiler.svg', [5, 20-a-0.1],[2.5, 2.5]], {opacity:1, fixed:true});\r\n\tplus9.setLabel('Rottweiler')\r\n\tplus9.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus9.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus9.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n\tvar plus10 =brd1.create('image', ['/assets/chihuahua.svg', [7.5, 20.25-a],[1.15, 1.]], {opacity:1, fixed:true});\r\n\tplus10.setLabel('Chihuahua')\r\n\tplus10.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tplus10.on('over', function () {this.label.setAttribute({visible:true});});\r\n\tplus10.on('out', function () {this.label.setAttribute({visible:false});});\r\n\t//\r\n\tvar v =[0,0,0,0,0];\r\n\tvar i=0;\r\n\tplus1.on('down', function(){if(i<=4){plus1.moveTo([-14+2.75*i+0.5,-a]); v[i]=14/12; i+=1;}else{return;}});\r\n\tplus2.on('down', function(){if(i<=4){plus2.moveTo([-14+2.75*i+0.5,-a-0.1]); v[i]=12/12; i+=1;}else{return;}});\r\n\tplus3.on('down', function(){if(i<=4){plus3.moveTo([-14+2.75*i,-a-0.1]); v[i]=30/12; i+=1;}else{return;}});\r\n\tplus4.on('down', function(){if(i<=4){plus4.moveTo([-14+2.75*i,-a-0.1]); v[i]=24/12; i+=1;}else{return;}});\r\n\tplus5.on('down', function(){if(i<=4){plus5.moveTo([-14+2.75*i,0.15-a]);v[i]=28/12; i+=1;}else{return;}});\r\n\tplus6.on('down', function(){if(i<=4){plus6.moveTo([-14+2.75*i,-a]); v[i]=27/12; i+=1;}else{return;}});\r\n\tplus7.on('down', function(){if(i<=4){plus7.moveTo([-14+2.75*i,-0.1-a]); v[i]=22/12; i+=1;}else{return;}});\r\n\tplus8.on('down', function(){if(i<=4){plus8.moveTo([-14+2.75*i,-a]);v[i]=20/12; i+=1;}else{return;}});\r\n\tplus9.on('down', function(){if(i<=4){plus9.moveTo([-14+2.75*i,-a]); v[i]=2; i+=1;}else{return;}});\r\n\tplus10.on('down',function(){if(i<=4){plus10.moveTo([-14+2.75*i+0.5,0.25-a]);v[i]=11/12; i+=1;}else{return;}});\r\n///////////////////////////////////////////////////////////\r\n\tvar mu = function(){return (v[0]+v[1]+v[2]+v[3]+v[4])/(i+0.00001)};\r\n\tvar sig = function(){\r\n\t\tif(i==1){return Math.sqrt((v[0]-mu())*(v[0]-mu()))}\r\n\t\telse if(i==2){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu()))/2)}\r\n\t\telse if(i==3){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu())+ (v[2]-mu())*(v[2]-mu()))/3)}\r\n\t\telse if(i==4){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu())+(v[2]-mu())*(v[2]-mu())+ (v[3]-mu())*(v[3]-mu()))/4)}\r\n\t\telse if(i==5){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu())+(v[2]-mu())*(v[2]-mu())+(v[3]-mu())*(v[3]-mu())+(v[4]-mu())*(v[4]-mu()))/5)}\r\n\t\telse{return 0;}\r\n\t};\r\n\tbrd1.create('text', [-17.7, -1.5, 'Heights(ft.)'],{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n\tbrd1.create('text', [-13.625, -1.5, function(){return ''+ (v[0]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-10.875, -1.5, function(){return ''+ (v[1]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-8.125, -1.5, function(){return ''+ (v[2]).toFixed(2)}],{ fixed:true,CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-5.375, -1.5, function(){return ''+ (v[3]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-2.625, -1.5, function(){return ''+ (v[4]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-13.5, 7.5, 'Mean μ (ft.)'],{CssStyle:'fontFamily:Oswald', color:'red', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n\tbrd1.create('text', [-5, 7.5, function(){return ''+ (mu()).toFixed(2)}],{fixed:true, CssStyle:'fontFamily:Oswald', color:'red', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-13.5, 6., 'Standard Deviation σ (ft.)'],{CssStyle:'fontFamily:Oswald',color:'blue', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n\tbrd1.create('text', [-5, 6., function(){return ''+ (JXG.Math.Statistics.sd(v)).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald', color:'blue', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tbrd1.create('text', [-13.5, 4.5, 'Median (ft.)'],{CssStyle:'fontFamily:Oswald',color:'green', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n\tbrd1.create('text', [-5, 4.5, function(){return ''+ (JXG.Math.Statistics.median(v)).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald', color:'green', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\tvar func =brd1.create('functiongraph',[function(x){return (2.5/(sig()+0.01)/Math.sqrt(2*Math.PI))*Math.exp(-0.5*(x+mu())*(x+mu())/(sig()+0.01)/(sig()+0.01))}, 0, -4],{strokeColor:'red', strokeWidth:2});\r\n\tvar t = brd1.create('transform', [-Math.PI/2], {type: 'rotate'});\r\n\tt.bindTo(func);\r\n\tbrd1.create('line',[[0, function(){return mu()}],[function(){return 2/sig()/Math.sqrt(2*Math.PI)}, function(){return mu()}]], {strokeWidth:1, dash:1});\r\n\tvar mean =brd1.create('image', ['/assets/random.svg', [6, function(){return mu()}],[1.25, 1.25]], {opacity:1, fixed:true});\r\n\tmean.setLabel('Mean')\r\n\tvar std =brd1.create('image', ['/assets/random.svg', [2, function(){return mu()+sig()}],[1.25, 1.25]], {opacity:1, rotate:90, fixed:true});\r\n\tstd.setLabel('Spread')\r\n\tmean.label.setAttribute({offset:[0, 50], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n\tstd.label.setAttribute({offset:[0, 50], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n*/\r\n },\r\n box2: function () {\r\n \t JXG.Options.board.minimizeReflow = 'none';\r\n var brd2 = JXG.JSXGraph.initBoard('jxgbox2',{boundingbox: [-1, 11, 11, -1],keepaspectratio: true, axis:true, ticks:true, grid:true, showCopyright:false, showNavigation:false, pan:{enabled:false}, zoom:{enabled:false}});\r\n \t var resize2 = function () {\r\n \t brd2.resizeContainer(brd2.containerObj.clientWidth, brd2.containerObj.clientHeight, true);\r\n \t brd2.fullUpdate();};\r\n window.addEventListener(\"resize\", resize2);\r\n brd2.options.layer['image'] =14;\r\n brd2.create('text', [5, 10.5, 'Bar Chart'],{highlight:false, display:'internal', anchorX:'middle', anchorY:'middle', CssStyle:'fontFamily:Oswald;fontWeight:bold',fontSize:function(){return Math.round(32*brd2.canvasWidth/800.)}, fixed:true});\r\n var type1 = 2;\r\n var type2 = 3;\r\n var type3 = 4\r\n var type4 = 1\r\n var type5 = 2;\r\n var dataArr=[type1, type2, type3, type4, type5];\r\n var bulldog=[];\r\n var doberman=[];\r\n var greyhound=[];\r\n var dalmatian=[];\r\n var sharpei =[];\r\n var charts=[];\r\n var a=1;\r\n var i=1, j=1, k=1, l=1, m=1;\r\n var ini =function(){\r\n brd2.removeObject(bulldog);\r\n brd2.removeObject(doberman);\r\n brd2.removeObject(greyhound);\r\n brd2.removeObject(dalmatian);\r\n brd2.removeObject(sharpei);\r\n brd2.removeObject(charts);\r\n }\r\n var bd = function(){\r\n for(i=1;i<=type1;i++)\r\n {\r\n bulldog[i-1] =brd2.create('image', ['/assets/bulldog.svg', [0.55, 9.25-a*(i-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n bulldog[i-1].setLabel('Bulldog')\r\n bulldog[i-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n bulldog[i-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n bulldog[i-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var dm = function(){\r\n for(j=1;j<=type2;j++)\r\n {\r\n doberman[j-1] =brd2.create('image', ['/assets/doberman.svg', [1.55, 9.25-a*(j-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n doberman[j-1].setLabel('Doberman')\r\n doberman[j-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n doberman[j-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n doberman[j-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var gh = function(){\r\n for(k=1;k<=type3;k++)\r\n {\r\n greyhound[k-1] =brd2.create('image', ['/assets/greyhound.svg', [2.55, 9.25-a*(k-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n greyhound[k-1].setLabel('Greyhound')\r\n greyhound[k-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n greyhound[k-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n greyhound[k-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var dmt = function(){\r\n for(l=1;l<=type4;l++)\r\n {\r\n dalmatian[l-1] =brd2.create('image', ['/assets/dalmatian.svg', [3.55, 9.25-a*(l-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n dalmatian[l-1].setLabel('Dalmatian')\r\n dalmatian[l-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n dalmatian[l-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n dalmatian[l-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var sp = function(){\r\n for(m=1;m<=type5;m++)\r\n {\r\n sharpei[m-1] =brd2.create('image', ['/assets/shar-pei.svg', [4.55, 9.25-a*(m-1)],[0.9, 0.9]], {opacity:1, fixed:true});\r\n sharpei[m-1].setLabel('Shar-pei')\r\n sharpei[m-1].label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n sharpei[m-1].on('over', function () {this.label.setAttribute({visible:true});});\r\n sharpei[m-1].on('out', function () {this.label.setAttribute({visible:false});});\r\n }\r\n }\r\n var Pt=[];\r\n var Pt0 =brd2.create('point', [1, 0],{name:'Bulldog', label:{anchorX:'middle',CssStyle:'fontFamily:Oswald',offset:[0, 15], fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}}, snapToGrid:true, strokeColor:'black', fillColor:'yellow'});\r\n var Pt1 =brd2.create('point', [2, 0],{name:'Doberman', label:{anchorX:'middle',CssStyle:'fontFamily:Oswald',offset:[0, 15], fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}}, snapToGrid:true, strokeColor:'black', fillColor:'yellow'});\r\n var Pt2 =brd2.create('point', [3, 0],{name:'Greyhound', label:{anchorX:'middle',CssStyle:'fontFamily:Oswald',offset:[0, 15], fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}}, snapToGrid:true, strokeColor:'black', fillColor:'yellow'});\r\n var Pt3 =brd2.create('point', [4, 0],{name:'Dalmatian', label:{anchorX:'middle',CssStyle:'fontFamily:Oswald',offset:[0, 15], fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}}, snapToGrid:true, strokeColor:'black', fillColor:'yellow'});\r\n var Pt4 =brd2.create('point', [5, 0],{name:'Shar-pei', label:{anchorX:'middle',CssStyle:'fontFamily:Oswald',offset:[0, 15], fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}}, snapToGrid:true, strokeColor:'black', fillColor:'yellow'});\r\n var f=[function(){return (Pt0.Y()).toFixed(2);}, function(){return (Pt1.Y()).toFixed(2);}, function(){return (Pt2.Y()).toFixed(2);}, function(){return (Pt3.Y()).toFixed(2);}, function(){return (Pt4.Y()).toFixed(2);}];\r\n //var f =[Pt0.Y(), 5, 5, 5, 5];\r\n brd2.create('chart', [f], {fillOpacity:1, anchorX:'left',chartStyle:'bar',width:1,dir:'vertical'});\r\n var cht = function(){\r\n charts[0] =brd2.create('chart', dataArr, {fillOpacity:1, anchorX:'left',chartStyle:'bar',labels:dataArr,width:1,dir:'vertical'});\r\n }\r\n bd(); dm();gh();dmt();sp();\r\n var test = brd2.create('image', ['/assets/test.svg', [7,2.],[1.2, 1.2]], {opacity:1, fixed:true});\r\n test.setLabel('Tap to Test')\r\n test.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n test.on('over', function () {this.label.setAttribute({visible:true});});\r\n test.on('out', function () {this.label.setAttribute({visible:false});});\r\n var correct=brd2.create('image', ['/assets/check.svg', [8.5, 2], [1. ,1.]], {visible: false, fixed: true});\r\n var wrong=brd2.create('image', ['/assets/cross.svg', [8.5, 2], [1. ,1.]], {visible: false, fixed: true});\r\n function check(){\r\n\r\n if(Pt0.Y() == type1 && Pt1.Y() == type2 && Pt2.Y() == type3 && Pt3.Y() == type4 && Pt4.Y() == type5){\r\n\r\n correct.setAttribute({visible: true});\r\n wrong.setAttribute({visible: false});\r\n\r\n }\r\n\r\n else{\r\n correct.setAttribute({visible: false});\r\n wrong.setAttribute({visible: true});\r\n }\r\n}\r\n test.on('down', check);\r\n var reload = brd2.create('image', ['/assets/shuffle.svg', [8.4,8.4],[1.2, 1.2]], {opacity:1, fixed:true});\r\n reload.setLabel('Tap to Shuffle')\r\n reload.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n reload.on('over', function () {this.label.setAttribute({visible:true});});\r\n reload.on('out', function () {this.label.setAttribute({visible:false});});\r\n\r\n reload.on('down', function(){ini();type1=Math.round(Math.random()*3)+1; type2=Math.round(Math.random()*4)+1; type3=Math.round(Math.random()*4)+1;type4=Math.round(Math.random()*2)+1;type5=Math.round(Math.random()*3)+1;\r\n i=1;j=1;k=1;l=1;m=1;bd();dm();gh();dmt();sp();\r\n correct.setAttribute({visible: false});\r\n wrong.setAttribute({visible: false});});\r\n brd2.create('text', [9, -0.5, 'Breed of Dog'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(22*brd2.canvasWidth/800.)}});\r\n brd2.create('text', [-0.5, 5, 'Number of Dogs'],{display:'internal', rotate:90, anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(22*brd2.canvasWidth/800.)}});\r\n //brd2.create('text', [1, -0.5, 'Bulldog'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}});\r\n //brd2.create('text', [2, -0.5, 'Doberman'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}});\r\n //brd2.create('text', [3, -0.5, 'Greyhound'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}});\r\n //brd2.create('text', [4, -0.5, 'Dalmatian'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}});\r\n //brd2.create('text', [5, -0.5, 'Shar-pei'],{display:'internal',anchorX:'middle', fixed:true, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(16*brd2.canvasWidth/800.)}});\r\n\r\n /*var dice = function(){\r\n for (k=1; k<=cnt; k++){\r\n brd2.create('image', ['/assets/dice-'+tup[k-1][0]+'.svg', [12, 16-3*k],[4, 4]], {name:img[2*(k-1)+1], fixed:true});\r\n brd2.create('image', ['/assets/dice-'+tup[k-1][1]+'.svg', [17.5,16-3*k],[4, 4]],{name:img[2*(k-1)+2], rotate:50+20*Math.random(), fixed:true});\r\n brd2.update();\r\n };\r\n };\r\n \t//\r\n \tvar plus1=brd1.create('image', ['/assets/bulldog.svg', [-14., 20.-a],[1.6, 1.7]], {opacity:1, fixed:true});\r\n \tplus1.setLabel('Bulldog')\r\n \tplus1.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus1.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus1.on('out', function () {this.label.setAttribute({visible:false});});\r\n \t//\r\n \tvar plus2=brd1.create('image', ['/assets/dachshund.svg', [-12., 20.-a-0.1],[1.75, 1.75]], {opacity:1, fixed:true});\r\n \tplus2.setLabel('Corgi')\r\n \tplus2.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus2.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus2.on('out', function () {this.label.setAttribute({visible:false});});\r\n \t//\r\n \tvar plus3=brd1.create('image', ['/assets/mastiff.svg', [-10, 20-a-0.1],[3, 3.2]], {opacity:1, fixed:true});\r\n \tplus3.setLabel('Mastiff')\r\n \tplus3.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus3.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus3.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus4=brd1.create('image', ['/assets/pointer.svg', [-7.5, 20-a-0.1],[2.5, 2.5]], {opacity:1, fixed:true});\r\n \tplus4.setLabel('Pointer')\r\n \tplus4.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus4.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus4.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus5=brd1.create('image', ['/assets/doberman.svg', [-5, 20.15-a],[2.5, 2.5]], {opacity:1, fixed:true});\r\n \tplus5.setLabel('Doberman')\r\n \tplus5.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus5.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus5.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus6=brd1.create('image', ['/assets/greyhound.svg', [-2.5, 20-a-0.1],[2.85, 2.85]], {opacity:1, fixed:true});\r\n \tplus6.setLabel('Greyhound')\r\n \tplus6.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus6.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus6.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus7=brd1.create('image', ['/assets/dalmatian.svg', [0, 20-0.2-a],[2.35, 2.6]], {opacity:1, fixed:true});\r\n \tplus7.setLabel('Dalmatian')\r\n \tplus7.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus7.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus7.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus8=brd1.create('image', ['/assets/shar-pei.svg', [2.5, 20-a-0.1],[2.25, 2.25]], {opacity:1, fixed:true});\r\n \tplus8.setLabel('Shar-Pei')\r\n \tplus8.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus8.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus8.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus9 = brd1.create('image', ['/assets/rottweiler.svg', [5, 20-a-0.1],[2.5, 2.5]], {opacity:1, fixed:true});\r\n \tplus9.setLabel('Rottweiler')\r\n \tplus9.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus9.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus9.on('out', function () {this.label.setAttribute({visible:false});});\r\n //\r\n \tvar plus10 =brd1.create('image', ['/assets/chihuahua.svg', [7.5, 20.25-a],[1.15, 1.]], {opacity:1, fixed:true});\r\n \tplus10.setLabel('Chihuahua')\r\n \tplus10.label.setAttribute({visible:false, offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tplus10.on('over', function () {this.label.setAttribute({visible:true});});\r\n \tplus10.on('out', function () {this.label.setAttribute({visible:false});});\r\n \t//\r\n \tvar v =[0,0,0,0,0];\r\n \tvar i=0;\r\n \tplus1.on('down', function(){if(i<=4){plus1.moveTo([-14+2.75*i+0.5,-a]); v[i]=14/12; i+=1;}else{return;}});\r\n \tplus2.on('down', function(){if(i<=4){plus2.moveTo([-14+2.75*i+0.5,-a-0.1]); v[i]=12/12; i+=1;}else{return;}});\r\n \tplus3.on('down', function(){if(i<=4){plus3.moveTo([-14+2.75*i,-a-0.1]); v[i]=30/12; i+=1;}else{return;}});\r\n \tplus4.on('down', function(){if(i<=4){plus4.moveTo([-14+2.75*i,-a-0.1]); v[i]=24/12; i+=1;}else{return;}});\r\n \tplus5.on('down', function(){if(i<=4){plus5.moveTo([-14+2.75*i,0.15-a]);v[i]=28/12; i+=1;}else{return;}});\r\n \tplus6.on('down', function(){if(i<=4){plus6.moveTo([-14+2.75*i,-a]); v[i]=27/12; i+=1;}else{return;}});\r\n \tplus7.on('down', function(){if(i<=4){plus7.moveTo([-14+2.75*i,-0.1-a]); v[i]=22/12; i+=1;}else{return;}});\r\n \tplus8.on('down', function(){if(i<=4){plus8.moveTo([-14+2.75*i,-a]);v[i]=20/12; i+=1;}else{return;}});\r\n \tplus9.on('down', function(){if(i<=4){plus9.moveTo([-14+2.75*i,-a]); v[i]=2; i+=1;}else{return;}});\r\n \tplus10.on('down',function(){if(i<=4){plus10.moveTo([-14+2.75*i+0.5,0.25-a]);v[i]=11/12; i+=1;}else{return;}});\r\n ///////////////////////////////////////////////////////////\r\n \tvar mu = function(){return (v[0]+v[1]+v[2]+v[3]+v[4])/(i+0.00001)};\r\n \tvar sig = function(){\r\n \t\tif(i==1){return Math.sqrt((v[0]-mu())*(v[0]-mu()))}\r\n \t\telse if(i==2){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu()))/2)}\r\n \t\telse if(i==3){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu())+ (v[2]-mu())*(v[2]-mu()))/3)}\r\n \t\telse if(i==4){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu())+(v[2]-mu())*(v[2]-mu())+ (v[3]-mu())*(v[3]-mu()))/4)}\r\n \t\telse if(i==5){return Math.sqrt(((v[0]-mu())*(v[0]-mu())+(v[1]-mu())*(v[1]-mu())+(v[2]-mu())*(v[2]-mu())+(v[3]-mu())*(v[3]-mu())+(v[4]-mu())*(v[4]-mu()))/5)}\r\n \t\telse{return 0;}\r\n \t};\r\n \tbrd1.create('text', [-17.7, -1.5, 'Heights(ft.)'],{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n \tbrd1.create('text', [-13.625, -1.5, function(){return ''+ (v[0]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-10.875, -1.5, function(){return ''+ (v[1]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-8.125, -1.5, function(){return ''+ (v[2]).toFixed(2)}],{ fixed:true,CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-5.375, -1.5, function(){return ''+ (v[3]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-2.625, -1.5, function(){return ''+ (v[4]).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-13.5, 7.5, 'Mean μ (ft.)'],{CssStyle:'fontFamily:Oswald', color:'red', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n \tbrd1.create('text', [-5, 7.5, function(){return ''+ (mu()).toFixed(2)}],{fixed:true, CssStyle:'fontFamily:Oswald', color:'red', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-13.5, 6., 'Standard Deviation σ (ft.)'],{CssStyle:'fontFamily:Oswald',color:'blue', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n \tbrd1.create('text', [-5, 6., function(){return ''+ (JXG.Math.Statistics.sd(v)).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald', color:'blue', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tbrd1.create('text', [-13.5, 4.5, 'Median (ft.)'],{CssStyle:'fontFamily:Oswald',color:'green', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}, fixed:true});\r\n \tbrd1.create('text', [-5, 4.5, function(){return ''+ (JXG.Math.Statistics.median(v)).toFixed(2)}],{ fixed:true, CssStyle:'fontFamily:Oswald', color:'green', fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n \tvar func =brd1.create('functiongraph',[function(x){return (2.5/(sig()+0.01)/Math.sqrt(2*Math.PI))*Math.exp(-0.5*(x+mu())*(x+mu())/(sig()+0.01)/(sig()+0.01))}, 0, -4],{strokeColor:'red', strokeWidth:2});\r\n \tvar t = brd1.create('transform', [-Math.PI/2], {type: 'rotate'});\r\n \tt.bindTo(func);\r\n \tbrd1.create('line',[[0, function(){return mu()}],[function(){return 2/sig()/Math.sqrt(2*Math.PI)}, function(){return mu()}]], {strokeWidth:1, dash:1});\r\n \tvar mean =brd1.create('image', ['/assets/random.svg', [6, function(){return mu()}],[1.25, 1.25]], {opacity:1, fixed:true});\r\n \tmean.setLabel('Mean')\r\n \tvar std =brd1.create('image', ['/assets/random.svg', [2, function(){return mu()+sig()}],[1.25, 1.25]], {opacity:1, rotate:90, fixed:true});\r\n \tstd.setLabel('Spread')\r\n \tmean.label.setAttribute({offset:[0, 50], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n \tstd.label.setAttribute({offset:[0, 50], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n */\r\n }\r\n}\r\nexport default Boxes;\r\n","\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Lesson.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Lesson.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Lesson.vue?vue&type=template&id=9f12bc3a&\"\nimport script from \"./Lesson.vue?vue&type=script&lang=js&\"\nexport * from \"./Lesson.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Lesson.vue?vue&type=style&index=0&id=9f12bc3a&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Lesson.vue?vue&type=style&index=0&id=9f12bc3a&prod&lang=scss&\""],"sourceRoot":""}