{"version":3,"sources":["webpack:///./src/components/mathematics/Math12thGrade/Functions/Lesson.vue","webpack:///./src/components/mathematics/Math12thGrade/Functions/Boxes.js","webpack:///src/components/mathematics/Math12thGrade/Functions/Lesson.vue","webpack:///./src/components/mathematics/Math12thGrade/Functions/Lesson.vue?5a46","webpack:///./src/components/mathematics/Math12thGrade/Functions/Lesson.vue?efd4"],"names":["ref","attrs","staticClass","_c","_vm","_self","staticRenderFns","Boxes","box1","JXG","Options","board","minimizeReflow","point","showInfoBox","highlight","image","text","fixed","curve","cssDefaultStyle","graph","createSpace","options","layer","makeResponsive","createAxes","placeTitle","placeLogo","i","j","x","y","shuffle","placeShuffle","test","placeTest","rght","placeImage","wrng","setAttribute","visible","on","lin","dash","strokeWidth","quad","cubc","array","domain","linRange","quadRange","absRange","push","plotFunction","strokeColor","Math","abs","_loop","k","writeMediumText","name","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","vmid","content","component"],"mappings":"qJAA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAA8D,iBAAQ,IAAK,SAAmDA,GAAI,0DAAK,IAAK,SAAkNC,GAAK,GAAC,4C,IAAC,MAAmB,0LAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CAC5iB,mBACyC,IAAC,IAAqB,EAAc,Y,IAACA,OAAuB,EAAK,EAAI,SAC9G,OAAC,MAAW,CAAC,YAAY,YAACC,CAAE,EAACC,GAAIC,yJAAQ,oVAAC,W,IAAeH,OAAuB,EAAK,EAAI,SACzF,OAAC,MAAW,CAAC,YAAY,YAACC,CAAE,EAACC,GAAIC,yIAAQ,wJAAC,W,IAAeH,OAAuB,EAAK,EAAI,SACzF,OAAC,MAAW,CAAC,YAAY,YAACC,CAAE,EAACC,GAAIC,sLAAQ,6IAAC,W,IAAyDH,OAA6B,EAAI,EAAI,S,OAAiEA,MA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A,EACA9E,GACA,EACA,KACA,KACA,MAIa,aAAA8E,E","file":"js/chunk-2d0f1593.b1232e9e.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 Function?\\n \")]),_vm._m(0),_c('h3',{ref:\"types\"},[_vm._v(\"\\n Notation\\n \")]),_vm._m(1),_c('h3',{ref:\"pg\"},[_vm._v(\"\\n MagicGraph | Find the Function\\n \")]),_c('br'),_c('h5',[_vm._v(\"Getting Started\")]),_vm._m(2),_c('h5',[_vm._v(\" Icons on the MagicGraph \")]),_vm._m(3),_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',{staticClass:\"big mt-3\"},[_vm._v(\"\\n A function (also called a mapping) is a mathematical rule that relates every element in one set to\\n exactly one elment in another set. \"),_c('br'),_vm._v(\"\\n The first set of numbers is called the domain of the function while the other set of numbers is called the range of the function.\\n \"),_c('br'),_vm._v(\"\\n For example, the relation described by \\\\( y = 2x+3\\\\) is a function because for every value of \\\\(x\\\\), there is exactly one value of \\\\(y\\\\).\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"big mt-3\"},[_vm._v(\"\\n The mathematical notation for a function is \\\\(y = f(x)\\\\), and is read as — \\\\(y\\\\) is equal to \\\\(f\\\\) of\\n \\\\(x\\\\).\"),_c('br'),_vm._v(\" The letter \\\\(f\\\\) stands for the function, \\\\(x\\\\) stands for the input variable and \\\\(y\\\\) stands for the output variable.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"big mt-3\"},[_vm._v(\"\\n In this MagicGraph, you are given two sets of numbers: x and y. Your goal is\\n to select the function from the graph that represents the mapping from x to y.\\n \"),_c('br'),_vm._v(\"\\n To select a function, tap on it. Once selected, then tap on the test button to check your answer.\\n \"),_c('br')])\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 numbers.\\n You can tap on the \"),_c('i',{staticClass:\"tester ma-1\"}),_vm._v(\" icon to check your answer.\\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 placeErase,\r\n plotFunction,\r\n createAxes,\r\n createSpace,\r\n drawPoint,\r\n writeMediumText,\r\n writeSmallText,\r\n writeLargeText\r\n} from '../../../../common/edliy.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.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(-10, 10, -5, 15);\r\ngraph.options.layer['image'] =12;\r\ngraph.options.layer['circle'] =13;\r\ngraph.options.layer['chart'] =14;\r\ngraph.options.layer['sector'] =15;\r\ngraph.options.layer['line'] =15;\r\n/////////////////////////////////////////////////////////////////////\r\nmakeResponsive(graph);\r\n/////////////////////////////////////////////////////////////\r\ncreateAxes(graph);\r\nplaceTitle(graph, 'Functions & Relations');\r\nplaceLogo(graph);\r\nvar i=1; var j=0; var x ='x'; var y ='y=f(x)';\r\nvar shuffle = placeShuffle(graph);\r\nvar test =placeTest(graph);\r\nvar rght = placeImage(graph, '/assets/check.svg', -7., 8);\r\nvar wrng = placeImage(graph, '/assets/cross.svg', -7., 8);\r\nrght.setAttribute({visible:false});\r\nwrng.setAttribute({visible:false});\r\nshuffle.on('down', function(){\r\n rght.setAttribute({visible:false});\r\n wrng.setAttribute({visible:false});\r\n lin.setAttribute({dash:2, strokeWidth:2});\r\n quad.setAttribute({dash:2, strokeWidth:2});\r\n cubc.setAttribute({dash:2, strokeWidth:2});\r\n if(i<3){i+=1;}else{i=1}\r\n});\r\ntest.on('down', function(){\r\n wrng.setAttribute({visible:false});\r\n rght.setAttribute({visible:false});\r\n if(i==j){rght.setAttribute({visible:true})}else{wrng.setAttribute({visible:true})}});\r\n\r\nvar array =[];\r\nvar domain=[x, -1, -2, 1, 2];\r\nvar linRange = [y, -1, -2, 1, 2];\r\nvar quadRange=[y, 1, 4, 1, 4];\r\nvar absRange=[y, 2, 4, 2, 4];\r\narray.push(domain);\r\narray.push(linRange);\r\narray.push(quadRange);\r\narray.push(absRange);\r\n/////////////////////////////Quadratic FUNCTION//////////////\r\nvar quad =plotFunction(graph, function(x){return x*x}, -5, 5);\r\nquad.setAttribute({strokeWidth:2, highlight:true, dash:2, strokeColor:'red'});\r\n/////////////////////////////LINEAR FUNCTION//////////////\r\nvar lin = plotFunction(graph, function(x){return x}, -10, 10);\r\nlin.setAttribute({strokeWidth:2, highlight:true, dash:2, strokeColor:'blue'});\r\n///////////////////////////////////////////////////\r\n/////////////////////////////Cubic FUNCTION//////////////\r\nvar cubc = plotFunction(graph, function(x){return 2*Math.abs(x)}, -10, 10);\r\ncubc.setAttribute({strokeWidth:2, highlight:true, dash:2, strokeColor:'green'});\r\n//////////////////////////////////////////////////////////\r\nquad.on('down', function(){j=2; cubc.setAttribute({dash:2, strokeWidth:2}); lin.setAttribute({dash:2, strokeWidth:2});\r\nquad.setAttribute({dash:0, strokeWidth:4})});\r\nlin.on('down', function(){j=1; cubc.setAttribute({dash:2, strokeWidth:2}); quad.setAttribute({dash:2, strokeWidth:2});\r\nlin.setAttribute({dash:0, strokeWidth:4})});\r\ncubc.on('down', function(){j=3; lin.setAttribute({dash:2, strokeWidth:2}); quad.setAttribute({dash:2, strokeWidth:2});\r\ncubc.setAttribute({dash:0, strokeWidth:4})});\r\n/////////////////////////////////////////////\r\n//writeLargeText(graph, -8, 7, 'x');\r\n//writeLargeText(graph, -6, 7, 'y=f(x)');\r\n//////////////////////////////////\r\nfor(let k=0; k<5; k++){\r\nwriteMediumText(graph, -7.5, 6+0.5-k, ()=>array[0][k]);\r\nwriteMediumText(graph, -6+0.5, 6+0.5-k, ()=>array[i][k]);\r\n}\r\n///////////////////////////////////////////////////////////////////////////////\r\n\r\n////////////////////////////////////////////END OF OPERATIONS///////////////////////////////\r\n//brd1.unsuspendUpdate();\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=1bf99d9c&\"\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":""}