{"version":3,"sources":["webpack:///./src/components/mathematics/Math11thGrade/line2/Lesson.vue","webpack:///./src/components/mathematics/Math11thGrade/line2/Boxes.js","webpack:///src/components/mathematics/Math11thGrade/line2/Lesson.vue","webpack:///./src/components/mathematics/Math11thGrade/line2/Lesson.vue?6d9d","webpack:///./src/components/mathematics/Math11thGrade/line2/Lesson.vue?4b0b"],"names":["ref","attrs","staticClass","_v","_vm","_self","staticRenderFns","Boxes","box1","JXG","Options","board","minimizeReflow","point","showInfoBox","highlight","text","fixed","curve","circle","cssDefaultStyle","brd1","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","pan","enabled","zoom","showCopyright","showNavigation","makeResponsive","options","layer","placeTitle","placeLogo","analytics","placeEraseLeft","setLabel","label","setAttribute","visible","alignX","offset","CssStyle","fontSize","on","this","erase","placeStat","placeBoldLeftText","m","placeInput","c","Horz","placeSeg","Value","placeDash","i","Vert","Text","clearInputFields","arr","placePoint","color","face","lb","placeBoldRightText","arrow","placeImage","toggle","console","log","slope","create","name","created","_this","$store","commit","newTopics","title","img","action","goto","newMath","newshowhome","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","meta","vmid","content","component"],"mappings":"mJAA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAAyE,iBAAM,IAAK,SAAgbA,GAAI,oEAAS,IAAK,OAAsNC,GAAK,GAAC,ua,IAAC,UAAmB,+LAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CAC17B,mBACyC,IAAC,IAAqB,EAAmBC,YAClF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAIC,EAAG,IAACC,CAAK,EAAG,isBAAC,WAC1C,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAID,EAAG,IAACC,CAAK,EAAG,uWAAC,W,IAAmGH,OAA2B,EAAI,EAAI,S,OAA8EA,MAAY,iFAAe,YAAQ,gBAChS,iFAEF,YAAiBI,gB,+GC4CXC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AS,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACAvF,EAAAC,QAEAwF,SAAA,CACAZ,MAAA,QAEAa,KAAA,CACA,CAAAC,KAAA,cAAApB,KAAA,cAAAqB,QAAA,uCClF6X,I,YCOzXC,EAAY,eACd,EACA,EACA9F,GACA,EACA,KACA,KACA,MAIa,aAAA8F,E","file":"js/chunk-2d210a97.7f94badd.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 a Straight Line ?\\n \")]),_c('br'),_vm._m(0),_c('h3',{ref:\"sol\"},[_vm._v(\"\\n Equation of a Straight Line: Slope & Intercept Form\\n \")]),_c('br'),_c('p',[_vm._v(\"\\n Let's consider a straight line that has a slope \\\\(M\\\\) and intercepts the y-axis at point \\\\(P=(0, C) \\\\).\\n Thus, substituting \\\\(x_0 = 0\\\\), \\\\(y_0 = C\\\\), and \\\\(S = M\\\\) we obtain the equation of the line as\\n $$ \\\\frac{y-C}{x} = M $$\\n Upon a little rearrangement we can write\\n $$ y = Mx + C$$\\n \")]),_c('h3',{ref:\"graph2\"},[_vm._v(\"\\n MagicGraph | Slope & Intercept of a Straight Line\\n \")]),_c('br'),_c('h5',[_vm._v(\"Getting Started\")]),_vm._m(1),_c('h5',[_vm._v(\"Icons on the MagicGraph\")]),_vm._m(2),_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 Straight line is one of the simplest shapes in geometry. \"),_c('br'),_c('br'),_vm._v(\" One of the features of a straight line is that\\n \"),_c('i',[_vm._v(\"all the points lying a straight line are aligned in the same direction \")]),_vm._v(\".\\n Stated in other words, a straight line has a constant slope.\"),_c('br'),_c('br'),_vm._v(\"\\n Imagine two points \\\\(P_1 = (x, y)\\\\) and \\\\(P_2 = (x_0, y_0) \\\\) that lie on a straight line. Then a constant slope implies\\n $$ \\\\frac{y -y_0}{x - x_0} = \\\\text{a constant (say S)}$$\\n This tells us that if we have the slope of a straight line and know a point in space that the line passes through, then we can obtain the equation of that line.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n This MagicGraph offers a visual + interactive illustration of the slope-intercept form of the equation of a straight line.\\n You will learn to draw a straight line based on its slope and y-intercept. \"),_c('br'),_c('br'),_vm._v(\"\\n Enter the values of M and C in the equation field to draw the straight line represented by this equation.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n This MagicGraph contains the following two icons: \"),_c('br'),_c('i',{staticClass:\"eraser ma-1\"}),_vm._v(\" Tap on this button to erase all entries and start over. \"),_c('br'),_c('i',{staticClass:\"stater ma-1\"}),_vm._v(\" Tap on this button to visualize the data and parameters of the illustration. \"),_c('br')])\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 placeErase,\r\n placeShuffle,\r\n placeTest,\r\n placeSeg,\r\n setConfig,\r\n placeStat,\r\n placeTri,\r\n shuffle,\r\n placeEraseLeft,\r\n placeTapeHori,\r\n placeTapeVert,\r\n placeSq,\r\n placeBoldText,\r\n placeRedo,\r\n placeUndo,\r\n placeBoldLeftText,\r\n toggle,\r\n placeBoldRightText,\r\n HiddenPt\r\n} from '../../../../common/edliy_utils-geometric';\r\n\r\nconst Boxes = {\r\n box1: function () {\r\n JXG.Options.board.minimizeReflow = 'none';\r\n JXG.Options.point.showInfoBox=false;\r\n JXG.Options.point.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.circle.highlight=false;\r\n JXG.Options.text.cssDefaultStyle='fontFamily:Oswald;'\r\n\t\tvar brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-11, 16, 11, -6],keepaspectratio: true, axis:true, ticks:false, grid:true, pan:{enabled:false}, zoom:{enabled:false}, showCopyright:false, showNavigation:false});\r\n /////////////////////////////////////////////////////////////////////////////////\r\n makeResponsive(brd1);\r\n brd1.options.layer['image'] =30;\r\n brd1.options.layer['point'] =20;\r\n brd1.options.layer['text'] =20;\r\n brd1.options.layer['line'] =10;\r\n//\tbrd1.create('text', [6, 11.5, 'Fraction'],{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 placeTitle(brd1, 'Equation of Straight Line', '(Enter values of M & C in the equation: y = M x +C)');\r\n placeLogo(brd1);\r\n var analytics =placeEraseLeft(brd1);\r\n analytics.setLabel('To to Erase and Start Over')\r\n analytics.label.setAttribute({visible:false, alignX:'middle', offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n analytics.on('over', function () {this.label.setAttribute({visible:true});});\r\n analytics.on('out', function () {this.label.setAttribute({visible:false});});\r\n/////////////////////////////////////////////////////////////////////////////////////\r\n var erase =placeStat(brd1);\r\n erase.setLabel('Tap to See Data & Parameters')\r\n erase.label.setAttribute({visible:false, alignX:'middle', offset:[0, -15], CssStyle:'fontFamily:Oswald', fontSize:12});\r\n erase.on('over', function () {this.label.setAttribute({visible:true});});\r\n erase.on('out', function () {this.label.setAttribute({visible:false});});\r\n ///////////////////////////////////////////////////////////////////////////\r\n var y =placeBoldLeftText(brd1, -9, 11.5, 'y =');\r\n //y.setAttribute({color:'red'});\r\n var m =placeInput(brd1, -8, 11.5, \"0\");\r\n //m.setAttribute({cssStyle:'color:red'});\r\n var x =placeBoldLeftText(brd1, -5.5, 11.5, ' x + ');\r\n // x.setAttribute({color:'red'});\r\n var c =placeInput(brd1, -4.5, 11.5, \"0\");\r\n // c.setAttribute({cssStyle:'color:red'});\r\n ////////////////////////////////////////////////////\r\n var li =placeSeg(brd1, [1.0, ()=>(1.0*m.Value()+1.0*c.Value())], [0, ()=>1.0*c.Value()], 3, 'black');\r\n var Horz =placeDash(brd1, [3.0, ()=>3.0*m.Value()+1.0*c.Value()], [4.0, ()=>3.0*m.Value()+1.0*c.Value()], 2, 'black');\r\n Horz.setAttribute({visible:()=>i==2});\r\n var Vert =placeDash(brd1, [4.0, ()=>3.0*m.Value()+1.0*c.Value()], [4.0, ()=>4.0*m.Value()+1.0*c.Value()], 2, 'black');\r\n Vert.setAttribute({visible:()=>i==2});\r\n var Text =placeBoldLeftText(brd1, 3.25, ()=>2.5*m.Value()+1.0*c.Value(), ()=>'M = '+ m.Value());\r\n Text.setAttribute({visible:()=>i==1});\r\n //////////////////////////////////////////\r\n //var hi = placeGlider(brd1, li, 1.0, ()=>(1.0*m.Value()+1.0*c.Value()) , 0, 'red', 'red');\r\n //var tri = brd1.create('slopetriangle', [li, hi],{baseline:{strokeColor:'red'}});\r\n //tri.setAttribute({visible:()=>i==1, label:{visible:()=>i==1}, baseline:{visible:false}, toppoint:{visible:false}, basepoint:{visible:false}});\r\n //tri.setLabelAttribute({visible:()=>i==1});\r\n /////////////////////////////////////////////////////////////\r\n analytics.on('down', function(){i=0; clearInputFields(brd1)});\r\n ////////////////////////////////////////////////\r\n var arr = placePoint(brd1, 0, ()=>1.*c.Value(), 6, 'black', 'black');\r\n var i=0;\r\n arr.setAttribute({visible:()=>i==1, color:'red', face:'cross'});\r\n var lb =placeBoldRightText(brd1, -1.4, ()=>1.*c.Value()-0.15, ()=>'C = '+ 1.*c.Value());\r\n lb.setAttribute({visible:()=>i==1});\r\n ///////////////////////////////////////////////\r\n //var cind =placeTapeVert(brd1, [0,0], [0, ()=>1.*c.Value()], 'C');\r\n //cind.setAttribute({ anchorX:'right', point1:{visible:false}, point2:{visible:false}});\r\n /////////////////////////////////////////////////////////////\r\n var arrow = placeImage(brd1, '/assets/pointing-hand.svg', -1.2, ()=>1.*c.Value()-0.65, 1, 0);\r\n arrow.setAttribute({visible:()=>i==1});\r\n erase.on('down', function(){i=toggle(i); console.log(i)})\r\n //placeImage(brd1, '/assets/slope.svg', 2, ()=>1.*c.Value()+2.*m.Value(), 1, 0);\r\n var slope =brd1.create('image', ['/assets/slope.svg', [2, ()=>1.*c.Value()+2.*m.Value()],[1.,()=>1.*m.Value()]]);\r\n slope.setAttribute({visible:()=>i==1});\r\n\r\n\t}\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=fd49dea0&\"\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":""}