{"version":3,"sources":["webpack:///./src/components/mathematics/Math10thGrade/demoSol/Lesson.vue","webpack:///./src/components/mathematics/Math10thGrade/demoSol/Boxes.js","webpack:///src/components/mathematics/Math10thGrade/demoSol/Lesson.vue","webpack:///./src/components/mathematics/Math10thGrade/demoSol/Lesson.vue?585c","webpack:///./src/components/mathematics/Math10thGrade/demoSol/Lesson.vue?64f3","webpack:///./src/components/mathematics/Math10thGrade/demoSol/Lesson.vue?34cf"],"names":["ref","attrs","staticClass","_vm","_self","staticStyle","_c","render","staticRenderFns","Boxes","box1","graph","createSpace","createAxes","options","axis","strokeWidth","layer","board","minimizeReflow","point","showInfobox","line","highlight","image","text","polygon","makeResponsive","placeLogo","placeTitle","analytics","placeUndo","hoverMe","erase","placeRedo","i","eggs","placeEggs","setAttribute","visible","a","b","c","eqn","create","x","strokeColor","writeHTMLText","anchorX","D","toFixed","x1","drawPoint","Math","sqrt","setSize","fillColor","x2","two","placeLeftText","one","zero","on","name","created","$store","commit","newMath","newshowhome","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","title","meta","vmid","content","component"],"mappings":"qJAA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAAyD,iBAAM,IAAK,SAA4FA,GAAI,qDAAS,IAAK,OAA8EA,GAAI,wFAAQ,IAAK,UAA+GC,GAAK,GAAC,uE,IAAC,SAAmB,iGAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CAC9kB,mBACyC,IAAC,IAAqB,EAAkB,YACjF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAIC,EAAG,IAACC,CAAK,EAAG,gUAAC,WAC1C,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAID,EAAG,IAACC,CAAK,EAAG,wdAAC,W,IAAmXC,O,EAAa,W,OAA0B,wWAAE,YAAWC,CAChd,kBAAW,WAAcA,CAAE,EAACH,KAAIC,GAAME,KAAE,0lBAAC,WACzC,WAEF,EAASC,QA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EN,GAAG,EAAEK,EAAEL,GAAGO,EAAEP,IAAI,KACrD,IAAI0B,EAAOF,eAAchD,GAAQ,GAAI,KAAK,WAAW,MAAO,yCAC5DkD,EAAKvB,aAAa,CAACC,QAAQ,kBAAIE,EAAEN,GAAGM,EAAEN,GAAG,EAAEK,EAAEL,GAAGO,EAAEP,GAAG,KAGrDL,EAAUgC,GAAG,QAAQ,WAChB3B,EAAE,EAELA,GAAG,EAIDA,EAAE,KAGNF,EAAM6B,GAAG,QAAQ,WACZ3B,EAAE,EAELA,GAAG,EAIDA,EAAE,OAOK1B,IC3FA,GACfsD,KAAA,oBACAC,QAAA,WACA,KAAAC,OAAAC,OAAA,yBACA,KAAAD,OAAAC,OAAA,iEAEA,IAQAC,GAAA,EACA,KAAAF,OAAAC,OAAA,yBAAAC,GACA,IAAAC,GAAA,EACA,KAAAH,OAAAC,OAAA,4BAAAE,GACA,IAAAC,GAAA,EACA,KAAAJ,OAAAC,OAAA,8BAAAG,GACA,IAAAC,GAAA,EACA,KAAAL,OAAAC,OAAA,2BAAAI,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACAhE,EAAAC,QAEAiE,SAAA,WACA,OAAAC,MAAA,qBAEAC,KAAA,CACA,CAAAC,KAAA,cAAAf,KAAA,cAAAgB,QAAA,0EC3F6X,I,wBCQzXC,EAAY,eACd,EACA,EACAxE,GACA,EACA,KACA,KACA,MAIa,aAAAwE,E,sECnBf","file":"js/chunk-bc4921b0.5e59fd09.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"intro\"},[_vm._v(\"\\n Quadratic Equation\\n \")]),_vm._m(0),_c('h3',{ref:\"sol\"},[_vm._v(\"\\n Solutions of a Quadratic Equation – Quadratic Formula\\n \")]),_vm._m(1),_c('h3',{ref:\"nature\"},[_vm._v(\"\\n Discriminant & Number of Real Solutions\\n \")]),_vm._m(2),_c('h3',{ref:\"graph\"},[_vm._v(\"\\n MagicGraph | Discriminant & Number of Solutions\\n \")]),_vm._m(3),_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',[_c('br'),_vm._v(\"\\n A quadratic equation is a polynomial equation that is second order in its primary variable. For example, a quadratic equation in \\\\(x\\\\) is given as:\\n $$ a x^2 + b x +c =0$$\\n where the coefficients \\\\(a \\\\), \\\\(b\\\\) and \\\\(c\\\\) are real numbers with the condition that \\\\(a \\\\ne 0\\\\).\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('br'),_vm._v(\"\\n Every quadratic equation has two solutions – which are given as:\\n $$ x = \\\\frac{-b \\\\pm \\\\sqrt{b^2 - 4ac}}{2a} $$\\n The plus-minus sign (\\\\(\\\\pm\\\\)) indicates that the equation has two solutions. Expressed separately, the two solutions can be written as:\\n $$x_1 = \\\\frac{-b + \\\\sqrt{b^2 - 4ac}}{2a}$$\\n and\\n $$x_2 = \\\\frac{-b - \\\\sqrt{b^2 - 4ac}}{2a}$$\\n These solutions are also called the roots of the quadratic equation.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n The term term inside the square root sign in the quadratic formula i.e. \\\\(b^2-4ac\\\\) is called the discriminant, and is often denoted by D. A quadratic equation can either have one solution, two distinct, real solutions, or two distinct, complex solutions. The discriminant determines the number and nature of the solution.\\n \"),_c('ul',{staticStyle:{\"list-style-type\":\"square\"}},[_c('li',[_c('h5',[_vm._v(\" D = b\"),_c('sup',[_vm._v(\"2\")]),_vm._v(\" -4 ac > 0 \")]),_vm._v(\"\\n The two solutions of the equation are real and distinct.\\n \")]),_c('li',[_c('h5',[_vm._v(\" D = b\"),_c('sup',[_vm._v(\"2\")]),_vm._v(\" -4 ac = 0 \")]),_vm._v(\"\\n The two solutions of the equation are real and indistinct (equal to each other). In other words, the equation has only one real solution.\\n \")]),_c('li',[_c('h5',[_vm._v(\" D = b\"),_c('sup',[_vm._v(\"2\")]),_vm._v(\" -4 ac < 0 \")]),_vm._v(\"\\n The two solutions of the equation are complex and distinct. In other words, the equation has no real solution.\\n \")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('br'),_vm._v(\"\\n Graphically, a quadratic function, such as \\\\(y =a x^2+bx+c\\\\), describes a parabola when graphed in x and y. Then, the two solutions of the quadratic equation \\\\(a x^2+ b x +c =0\\\\) represent the points where this parabola intersects with the x-axis (\\\\(y=0\\\\)).\\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 placeErase,\r\n placeShuffle,\r\n placeTest,\r\n placeSeg,\r\n setConfig,\r\n placeStat,\r\n drawTriangle,\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 drawPoint,\r\n drawTri,\r\n setSize,\r\n labelIt,\r\n drawDash,\r\n placeEggs,\r\n drawLine,\r\n setWidth,\r\n drawIntersection,\r\n drawPerpP,\r\n drawAngle,\r\n createSpace,\r\n createAxes,\r\n writeHTMLText\r\n} from '../Utils';\r\nconst Boxes = {\r\n //JXG.Options.line.highlight=false;\r\n box1: function () {\r\n //Create the Board\r\n var graph =createSpace(-8,8,-7,9);\r\n //graph.suspendUpdate();\r\n createAxes(graph);\r\n // Layering\r\n graph.options.axis.strokeWidth=0;\r\n graph.options.layer['image']=17;\r\n graph.options.layer['text']=19;\r\n graph.options.layer['line']=16;\r\n graph.options.layer['point']=17;\r\n graph.options.layer['glider']=17;\r\n graph.options.layer['angle']=18;\r\n graph.options.board.minimizeReflow = 'none';\r\n graph.options.point.showInfobox =false;\r\n graph.options.line.highlight=false;\r\n graph.options.image.highlight=false;\r\n graph.options.text.highlight=false;\r\n graph.options.polygon.highlight=false;\r\n// graph.options.text.display='internal';\r\n //Make the board responsive\r\n makeResponsive(graph);\r\n // Creat titleStyle\r\n placeLogo(graph);\r\n placeTitle(graph, 'Discriminant & Number of Solutions', '');\r\n////////////////////////////////////////////////////////////////////////////////\r\n var analytics = placeUndo(graph, 'left');\r\n hoverMe(graph, analytics, 'Previous Step', 0, -5);\r\n ////////////////////////////////////////////////////\r\n var erase = placeRedo(graph);\r\n hoverMe(graph, erase, 'Next Step', 0, -5);\r\n/////////////////////////////////////////////////////////////////////////////\r\n var i = 0;\r\n var eggs = placeEggs(graph);\r\n eggs[0].setAttribute({visible:()=>i>=0});\r\n ////////////////\r\n eggs[1].setAttribute({visible:()=>i>=1});\r\n ////////////////\r\n eggs[2].setAttribute({visible:()=>i>=2});\r\n /////////////////////\r\n const a = [1, 2, 3, 2, 1];\r\n const b = [1, 2, 3, 2, 4];\r\n const c = [-1, 1, 3/4, -2, 3];\r\n ///////////////////////////All actions go here////////////////////////////////\r\n var curve = graph.create('functiongraph', [function(x){return c[i]*1+ a[i]*x*x + b[i]*x;}, -5, 4], {strokeColor:'red', strokeWidth:4});\r\n////////////////////////////////////////\r\n var eqn =writeHTMLText(graph, -7, 6.5, function(){return 'Equation: '+ a[i]+' x^2 + '+b[i]+' x = '+ -c[i]});\r\n eqn.setAttribute({anchorX:'left'});\r\n var D = writeHTMLText(graph, -7, -2.5, function(){return 'Discriminant D = '+ b[i]+'^2'+' - 4 ('+a[i]+' ) ( '+c[i]+' ) = '+ (b[i]*b[i]-4*a[i]*c[i]).toFixed(2)});\r\n D.setAttribute({anchorX:'left'});\r\n var x1 =drawPoint(graph, function(){return (-b[i] + Math.sqrt(b[i]*b[i] - 4*a[i]*c[i]))/(2*a[i])}, 0);\r\n setSize(graph, x1, 3);\r\n x1.setAttribute({strokeColor:'black', fillColor:'white'});\r\n var x2 = drawPoint(graph, function(){return (-b[i] - Math.sqrt(b[i]*b[i] - 4*a[i]*c[i]))/(2*a[i])}, 0);\r\n x2.setAttribute({strokeColor:'black', fillColor:'white'});\r\n setSize(graph, x2, 3);\r\n\r\n var two = placeLeftText(graph, -7, -3.5, function(){return 'This equation has TWO real solutions!'});\r\n two.setAttribute({visible:()=>b[i]*b[i]-4*a[i]*c[i]>0});\r\n var one = placeLeftText(graph, -7, -3.5, function(){return 'This equation has ONE real solution!'});\r\n one.setAttribute({visible:()=>b[i]*b[i]-4*a[i]*c[i]==0});\r\n var zero = placeLeftText(graph, -7, -3.5, function(){return 'This equation has NO real solution!'});\r\n zero.setAttribute({visible:()=>b[i]*b[i]-4*a[i]*c[i]<0});\r\n\r\n //////////////////////////////Button Actions////////////////////////////////////\r\n analytics.on('down', function(){\r\n if(i>0)\r\n {\r\n i-=1;\r\n }\r\n else\r\n {\r\n i=0;\r\n }\r\n });\r\n erase.on('down', function(){\r\n if(i<2)\r\n {\r\n i+=1;\r\n }\r\n else\r\n {\r\n i=0;\r\n }\r\n })\r\n///////////////////////////////////////////////////////////////////////\r\n //graph.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=c4a0bfd8&\"\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=c4a0bfd8&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=c4a0bfd8&prod&lang=scss&\""],"sourceRoot":""}