{"version":3,"sources":["webpack:///./src/components/mathematics/Math6thGrade/quizPerimeter/Lesson.vue","webpack:///./src/components/mathematics/Math6thGrade/quizPerimeter/Boxes.js","webpack:///src/components/mathematics/Math6thGrade/quizPerimeter/Lesson.vue","webpack:///./src/components/mathematics/Math6thGrade/quizPerimeter/Lesson.vue?8544","webpack:///./src/components/mathematics/Math6thGrade/quizPerimeter/Lesson.vue?00b2","webpack:///./src/components/mathematics/Math6thGrade/quizPerimeter/Lesson.vue?cd94"],"names":["ref","attrs","staticClass","_v","_vm","_self","staticRenderFns","Boxes","box1","JXG","Options","board","minimizeReflow","point","showInfoBox","highlight","image","line","text","fixed","curve","cssDefaultStyle","graph","createSpace","makeResponsive","suspendUpdate","options","layer","boundingBox","attr","boundingbox","positionX","positionY","height","yourScore","yourMissed","yourWrong","yourTotal","scoreCard","writeHTMLText","missedCard","wrongCard","setAttribute","visible","index_selected_answer","XList","YList","answers","index_right_answer","i","Pt1","drawPoint","Pt2","Pt3","Pt4","shape","placeSq","X","Y","fillOpacity","console","log","side1","placeTapeHori","point1","point2","strokeWidth","strokeColor","label","color","side3","side2","placeTapeVert","side4","question","placeQuestion","comment","placeComment","note","alert","bck","placeWhite","hide","placeBCircles","placeCircles","check","placeChecks","cross","placeCross","exclaim","placeExclaim","pointers","placeFingers","test","placeTest","hoverMe","next","placePlay","redo","placeStartOver","k","vis","ansList","ansArray","placeAnswers","_loop","ij","on","forEach","item","valueOf","hint","length","setTimeout","opacity","edliy","placeLogo","toggle","toggleTF","unsuspendUpdate","name","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","meta","content","component"],"mappings":"qJAA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAAiX,iBAAU,IAAK,SAA4LA,GAAI,4WAAU,IAAK,WAAiUA,GAAI,uLAAK,IAAK,WAA4NC,GAAK,GAAC,yT,IAAC,MAAmB,oMAAE,MAAK,C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AAQ,SAASC,GAAMA,EAAKnE,aAAa,CAACC,SAAS0D,OAC3DvB,EAAKpC,aAAa,CAACC,SAAQ,OAM7BrB,EAAMiG,oBAIShH,ICtRA,GACfiH,KAAA,YACAC,QAAA,eAAAC,EAAA,KACA,KAAAC,OAAAC,OAAA,yBACA,IAAAC,EAAA,2BACA,KAAAF,OAAAC,OAAA,yBAAAC,GACA,KAAAF,OAAAC,OAAA,wBAAAC,GACA,IAAAC,EAAA,CACA,CAAAD,MAAA,iBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,WACA,CAAAJ,MAAA,cAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,WACA,CAAAJ,MAAA,iBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,YACA,CAAAJ,MAAA,aAAAE,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,SAEA,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,MACAjI,EAAAC,QAEAkI,SAAA,WACA,OAAAb,MAAA,YAEAc,KAAA,EAAAnB,KAAA,WAAAoB,QAAA,uCACA,CAAApB,KAAA,cAAAoB,QAAA,2DClF6X,I,wBCQzXC,EAAY,eACd,EACA,EACAvI,GACA,EACA,KACA,KACA,MAIa,aAAAuI,E,2CCnBf,W","file":"js/chunk-308250f9.5f5b537a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"intro\"},[_vm._v(\"\\n What is Perimeter of a Geometric Shape?\\n \")]),_c('p',[_vm._v(\"\\n Perimeter of a geometric shape is the length of the boundary curve.\\n Imagine you have to walk along the border of a rectangle or a square until you get back to the same point.\\n Then the distance travelled is equal to the perimeter of the rectangle or the square.\\n \")]),_c('h3',{ref:\"formula\"},[_vm._v(\"\\n Perimeter of a Rectangle\\n \")]),_c('p',[_vm._v(\"\\n Perimeter \\\\(R\\\\) of a rectangle with length \\\\(L\\\\) and width \\\\(W\\\\) is given as:\\n $$ R = 2(L+W)$$\\n \")]),_c('h3',{ref:\"formula\"},[_vm._v(\"\\n Perimeter of a Square\\n \")]),_c('p',[_vm._v(\"\\n In a square, the length is the same as the width, i.e., \\\\(l =w\\\\).\\n Thus, substituting \\\\(L =W\\\\) in the expression for the perimeter of a rectangle, we can obtain the expression for the perimeter of a square:\\n $$ S = 2(L+L) = 4L$$\\n \")]),_c('h3',{ref:\"pg\"},[_vm._v(\"\\n MagicGraph | Perimeter of Geometric Shapes\\n \")]),_c('br'),_c('h5',[_vm._v(\" Getting Started \")]),_vm._m(0),_c('h5',[_vm._v(\" Icons on the MagicGraph \")]),_vm._m(1),_c('br'),_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 In this MagicGraph, you will learn about how to find the perimeter of a rectangular shape.\\n Shown in the MagicGraph is a rectangular shape with its sides shown in grey.\\n \"),_c('br'),_c('br'),_vm._v(\"\\n Simply tap on a side to pick it. Once picked, the color of the side turns bright blue, and its length is added to the peripheral length.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n You can tap on \"),_c('i',{staticClass:\"shuffler ma-1\"}),_vm._v(\" icon to shuffle and generate a new shape. You can tap on the\\n \"),_c('i',{staticClass:\"eraser ma-1\"}),_vm._v(\" icon to erase and start over.\\n \")])\n}]\n\nexport { render, staticRenderFns }","import{\r\n makeResponsive,\r\n placeTitle,\r\n createSpace,\r\n placeQuestion,\r\n placeComment,\r\n createAxes,\r\n writeHTMLText,\r\n drawPoint,\r\n setSize,\r\n labelIt,\r\n placeMarker,\r\n drawCircle,\r\n placeImage,\r\n placeShuffle,\r\n placeTest,\r\n drawArrow,\r\n drawAngle,\r\n drawSegment,\r\n placeBWhite,\r\n placeWhite,\r\n placeBCircles,\r\n placeCircles,\r\n placeChecks,\r\n placeCross,\r\n placeExclaim,\r\n hoverMe,\r\n placeLogo,\r\n drawMarker,\r\n toggle,\r\n toggleTF,\r\n placeFingers,\r\n placeAnswers,\r\n drawTriangle,\r\n placeRedo,\r\n placeStartOver,\r\n drawDash,\r\n placeTapeVert,\r\n placeTapeHori,\r\n placeMiddleText,\r\n placePlay,\r\n placeSq\r\n} from '../Utils.js'\r\nconst Boxes = {\r\n box1: function () {\r\n///////////////////////////////////GLOBAL SETTINGS//////////////////////\r\n\tJXG.Options.board.minimizeReflow = 'none';\r\n JXG.Options.point.showInfoBox=false;\r\n JXG.Options.point.highlight=false;\r\n JXG.Options.image.highlight=false;\r\n JXG.Options.line.highlight=false;\r\n JXG.Options.text.highlight=false;\r\n JXG.Options.text.fixed=true;\r\n JXG.Options.curve.highlight=false;\r\n JXG.Options.text.cssDefaultStyle='fontFamily:Oswald;'\r\n//////////////////////////////////LOCAL SETTINGS////////////////////////////////\r\nvar graph =createSpace(-6,10,-6,10);\r\nmakeResponsive(graph);\r\ngraph.suspendUpdate();\r\ngraph.options.layer['image']=20;\r\ngraph.options.layer['text']=20;\r\ngraph.options.layer['html']=2;\r\ngraph.options.layer['line']=2;\r\ngraph.options.layer['point']=10;\r\ngraph.options.layer['circle']=1;\r\ngraph.options.image.highlight=false;\r\n/*********************GRAPH DIMENSIONS*******************/\r\nconst boundingBox = graph.attr.boundingbox;\r\nconst positionX = (boundingBox[2]+boundingBox[0])/2;\r\nconst positionY = (boundingBox[1]+boundingBox[3])/2;\r\nconst height = (boundingBox[1]-boundingBox[3])/2;\r\n/**********************PUT AXES **********************/\r\n//var ax = createAxes(graph);\r\n/***************** PUT AXES TITLE *******************/\r\n//ax[0].setAttribute({name:'X'});\r\n//ax[1].setAttribute({name:'Y'});\r\n/***********************SCORING *******************/\r\nvar yourScore =0; var yourMissed =0; var yourWrong =0; var yourTotal=0;\r\nvar scoreCard = writeHTMLText(graph, positionX, positionY+1, function(){return 'Your Score ( ✓ ): '+ yourScore+'/5'});\r\nvar missedCard = writeHTMLText(graph, positionX, positionY, function(){return 'Missed Questions ( ! ): '+ yourMissed+'/5'});\r\nvar wrongCard = writeHTMLText(graph, positionX, positionY-1, function(){return 'Wrong Answers ( x ): '+ yourWrong+'/5'});\r\nscoreCard.setAttribute({visible:false});\r\nmissedCard.setAttribute({visible:false});\r\nwrongCard.setAttribute({visible:false});\r\n/*************************ANSWERS*********************/\r\nvar index_selected_answer = -1;\r\nconst XList = [3, 3, 5, 4, 2];\r\nconst YList = [3, 5, 4, 2, 3];\r\nconst ZList = [6, 5, 4, 3, 6];\r\n/****************************************************/\r\nconst answers = [['40', '10', '36', '30'], ['28', '18', '9', '21'],['42', '6', '24', '30'],['24', '10', '6', '12'],\r\n ['6', '22', '18', '12']];\r\nconst index_right_answer = [2,0,3,0,1];\r\nvar i=0;\r\n/********************************************************************************************/\r\nvar Pt1 = drawPoint(graph, -3, -3);\r\nPt1.setAttribute({visible:false});\r\n//\r\nvar Pt2 = drawPoint(graph, ()=>XList[i], -3);\r\nPt2.setAttribute({visible:false});\r\n//\r\nvar Pt3 = drawPoint(graph, -3, ()=>YList[i]);\r\nPt3.setAttribute({visible:false});\r\n//\r\nvar Pt4 = drawPoint(graph, ()=>XList[i], ()=>YList[i]);\r\nPt4.setAttribute({visible:false});\r\n////////\r\nvar shape =placeSq(graph, [()=>Pt1.X(), ()=>Pt1.Y()],[()=>Pt4.X(), ()=>Pt4.Y()],'green');\r\nshape.setAttribute({fillOpacity:0.5});\r\nconsole.log('dsd');\r\nvar side1 = placeTapeHori(graph, Pt1, Pt2,'');\r\nside1.setAttribute({highlight:true, point1:{visible:false},point2:{visible:false}, strokeWidth:4, strokeColor:'grey', label:{visible:false, color:'blue'}});\r\n////////////////////////////////////////\r\nvar side3 = placeTapeHori(graph, Pt3, Pt4,'');\r\nside3.setAttribute({highlight:true, point1:{visible:false},point2:{visible:false}, strokeWidth:4, strokeColor:'grey', label:{visible:false, color:'blue'}});\r\n//////////////////////////////////////////////////////\r\nvar side2 = placeTapeVert(graph, Pt1, Pt3,'');\r\nside2.setAttribute({highlight:true, fillOpacity:0.4, point1:{visible:false},point2:{visible:false}, strokeWidth:4, strokeColor:'grey', label:{visible:false, color:'blue'}});\r\n/////////////////////////////////////////////////////////////////////////////////////\r\nvar side4 = placeTapeVert(graph, Pt2, Pt4,'');\r\nside4.setAttribute({highlight:true, fillOpacity:0.4, point1:{visible:false},point2:{visible:false}, strokeWidth:4, strokeColor:'grey', label:{visible:false, color:'blue'}});\r\n\r\n/***********************************************************************************/\r\n/*************************************PRINT ANSWER ****************************************/\r\n//print(graph, ()=> (0.5*(180-2*alpha.Value()*180/Math.PI)).toFixed(1))\r\n/****************PUT TITLE ****************************/\r\nvar question = placeQuestion(graph, 'The perimeter of the shown shape is —');\r\nvar comment = placeComment(graph, '');\r\nvar note = writeHTMLText(graph, positionX, positionY+height/2., 'You did not make a selection.');\r\nnote.setAttribute({visible:false, color:'red'});\r\nfunction alert(){\r\n note.setAttribute({visible:false});\r\n}\r\n//print(graph, ()=>(alpha.Value()*180/Math.PI).toFixed(1));\r\n///////////////////////////GRAPHICS MODULES//////////////////\r\nvar bck =placeWhite(graph);\r\nvar show =placeBCircles(graph);\r\nvar hide=placeCircles(graph);\r\nvar check = placeChecks(graph);\r\nvar cross = placeCross(graph);\r\nvar exclaim = placeExclaim(graph);\r\nvar pointers = placeFingers(graph);\r\nhide[0].setAttribute({visible:false});\r\n/***************************BUTTON MODULES******************/\r\nvar test =placeTest(graph,'left');\r\nhoverMe(graph, test, 'Check Your Answer', -20, 0);\r\n/**/\r\nvar next = placePlay(graph);\r\nhoverMe(graph, next, 'Next Question', 0, 0);\r\n/**/\r\nvar redo = placeStartOver(graph);\r\nredo.setAttribute({visible:false});\r\nhoverMe(graph, redo, 'Start Over', 0, 0);\r\n/***************************************/\r\nvar i=0; var k=0; var vis=false;\r\n///////////////////////////////////////////////////////////////\r\nvar ansList = ['40', '10', '36', '30'];\r\nvar ansArray = placeAnswers(graph, ansList);\r\nfor(let ij=0; ij<=3; ij++)\r\n{\r\n ansArray[ij].on('down', function(){\r\n ansArray.forEach(function(item){item.setAttribute({color:'grey'})});\r\n pointers.forEach(function(item){item.setAttribute({visible:false})});\r\n ansArray[ij].setAttribute({color:'black'});\r\n pointers[ij].setAttribute({visible:true});\r\n index_selected_answer = ij.valueOf();})\r\n}\r\n////////////////////////////////////////////////////////////////////////\r\nvar hint =writeHTMLText(graph, positionX, positionY, '
  1. Tap on to go to next step.

  2. Tap on to check your answer.

  3. Tap on button to start over.
');\r\nhint.setAttribute({visible:false, color:'white'});\r\n/**************************TEST BUTTON ***********************/\r\ntest.on('down', function()\r\n{\r\n note.setAttribute({visible:false});\r\n if(i<=XList.length-1)\r\n {\r\n if(index_selected_answer == index_right_answer[i] && yourTotal\r\n
\r\n

\n What is Perimeter of a Geometric Shape?\n

\r\n

\n Perimeter of a geometric shape is the length of the boundary curve.\r\n Imagine you have to walk along the border of a rectangle or a square until you get back to the same point.\r\n Then the distance travelled is equal to the perimeter of the rectangle or the square.\n

\r\n

\r\n Perimeter of a Rectangle\r\n

\r\n

\n Perimeter \\(R\\) of a rectangle with length \\(L\\) and width \\(W\\) is given as:\r\n $$ R = 2(L+W)$$\n

\r\n

\r\n Perimeter of a Square\r\n

\r\n

\n In a square, the length is the same as the width, i.e., \\(l =w\\).\r\n Thus, substituting \\(L =W\\) in the expression for the perimeter of a rectangle, we can obtain the expression for the perimeter of a square:\r\n $$ S = 2(L+L) = 4L$$\n

\r\n

\n MagicGraph | Perimeter of Geometric Shapes\n

\r\n
\r\n
Getting Started
\r\n

\n In this MagicGraph, you will learn about how to find the perimeter of a rectangular shape.\r\n Shown in the MagicGraph is a rectangular shape with its sides shown in grey.\r\n

\r\n Simply tap on a side to pick it. Once picked, the color of the side turns bright blue, and its length is added to the peripheral length.\r\n

\r\n
Icons on the MagicGraph
\r\n

\r\n You can tap on icon to shuffle and generate a new shape. You can tap on the\r\n icon to erase and start over.\r\n

\r\n
\r\n \r\n \r\n
\r\n \r\n \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=3f76304e&\"\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=3f76304e&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=3f76304e&prod&lang=scss&\""],"sourceRoot":""}