{"version":3,"sources":["webpack:///./src/components/mathematics/Math9thGrade/findCoordinates/Lesson.vue","webpack:///./src/components/mathematics/Math9thGrade/findCoordinates/Boxes.js","webpack:///src/components/mathematics/Math9thGrade/findCoordinates/Lesson.vue","webpack:///./src/components/mathematics/Math9thGrade/findCoordinates/Lesson.vue?4987","webpack:///./src/components/mathematics/Math9thGrade/findCoordinates/Lesson.vue?9115"],"names":["staticClass","class","_defineProperty","_vm","$vuetify","ref","staticStyle","_m","attrs","_c","_v","staticRenderFns","_self","render","Boxes","box1","JXG","Options","board","minimizeReflow","brd1","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","visible","grid","showCopyright","showNavigation","pan","enabled","zoom","point","showInfoBox","highlight","image","text","fixed","curve","cssDefaultStyle","options","layer","makeResponsive","placeTitle","placeLogo","analytics","placeShuffle","setLabel","label","setAttribute","alignX","offset","CssStyle","fontSize","on","this","erase","placeTest","placeBoldLeftText","x","placeInput","y","xp","yp","pts","create","valueOf","name","size","canvasHeight","fillColor","strokeColor","strokeWidth","snapToGrid","shadow","placeLabel","ques1","placeImage","rght1","wrng1","ques2","rght2","wrng2","i","side3","X","Y","dash","placeTapeHori","point1","point2","color","side2","placeTapeVert","rotate","xAxis","placeText","toFixed","yAxis","Value","clearInputFields","Math","round","random","withLabel","position","cssStyle","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"6KAAuFA,a,IAAgCC,EAAKC,K,EAAE,W,OAAiD,QAAa,GAAEC,MAAIC,CAA0B,gCAAoD,MAAK,eAAK,CAACC,gBAAI,8BAAOF,cAAO,8BAA+CG,cAAY,kC,CAAC,QAAmB,UAAG,CAACH,EAAII,GAAG,qCAAiB,SAACP,YAAY,CAAOQ,aAAM,UAAoB,kBAAE,YAAY,OAAEA,MAAM,CAAC,iBAAM,K,CAA6C,U,MAAoB,CAAY,4BAAI,aAAY,QAACH,YAAI,QA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ACA,CAAAD,MAAA,+BAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,SACA,CAAAJ,MAAA,yBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,sCAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,gCAAAE,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,SAEA,KAAAN,OAAAC,OAAA,2BAAAE,GACA,IAAAI,GAAA,EACA,KAAAP,OAAAC,OAAA,4BAAAM,GACA,KAAAP,OAAAC,OAAA,6BACA,IAAAO,GAAA,EACA,KAAAR,OAAAC,OAAA,8BAAAO,GACA,IAAAC,GAAA,EACA,KAAAT,OAAAC,OAAA,2BAAAQ,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACA7G,EAAAC,QAEA8G,SAAA,WACA,OAAAZ,MAAA,yBACAa,cAAA,2BACAC,KAAA,EAAA1D,KAAA,WAAA2D,QAAA,uCACA,CAAA3D,KAAA,cAAA2D,QAAA,sCClG6X,I,YCOzXC,EAAY,eACd,EACA,EACAtH,GACA,EACA,KACA,KACA,MAIa,aAAAsH,E","file":"js/chunk-2d0c8b8c.4980b91c.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"font-weight-light\",class:{'pa-5 headline': _vm.$vuetify.breakpoint.lgAndUp,'pa-2 body-2': _vm.$vuetify.breakpoint.mdOnly, 'pa-2 body-2': _vm.$vuetify.breakpoint.smAndDown}},[_c('h3',{ref:\"ia\"},[_vm._v(\"\\n Coordinate System\\n \")]),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_vm._m(0),_c('v-layout',{staticClass:\"my-3\",attrs:{\"justify-center\":\"\"}},[_c('v-img',{attrs:{\"src\":\"/assets/billiards.svg\",\"max-height\":\"450px\",\"max-width\":\"450px\",\"contain\":\"\"}})],1),_c('h3',{ref:\"playgraph\"},[_vm._v(\"\\n Learn Interactively | Coordinates of a Point on the Cartesian Plane\\n \")]),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('h5',[_vm._v(\" Session Objectives \")]),_c('p',{staticClass:\"big mt-1\"},[_vm._v(\"\\n Through this visually interactive illustration, students will be able to\\n assess their understanding of the Cartesian coordinates of a point. \\n The MagicGraph shows a point named P on the Cartesian plane. Your goal is to find the the two coordinates of the point on this plane.\\n \")]),_c('h5',[_vm._v(\" Getting Started \")]),_vm._m(1)],1),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('v-responsive',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('h5',[_vm._v(\" Navigation Tip: Tap on \"),_c('i',{staticClass:\"shuffler ma-1\"}),_vm._v(\" icon to shuffle. \"),_c('br'),_vm._v(\" Tap on \"),_c('i',{staticClass:\"tester ma-1\"}),_vm._v(\" icon to check if the provided answer is correct or not.\")])])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"big mt-1\"},[_vm._v(\"\\n The goal of a coordinate system is a means of specifying the position of an object.\\n For example, imagine a billiards table, and consider a ball on this table.\\n Now, if someone asks you to specify the location of the ball, how would you do this?\\n You could say — the ball is located in the lower half of the table.\\n Or, it is near the left edge of the board.\\n Or, the ball is located at the lower left corner of the table.\\n None of these statements describe the position of the ball precisely. \"),_c('br'),_c('br'),_vm._v(\"\\n Now, if you say — the ball is 18 inches away from the left edge, it gives\\n a better idea of the location of the ball but\\n still does not fix the position of the ball. However, if you say the ball\\n is located at 18 inches from the left edge and 12 inches from the bottom edge, it completely\\n specifies the location of the ball on the table. You may have noticed that the ball on the table can be located\\n by specifying its distances from two perpendicular lines — the left edge of the table, and the bottom edge of the paper.\\n This notion forms the basis of coordinate geometry.\\n \"),_c('br'),_c('br'),_vm._v(\"\\n The position of any object lying in a plane\\n can be represented by its distance from two perpendicular axes (lines). These axes are called coordinate axes, and the distances from these two axes used in specifying the location of\\n the object are called its coordinates.\\n \"),_c('br')])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"big mt-1\"},[_vm._v(\"\\n Enter your answers for the x and y coordinates in the blue boxes labeled as \"),_c('b',[_vm._v(\"x\")]),_vm._v(\" and \"),_c('b',[_vm._v(\"y\")]),_vm._v(\", respectively.\\n Once done, simply tap on the \"),_c('i',{staticClass:\"tester ma-1\"}),_vm._v(\" icon to check your answer.\\n To practice with a new point position, simply tap on the \"),_c('i',{staticClass:\"shuffler ma-1\"}),_vm._v(\" icon to shuffle the point position.\\n \")])\n}]\n\nexport { render, staticRenderFns }","// Import the edliy_utils\r\nimport {\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 placeMiddleText,\r\n placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeRightText,\r\n placeSliderSwitch,\r\n placeCircle,\r\n placeLogo,\r\n placeShuffle,\r\n placeTest,\r\n placeUndo,\r\n placeRedo,\r\n placeBoldText,\r\n placeBoldLeftText,\r\n placeEraseLeft,\r\n placeStat,\r\n placeLabel,\r\n placeTapeHori,\r\n placeTapeVert,\r\n toggle,\r\n placeText\r\n} from '../../../../common/edliy_utils-geometric';\r\nconst Boxes = {\r\n box1: function () {\r\n JXG.Options.board.minimizeReflow = 'none';\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-10, 10, 10, -10], keepaspectratio: true, axis:false, ticks:{visible:false},\r\n grid:true, showCopyright:false, showNavigation:false,\r\n pan:{enabled:false}, zoom:{enabled:false}});\r\n///////////////////////////////OPTIONS/////////////////////////////\r\nJXG.Options.board.minimizeReflow = 'none';\r\nJXG.Options.point.showInfoBox=false;\r\nJXG.Options.point.highlight=false;\r\nJXG.Options.image.highlight=false;\r\nJXG.Options.text.highlight=false;\r\nJXG.Options.text.fixed=true;\r\nJXG.Options.curve.highlight=false;\r\nJXG.Options.text.cssDefaultStyle='fontFamily:Oswald;'\r\n////////////////////////////////LAYERING////////////////////////////////\r\nbrd1.options.layer['image'] =12;\r\nbrd1.options.layer['circle'] =13;\r\nbrd1.options.layer['chart'] =14;\r\nbrd1.options.layer['sector'] =15;\r\nbrd1.options.layer['line'] =15;\r\nbrd1.options.layer['point'] =20;\r\n//////////////////////////////////////////////////////////////\r\nmakeResponsive(brd1);\r\nplaceTitle(brd1, 'Coordinates of a Point', 'Enter the X & Y Coordinates of Point P');\r\nplaceLogo(brd1);\r\n///////////////////////////////////BUTTONS//////////////////////\r\nvar analytics =placeShuffle(brd1);\r\nanalytics.setLabel('Tap to shuffle point position')\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 check 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///////////////////////////////////////////////////////////////////////////\r\nvar xt =placeBoldLeftText(brd1, -9, 6.5, 'x =');\r\n//y.setAttribute({color:'red'});\r\nvar x =placeInput(brd1, -8, 6.5, \"\");\r\n//m.setAttribute({cssStyle:'color:red'});\r\nvar yt =placeBoldLeftText(brd1, -9, 4.5, ' y = ');\r\n// x.setAttribute({color:'red'});\r\nvar y =placeInput(brd1, -8, 4.5, \"\");\r\nvar xp =3;\r\nvar yp =4;\r\n///////////////////////////////////////////////////////////////////////////////////////\r\nvar pts = brd1.create('point', [()=>xp.valueOf(), ()=>yp.valueOf()], {name:'', highlight:false, size:function(){return 4*brd1.canvasHeight/800}, fillColor:'orange', strokeColor:'black', strokeWidth:1, visible:true, snapToGrid:true, shadow:true});\r\nplaceLabel(brd1, pts, 'P(x, y)', 15, 15);\r\nvar ques1 =placeImage(brd1, '/assets/query.svg', -5.8, 6.2, 0.6, 0);\r\nvar rght1 = placeImage(brd1, '/assets/check.svg', -5.8, 6.2, 0.6, 0);\r\nrght1.setAttribute({visible:false});\r\nvar wrng1 = placeImage(brd1, '/assets/cross.svg', -5.8, 6.2, 0.6, 0);\r\nwrng1.setAttribute({visible:false});\r\n//////////////////////////////////////////////////////////////////\r\nvar ques2 =placeImage(brd1, '/assets/query.svg', -5.8, 4.2, 0.6, 0);\r\nvar rght2 = placeImage(brd1, '/assets/check.svg', -5.8, 4.2, 0.6, 0);\r\nrght2.setAttribute({visible:false});\r\nvar wrng2 = placeImage(brd1, '/assets/cross.svg', -5.8, 4.2, 0.6, 0);\r\nwrng2.setAttribute({visible:false});\r\n//////////////////////////////////////////////////////\r\nvar i=1;\r\nvar xcord=brd1.create('segment', [[()=>pts.X(), ()=>pts.Y()], [0, ()=>pts.Y()]],{visible:()=>i==1, dash:1, strokeWidth:2, strokeColor:'black'});\r\nvar ycord=brd1.create('segment', [[()=>pts.X(), ()=>pts.Y()], [()=>pts.X(), 0]],{visible:()=>i==1, dash:1, strokeWidth:2, strokeColor:'black'});\r\n////////////////\r\nvar side3 = placeTapeHori(brd1, [0.0,0.0],[()=>pts.X(), 0.0],'');\r\nside3.setAttribute({visible:()=>i==1, point1:{visible:false},point2:{visible:false}, strokeWidth:1, strokeColor:'grey', label:{visible:()=>i==2, color:'blue'}});\r\nvar side2 = placeTapeVert(brd1, [0.0, 0.0], [0.0, ()=>pts.Y()],'');\r\nside2.setAttribute({visible:()=>i==1, point1:{visible:false},point2:{visible:false}, strokeWidth:1, strokeColor:'grey', label:{rotate:90, visible:()=>i==2, color:'blue'}});\r\n///////////////////////////////////////////////////////\r\nvar xAxis =placeText(brd1, ()=>pts.X()/2, ()=>pts.Y()+0.5, 16, ()=>(pts.X()).toFixed(2));\r\nxAxis.setAttribute({color:'red', visible:()=>i==2});\r\nvar yAxis =placeText(brd1, ()=>pts.X()+0.5, ()=>pts.Y()/2, 16, ()=>(pts.Y()).toFixed(2));\r\nyAxis.setAttribute({rotate:90, color:'red', visible:()=>i==2});\r\n////////////////////////////////////////////////\r\nerase.on('down', function(){\r\n if(1.*x.Value()==pts.X())\r\n {\r\n ques1.setAttribute({visible:false});\r\n rght1.setAttribute({visible:true});\r\n wrng1.setAttribute({visible:false});\r\n }\r\n else\r\n {\r\n ques1.setAttribute({visible:false});\r\n rght1.setAttribute({visible:false});\r\n wrng1.setAttribute({visible:true});\r\n }\r\n if(1.*y.Value()==pts.Y())\r\n {\r\n ques2.setAttribute({visible:false});\r\n rght2.setAttribute({visible:true});\r\n wrng2.setAttribute({visible:false});\r\n }\r\n else\r\n {\r\n ques2.setAttribute({visible:false});\r\n rght2.setAttribute({visible:false});\r\n wrng2.setAttribute({visible:true});\r\n }\r\n});\r\nanalytics.on('down', function(){i=1;\r\n clearInputFields(brd1);\r\n xp= 1+ Math.round(10*(Math.random()-0.5));\r\n yp= Math.round(12*(Math.random()-0.5));\r\n ques1.setAttribute({visible:true});\r\n rght1.setAttribute({visible:false});\r\n wrng1.setAttribute({visible:false});\r\n ques2.setAttribute({visible:true});\r\n rght2.setAttribute({visible:false});\r\n wrng2.setAttribute({visible:false});\r\n });\r\nbrd1.create('axis', [[0,0],[0,4]],{highlight:false, strokeColor:'grey', strokeWidth:2, name:'', withLabel:true, label:{position:'urt',fontSize:function(){return 24*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'}});\r\nbrd1.create('axis', [[0,0],[4,0]],{highlight:false, strokeColor:'grey', strokeWidth:2, name:'', withLabel:true, label:{position:'lrt', fontSize:function(){return 24*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'}});\r\n },\r\n}\r\nexport default Boxes;\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=1e98f933&\"\nimport script from \"./Lesson.vue?vue&type=script&lang=js&\"\nexport * from \"./Lesson.vue?vue&type=script&lang=js&\"\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":""}