{"version":3,"sources":["webpack:///./src/components/mathematics/decimal2/Lesson.vue?efa3","webpack:///./src/components/mathematics/decimal2/Lesson.vue","webpack:///./src/components/mathematics/decimal2/Boxes.js","webpack:///src/components/mathematics/decimal3/Lesson.vue","webpack:///./src/components/mathematics/decimal2/Lesson.vue?afd0","webpack:///./src/components/mathematics/decimal2/Lesson.vue?a1f7"],"names":["ref","attrs","staticClass","_v","_vm","_self","render","staticRenderFns","Boxes","box1","brd1","JXG","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","visible","grid","showCopyright","showNavigation","pan","enabled","zoom","suspendUpdate","options","layer","placeLogo","a","b","c","d","arr","j","cols","placeTitle","placeRightText","rgt","placeLeftText","setAttribute","color","polynomial1","create","fixed","anchorX","anchorY","CssStyle","fontSize","Math","round","canvasWidth","polynomial2","polynomial3","polynomial4","on","txt0","dash0","txt1","dash1","txt2","dash2","txt3","dash3","placeLine","i","ans1","display","highlight","cssStyle","ans2","ans3","chk","rght","placeImage","wrng","analytics","placeShuffle","setLabel","label","alignX","offset","this","erase","placeTest","check","random","unsuspendUpdate","name","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"kHAAA,W,4FCA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAAqD,iBAAS,IAAK,SAAqDA,GAAI,iDAAY,IAAK,UAA8yBC,GAAK,GAAC,8C,IAAC,aAAmB,mxBAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CACzoC,mBACyC,IAAC,IAAqB,EAAmBC,YAClF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAIC,EAAG,IAACC,CAAK,EAAG,ymBAAC,WACzC,WAEF,EAASC,QAAQC,G,yrBC2BXC,EAAQ,CACZC,KAAM,WACL,IAAIC,EAAOC,IAAIC,SAASC,UAAU,UAAU,CAACC,YAAa,E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,EAAdD,KAAKqC,UAAY,EAChCtD,EAAIiB,KAAKC,MAAoB,EAAdD,KAAKqC,UAAY,EAChCpD,EAAIe,KAAKC,MAAoB,EAAdD,KAAKqC,UAAY,EAChCrD,EAAI,CAACJ,EAAEC,EAAEC,EAAEC,MAGftB,EAAK6E,oBAGU/E,IC1JA,GACfgF,KAAA,gBACAC,QAAA,eAAAC,EAAA,KACA,KAAAC,OAAAC,OAAA,yBACA,IAAAC,EAAA,iBACA,KAAAF,OAAAC,OAAA,yBAAAC,GACA,KAAAF,OAAAC,OAAA,wBAAAC,GACA,IAAAC,EAAA,CACA,CAAAD,MAAA,wBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,WACA,CAAAJ,MAAA,+BAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,YACA,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,MACAhG,EAAAC,QAEAiG,SAAA,WACA,OAAAb,MAAA,iBACAc,cAAA,2BACAC,KAAA,EAAApB,KAAA,WAAAqB,QAAA,uCACA,CAAArB,KAAA,cAAAqB,QAAA,2DCnF8W,I,wBCQ1WC,EAAY,eACd,EACA,EACAvG,GACA,EACA,KACA,KACA,MAIa,aAAAuG,E","file":"js/chunk-355598b1.75c86d07.js","sourcesContent":["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=4f6dcba2&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"intro\"},[_vm._v(\"\\n Decimal Number\\n \")]),_vm._m(0),_c('h3',{ref:\"formal\"},[_vm._v(\"\\n Decimal Places\\n \")]),_vm._m(1),_c('h3',{ref:\"playgraph\"},[_vm._v(\"\\n MagicGraph | Decimal Places in a Number\\n \")]),_c('p',[_vm._v(\"\\n Through this MagicGraph, students will learn about the coefficients of a polynomial: what are they and how to find them. So, let's get started.\\n \")]),_c('h5',[_vm._v(\" To Get Started: \")]),_c('p',[_vm._v(\"\\n You are given a number that contains numbers upto 3 decimal places\\n The goal of this MagicGraph is to help you identify the decimal place of each number (after the decimal point).\\n Tap on each number after the decimal point to find its decimal place.\\n \")]),_c('h5',[_vm._v(\" To Explore:\")]),_c('p',[_vm._v(\"\\n Each time you tap on the shuffle button, the MagicGraph generates a new number.\\n Tap on each number after the decimal point to find its decimal place.\\n \")]),_c('v-responsive',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n One can think of a decimal number as a number that is obtained by the addition of a whole number with\\n the decimal fractions of other whole numbers. \"),_c('br'),_c('br'),_vm._v(\"\\n So what is a decimal fraction? \"),_c('br'),_c('br'),_vm._v(\"\\n Decimal fraction is a special fraction where the denominator is a power of 10, like 10, 100, 1000, etc.\\n Example of decimal fractions are 1/10, 1/100, 1/1000, etc. \"),_c('br'),_c('br'),_vm._v(\"\\n For example, 4.25 is a decimal number and it is obtained by adding 4 with 1/10th of 2 and 1/100th of 5. In other words,\\n $$4.25 = 4 + 2/10 + 5/100$$\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n In a decimal number, the placement of a number after the decimal point is called its decimal place.\"),_c('br'),_c('br'),_vm._v(\"\\n Decimal place of a number determines the decimal fraction of that number. \"),_c('br'),_c('br'),_vm._v(\"\\n The place right after the decimal point is called a Tenth. That is to say — the number in the Tenth place\\n must be divided by 10.\\n For example, in 4.5, 5 is in the Tenth place.\\n Being in tenth place, 5 must be divided by 10 and added to 4 to obtain 4.5\\n \"),_c('br'),_c('br'),_vm._v(\"\\n The second place after the decimal point is called a Hundreth. For example, in 1.23, 3 is in the Hundreth place.\\n \")])\n}]\n\nexport { render, staticRenderFns }","import {\r\n makeResponsive,\r\n placeTitle,\r\n placeImage,\r\n placeInput,\r\n placeSlider,\r\n hoverMe,\r\n placeRec,\r\n hiddenPt,\r\n fixedPt,\r\n clearInputFields,\r\n dragMe,\r\n placeArrow,\r\n placeGravity,\r\n placeText,\r\n placeMiddleText,\r\n placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeCircle,\r\n placeAngle,\r\n placeDash,\r\n placeLabel,\r\n placeRightText,\r\n//placePoint(board, positionX, positionY, size, cols1, cols2)\r\n//placeDash(board, Pt1, Pt2, width, cols)\r\n placeArc,\r\n placeLogo,\r\n placeShuffle,\r\n placeTest\r\n} from '../../../common/edliy_utils-fractions';\r\nconst Boxes = {\r\n box1: function () {\r\n\t var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-1, 26, 21, 4],\r\n keepaspectratio: true, axis:false, ticks:{visible:false},\r\n grid:true, showCopyright:false, showNavigation:false,\r\n pan:{enabled:false}, zoom:{enabled:false}});\r\nbrd1.suspendUpdate();\r\n\r\nbrd1.options.layer['image'] =14;\r\n//Variables\r\nplaceLogo(brd1);\r\nvar a = 1;\r\nvar b = 2;\r\nvar c = 3;\r\nvar d = 4;\r\nvar arr = [a, b, c, d];\r\nvar j=1;\r\nconst cols = ['black', 'red', 'blue', 'green'];\r\n//Title and subtitle\r\nplaceTitle(brd1, 'Decimal Place', '');\r\nvar lft = placeRightText(brd1, 15.8, 23, 'In the number below, select the decimal place of');\r\nvar rgt =placeLeftText(brd1, 16.20, 23, function(){return arr[j]});\r\nrgt.setAttribute({\r\n color:function(){return cols[j]}\r\n});\r\n//brd1.create('image', ['/assets/oneR.svg', [9, 17], [0.75 , 0.75]], {visible: true, fixed: true, highlight:false,});\r\n//brd1.create('image', ['/assets/twoR.svg', [11.5, 17], [0.75 , 0.75]], {visible: true, fixed: true, highlight:false,});\r\n//brd1.create('image', ['/assets/threeR.svg', [14, 17], [0.75 , 0.75]], {visible: true, fixed: true, highlight:false,});\r\nvar polynomial1 = brd1.create('text', [8.2, 20, function(){return a + '.' }],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/500.)}},);\r\nvar polynomial2 = brd1.create('text', [9.5, 20, function(){return '' + b + '' }],{fixed: true, color:'red', anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/500.)}},);\r\nvar polynomial3 = brd1.create('text', [10.5, 20, function(){return ' '+ c }],{fixed: true, color:'blue', anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/500.)}},);\r\nvar polynomial4 = brd1.create('text', [11.5, 20, function(){return ' '+ d }],{fixed: true, color:'green', anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/500.)}},);\r\npolynomial1.on('down',function(){\r\n txt0.setAttribute({visible: true});\r\n dash0.setAttribute({visible: true});\r\n });\r\npolynomial2.on('down',function(){\r\n txt1.setAttribute({visible: true});\r\n dash1.setAttribute({visible: true});\r\n });\r\npolynomial3.on('down',function(){\r\n txt2.setAttribute({visible:true});\r\n dash2.setAttribute({visible: true});\r\n });\r\npolynomial4.on('down',function(){\r\n txt3.setAttribute({visible:true});\r\n dash3.setAttribute({visible: true});\r\n });\r\n//////////////////////////////////////////////////////\r\nvar dash1 = placeLine(brd1, [9.5, 16], [9.5, 19.4], 2, 'red');\r\nvar dash2 = placeLine(brd1, [10.5, 14], [10.5, 19.4], 2, 'blue');\r\nvar dash3 = placeLine(brd1, [11.5, 12], [11.5, 19.4], 2, 'green');\r\nvar dash0 = placeLine(brd1, [9.5, 16.6], [9.5, 19.], 2, 'brown');\r\ndash0.setAttribute({visible:false});\r\ndash1.setAttribute({visible:false});\r\ndash2.setAttribute({visible:false});\r\ndash3.setAttribute({visible:false});\r\nvar i=0;\r\nvar ans1 = brd1.create('text', [2, 16, 'Tenth'],{display:'internal',highlight:false,fixed: true, anchorX: 'left', anchorY: 'middle', color:'gray', cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\nvar ans2 = brd1.create('text', [2, 14, 'Hundredth'],{display:'internal',highlight:false,fixed: true, anchorX: 'left', anchorY: 'middle', color:'gray', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\nvar ans3 = brd1.create('text', [2, 12, 'Thousandth'],{display:'internal',highlight:false, fixed: true, anchorX: 'left', anchorY: 'middle', color:'gray', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\nans1.on('down', function(){\r\n ans1.setAttribute({color:'black'});\r\n ans2.setAttribute({color:'gray'});\r\n ans3.setAttribute({color:'gray'});\r\n chk[0].setAttribute({visible:true});\r\n chk[1].setAttribute({visible:false});\r\n chk[2].setAttribute({visible:false});\r\n i=1;\r\n})\r\nans2.on('down', function(){\r\n ans2.setAttribute({color:'black'});\r\n ans1.setAttribute({color:'gray'});\r\n ans3.setAttribute({color:'gray'});\r\n chk[0].setAttribute({visible:false});\r\n chk[1].setAttribute({visible:true});\r\n chk[2].setAttribute({visible:false});\r\n i=2;\r\n})\r\nans3.on('down', function(){\r\n ans3.setAttribute({color:'black'});\r\n ans2.setAttribute({color:'gray'});\r\n ans1.setAttribute({color:'gray'});\r\n chk[0].setAttribute({visible:false});\r\n chk[1].setAttribute({visible:false});\r\n chk[2].setAttribute({visible:true});\r\n i=3;\r\n})\r\n///////////////////////////////////////////////////////////v\r\nvar rght = placeImage(brd1, '/assets/check.svg', 9,8,2,0);\r\nrght.setAttribute({visible:false});\r\nvar chk =[];\r\nchk[0]=placeImage(brd1, '/assets/finger.svg', 0.8,15.5,1,0);\r\nchk[1]=placeImage(brd1, '/assets/finger.svg', 0.8,13.5,1,0);\r\nchk[2]=placeImage(brd1, '/assets/finger.svg', 0.8,11.5,1,0);\r\nchk[0].setAttribute({visible:false});\r\nchk[1].setAttribute({visible:false});\r\nchk[2].setAttribute({visible:false});\r\n//////////////////////////////////////////////////////////////\r\nvar wrng =[];\r\nwrng[0]= placeImage(brd1, '/assets/cross.svg', 9,8,2,0);\r\nwrng[1]= placeImage(brd1, '/assets/cross.svg', 0,13.5,1,0);\r\nwrng[2]= placeImage(brd1, '/assets/cross.svg', 0,11.5,1,0);\r\nwrng[0].setAttribute({visible:false});\r\nwrng[1].setAttribute({visible:false});\r\nwrng[2].setAttribute({visible:false});\r\n///////////////////////////////////////////////////////////\r\nvar txt0 = brd1.create('text', [9.3, 19., '1s Place'],{visible:false, display:'internal',highlight:false,fixed: true, anchorX: 'right', anchorY: 'middle', color:'brown', cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\nvar txt1 = brd1.create('text', [9.3, 16, 'Tenth'],{visible:false, display:'internal',highlight:false,fixed: true, anchorX: 'right', anchorY: 'middle', color:'red', cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\nvar txt2 = brd1.create('text', [10.3, 14, 'Hundredth'],{visible:false,display:'internal',highlight:false,fixed: true, anchorX: 'right', anchorY: 'middle', color:'blue', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\nvar txt3 = brd1.create('text', [11.3, 12, 'Thousandth'],{visible:false,display:'internal',highlight:false, fixed: true, anchorX: 'right', anchorY: 'middle', color:'green', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(28*brd1.canvasWidth/800.)}},);\r\n\r\nvar analytics = placeShuffle(brd1);\r\n//placeImage(brd1, '/assets/shuffle.svg', 8.75, 5, 1.5, 0);\r\nanalytics.setLabel('Tap to Shuffle')\r\nanalytics.label.setAttribute({visible:false, alignX:'middle', offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\nanalytics.on('over', function () {this.label.setAttribute({visible:true});});\r\nanalytics.on('out', function () {this.label.setAttribute({visible:false});});\r\n\r\nvar erase = placeTest(brd1);\r\nerase.setLabel('Tap to Test Your Answer')\r\nerase.label.setAttribute({visible:false, alignX:'middle', offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\nerase.on('over', function () {this.label.setAttribute({visible:true});});\r\nerase.on('out', function () {this.label.setAttribute({visible:false});});\r\n//Erase Function\r\nvar check = function(){\r\n if(i==j)\r\n {rght.setAttribute({visible:true});}\r\n else {\r\n wrng[0].setAttribute({visible:true});\r\n }\r\n}\r\nerase.on('down',function(){\r\n //txt0.setAttribute({visible: true});\r\n //dash0.setAttribute({visible: true});\r\n rght.setAttribute({visible:false});\r\n wrng[0].setAttribute({visible:false});\r\n check();\r\n txt1.setAttribute({visible: true});\r\n dash1.setAttribute({visible: true});\r\n txt2.setAttribute({visible: true});\r\n dash2.setAttribute({visible: true});\r\n txt3.setAttribute({visible: true});\r\n dash3.setAttribute({visible: true});\r\n});\r\n//Shuffle function\r\nanalytics.on('down',function(){\r\n rght.setAttribute({visible:false});\r\n chk[0].setAttribute({visible:false});\r\n chk[1].setAttribute({visible:false});\r\n chk[2].setAttribute({visible:false});\r\n wrng[0].setAttribute({visible:false});\r\n txt0.setAttribute({visible: false});\r\n dash0.setAttribute({visible: false});\r\n txt1.setAttribute({visible: false});\r\n ans1.setAttribute({color:'gray'});\r\n dash1.setAttribute({visible: false});\r\n txt2.setAttribute({visible: false});\r\n ans2.setAttribute({color:'gray'});\r\n dash2.setAttribute({visible: false});\r\n txt3.setAttribute({visible: false});\r\n dash3.setAttribute({visible: false});\r\n ans3.setAttribute({color:'gray'});\r\n a = Math.round(Math.random()*8)+1;\r\n b = Math.round(Math.random()*3)+1;\r\n c = Math.round(Math.random()*6)+1;\r\n d = Math.round(Math.random()*7)+1;\r\n j = Math.round(Math.random()*2)+1;\r\n arr=[a,b,c,d];\r\n //coefficient1.Value() = 'ppp'; // I want to reset the input values\r\n});\r\nbrd1.unsuspendUpdate();\r\n}\r\n}\r\nexport default Boxes;\r\n","\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=4f6dcba2&\"\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=4f6dcba2&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"],"sourceRoot":""}