{"version":3,"sources":["webpack:///./src/components/mathematics/Math11thGrade/vectorSum/Lesson.vue?29f9","webpack:///./src/components/mathematics/Math11thGrade/vectorSum/Lesson.vue","webpack:///./src/components/mathematics/Math11thGrade/vectorSum/Boxes.js","webpack:///src/components/mathematics/vectors/addition/Lesson.vue","webpack:///./src/components/mathematics/Math11thGrade/vectorSum/Lesson.vue?2427","webpack:///./src/components/mathematics/Math11thGrade/vectorSum/Lesson.vue?cc8f"],"names":["ref","_vm","attrs","_c","staticClass","staticRenderFns","_self","staticStyle","Boxes","box1","brd1","JXG","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","showCopyright","showNavigation","pan","enabled","zoom","options","point","showInfoBox","image","highlight","layer","placeTitle","makeResponsive","placeLogo","create","CssStyle","fontSize","Math","round","canvasWidth","PtA","name","face","size","strokeColor","fillColor","fixed","label","offset","anchorX","PtB","snapToGrid","fillOpacity","PtC","placeImage","X","Y","placeRec","placeLine","analytics","placeShuffle","setLabel","setAttribute","visible","alignX","on","this","erase","placeTest","placeDash","toFixed","color","rght","rghtText","placeMiddleText","wrng","wrngText","xInp","placeInput","yInp","x","y","clearInputFields","random","moveTo","Value","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"uIAAA,W,iFCAsFA,EAAI,WAAI,IAAGC,EAAM,KAAurBD,EAAI,WAAM,OAAM,EAAG,MAAC,SAA8jCE,IAAK,M,CAAE,4CAAiB,2oBAAE,YAAG,CAACC,EAAG,6CAAQ,y/BAACD,MAAM,CAAC,iBAAY,K,CAA+B,U,MAAqB,CAAmB,WAAI,IAAM,wBAAkPA,aAAM,QAAC,wBAAuBC,GAAG,QAAQ,8NAACD,MAAM,CAAC,iBAAY,K,CAA8B,U,MAAqB,CAAmB,WAAI,IAAM,uBAAgBF,aAAI,QAAOC,YAAO,YAAoX,aAAiB,MAAE,UAAG,CAACE,EAAG,s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A,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACA5F,EAAAC,QAEA6F,SAAA,WACA,OAAAb,MAAA,kBACAc,cAAA,2BACAC,KAAA,EAAAhE,KAAA,WAAAiE,QAAA,uCACA,CAAAjE,KAAA,cAAAiE,QAAA,2DClH6X,I,wBCQzXC,EAAY,eACd,EACA,EACArG,GACA,EACA,KACA,KACA,MAIa,aAAAqG,E","file":"js/chunk-d08faba8.5aa5effb.js","sourcesContent":["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=2dbfa46f&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"ia\"},[_vm._v(\"\\n Addition of Two Vectors\\n \")]),_c('p',[_vm._v(\"\\n There are scenarios where we need to add two or more vectors.\\n Let us give you an example. Consider the game of soccer with two players — Ally and Alan.\\n\\n Let's say Ally kicks the ball towards Alan, and Alan kicks the ball to its final location.\\n Suppose the location of Alan relative to Ally is given by vector \\\\(\\\\mathbf r_1 \\\\), and the location of the ball relative to Alan\\n is given by vector \\\\(\\\\mathbf r_2\\\\). Then, the location of the ball relative to Ally can be determined as the\\n sum of \\\\(\\\\mathbf r_1 \\\\) and \\\\(\\\\mathbf r_2 \\\\).\\n $$\\\\mathbf r = \\\\mathbf r_1 + \\\\mathbf r_2$$\\n \")]),_c('h3',{ref:\"meth\"},[_vm._v(\"\\n Methods of Vector Addition\\n \")]),_c('p',[_vm._v(\" There are two ways to add two or more vectors.\")]),_c('h5',[_vm._v(\" Direct Method \")]),_c('p',[_vm._v(\"\\n First, we express each vector in its component form.\\n Then, the sum of the two vectors can be obtained by adding the respective components of the two vectors.\\n Below is an example.\\n Let's say the vector \\\\( \\\\mathbf r_1 \\\\) in component form is given as\\n $$r_1 = a_1 \\\\hat{x} + b_1 \\\\hat{y}$$\\n Let's say the vector \\\\( \\\\mathbf r_2 \\\\) in component form is given as\\n $$r_2 = a_2 \\\\hat{x} + b_2 \\\\hat{y}$$\\n Then the sum of two vectors can be obtained as\\n $$\\\\mathbf r = \\\\mathbf r_1 + \\\\mathbf r_2\\n = (a_1+a_2) \\\\hat x + (b_1+b_2) \\\\hat y $$\\n \")]),_c('h5',[_vm._v(\" Parallelogram Rule \")]),_c('p',[_vm._v(\"\\n Parallelogram rule is a graphical method used for the addition of two vectors. The rule can be described in two steps.\\n \")]),_c('h5',[_vm._v(\" Step 1 \")]),_c('p',[_vm._v(\" Draw a parallelogram with the two vectors as the adjacent sides. \")]),_c('br'),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('v-img',{attrs:{\"contain\":\"\",\"src\":\"/assets/addition0.png\",\"max-height\":\"650px\",\"max-width\":\"650px\"}})],1),_c('br'),_c('h5',[_vm._v(\" Step 2 \")]),_c('p',[_vm._v(\"\\n Draw the diagonal of the parallelogram through the point common to both the vectors.\\n That diagonal represents the sum of the two vectors.\\n \")]),_c('p'),_c('br'),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('v-img',{attrs:{\"contain\":\"\",\"src\":\"/assets/addition.png\",\"max-height\":\"650px\",\"max-width\":\"650px\"}})],1),_c('br'),_c('h3',{ref:\"pg\"},[_vm._v(\"\\n MagicGraph | Parallelogram Rule for Vector Addition\\n \")]),_c('p',[_vm._v(\" In this MagicGraph, You will learn about parallelogram rule for vector addition. Follow the steps below to get started. \")]),_vm._m(0),_c('p',[_vm._v(\" You can repeat the above steps any number of times to learn different scenarios. \")]),_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('ul',{staticStyle:{\"list-style-type\":\"square\"}},[_c('li',[_c('h5',[_vm._v(\"Step 1\")]),_vm._v(\" Drag points A and B to adjust the vectors \\\\(\\\\mathbf r_1\\\\) and \\\\(\\\\mathbf r_2\\\\) \")]),_c('br'),_c('li',[_c('h5',[_vm._v(\"Step 2\")]),_vm._v(\"\\n Tap on the + sign to calculate. MagicGraph automatically draws the parallelogram and the diagonal through the point common to both the vectors, and finds\\n the sum of the two vectors.\\n \")]),_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} from '../Utils';\r\nconst Boxes = {\r\n box1: function () {\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-8, 15, 12, -5],keepaspectratio: true, axis:true, ticks:true, grid:true, showCopyright:false, showNavigation:false, pan:{enabled:false}, zoom:{enabled:false}});\r\n brd1.options.point.showInfoBox =false;\r\n brd1.options.image.highlight =false;\r\n brd1.options.layer['image']=12;\r\n brd1.options.layer['point']=13;\r\n placeTitle(brd1, 'Vector Sum Application', 'Find the vector connecting point O to point B');\r\n makeResponsive(brd1);\r\n placeLogo(brd1);\r\n\t\t\t\tbrd1.create('text', [9, 0.35, ''],{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n\t\t\t brd1.create('text', [0.25, 8, ''],{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n\t\t\t//\tvar moveC =brd1.create('point', [0, 0],{name:'C', fillOpacity:0.25, face:'circle',size:4, strokeColor:'black', fillColor:'yellow', label:{visible:function(){if(j==0){return false}else{return true}}, CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(10*brd1.canvasWidth/500.)}}});\r\n\t\t\t\tvar PtA =brd1.create('point', [0, 0],{name:'O', face:'circle',size:function(){return Math.round(4*brd1.canvasWidth/800.)}, strokeColor:'black', fillColor:'yellow', fixed:true,label:{offset:[0, 15], anchorX:'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(10*brd1.canvasWidth/500.)}}});\r\n\t\t\t\tvar PtB =brd1.create('point', [4, 4],{name:'A', snapToGrid:true, face:'circle',size:function(){return Math.round(4*brd1.canvasWidth/800.)},strokeColor:'black', fillColor:'yellow', fixed:false, fillOpacity:1,label:{offset:[0, 15], anchorX:'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(10*brd1.canvasWidth/500.)}}});\r\n var PtC =brd1.create('point', [6, 5],{name:'B',snapToGrid:true, face:'circle',size:function(){return Math.round(4*brd1.canvasWidth/800.)}, strokeColor:'black', fillColor:'yellow', fillOpacity:1, label:{offset:[0, 15], anchorX:'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(10*brd1.canvasWidth/500.)}}});\r\n placeImage(brd1, '/assets/hook.svg', ()=>PtC.X()-0.5, ()=>PtC.Y()-1, 1, 0);\r\n placeImage(brd1, '/assets/dumper.svg', -2.2, -2.5, 3, 0);\r\n placeRec(brd1, [-8,-10], [-8, -2],[15, -2], [15,-10], 'white');\r\n placeLine(brd1, [-8,-2.1], [15, -2.1], 4, 'grey');\r\n var analytics =placeShuffle(brd1);\r\n analytics.setLabel('Tap to Shuffle')\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 var erase = placeTest(brd1);\r\n erase.setLabel('Tap to Test Your Answer')\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 //var moveA= brd1.create('point', [0,0],{name:'', fillOpacity:0.25, face:'circle',size:4, strokeColor:'black', fillColor:'yellow'});\r\n\t\t\t\t//var moveB= brd1.create('point', [0,0],{name:'', fillOpacity:0.25, face:'circle',size:4, strokeColor:'black', fillColor:'yellow'});\r\n\t\t\t//\tvar PtD =brd1.create('point', [3, 2],{name:'B (Drag me!)',snapToGrid:true, face:'circle',size:4, strokeColor:'black', fillColor:'yellow', fillOpacity:0.5, label:{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(10*brd1.canvasWidth/500.)}}});\r\n\t\t\t\t//brd1.create('text', [function(){return PtB.X()*0.5-0.5*Math.sign(PtB.X());}, function(){return PtB.Y()*0.5+0.5;}, 'r_1'],{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(12*brd1.canvasWidth/500.)}});\r\n\t\t\t\t//brd1.create('text', [()=>PtC.X()*0.5+0.5*PtB.X(), ()=>PtC.Y()*0.5+0.5*PtB.Y(), 'r_2'],{CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(12*brd1.canvasWidth/500.)}});\r\n\t\t\t\t//brd1.create('segment', [PtB, moveA], {strokeColor:'blue', dash:1});\r\n\t\t\t//\tbrd1.create('segment', [PtD, moveB], {strokeColor:'red', dash:1});\r\n placeLine(brd1, [()=>PtB.X(), ()=>PtB.Y()], [()=>PtC.X(), ()=>PtC.Y()], 4, 'blue');\r\n placeLine(brd1, [()=>PtA.X(), ()=>PtA.Y()], [()=>PtB.X(), ()=>PtB.Y()], 4, 'red');\r\n placeDash(brd1, [()=>PtA.X(), ()=>PtA.Y()], [()=>PtC.X(), ()=>PtC.Y()], 2, 'gray');\r\n\t\t\t\t//brd1.create('segment', [PtB, PtC], {visible:true, strokeColor:'blue', strokeWidth:3});\r\n\t\t\t\t//brd1.create('segment', [PtA, PtB], {visible:true, strokeColor:'red', strokeWidth:3});\r\n\t\t\t\t//brd1.create('arrow', [PtA, moveC], {strokeColor:'black', strokeWidth:3});\r\n\t\t\t\tbrd1.create('text', [-7.2, 11.5, function(){return 'OA = ('+ (PtB.X()).toFixed(2)+') + (' + (PtB.Y()).toFixed(2) +') '}],{color:'red', anchorX:'left', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n\t\t\t\t//var plus=brd1.create('image', ['/assets/addition.svg', [-5, -5.5],[0.8, 0.8]], {opacity:1, fixed:true});\r\n\t\t\t\tbrd1.create('text', [-7.2, 10., function(){return 'AB = ('+ (-PtB.X()+PtC.X()).toFixed(2) + ') + (' + (-PtB.Y()+PtC.Y()).toFixed(2) +') '}],{color:'blue', anchorX:'left', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [-7.2, 8.5, function(){return 'OB =' }],{color:'gray', anchorX:'left', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [-4, 8.5, function(){return '  + ' }],{color:'gray', anchorX:'left', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [-1, 8.5, function(){return ' ' }],{color:'gray', anchorX:'left', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n\r\n var rght = placeImage(brd1,'/assets/check.svg', -6, 3, 2, 0);\r\n var rghtText = placeMiddleText(brd1, -5, 6, 'Yup! That is correct.');\r\n rght.setAttribute({visible:false});\r\n rghtText.setAttribute({visible:false});\r\n /////////////////////////////////////////////////////\r\n var wrng = placeImage(brd1,'/assets/cross.svg', -6, 3, 2, 0);\r\n var wrngText = placeMiddleText(brd1, -5, 6, 'Nope! Try again.');\r\n wrng.setAttribute({visible:false});\r\n wrngText.setAttribute({visible:false});\r\n var xInp = placeInput(brd1, -6, 8.5, \"\");\r\n var yInp = placeInput(brd1, -3, 8.5, \"\");\r\n //brd1.create('text', [-7, -8, function(){return ' OC = ['+ (-PtA.X()+PtD.X()+PtB.X()).toFixed(2) + ', ' + (-PtA.Y()+PtD.Y()+PtB.Y()).toFixed(2) +']'}],{visible:function(){if(j==0){return false}else{return true}},CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(16*brd1.canvasWidth/500.)}});\r\n\t\t\t\t//brd1.create('segment',[[-8, -7],[-2, -7]],{fixed:true, strokeColor:'black', strokeWidth:3});\r\n\t\t\t\t//var runb =function(){moveB.moveTo([PtB.X()+PtD.X(), PtB.Y()+PtD.Y()], 500)}\r\n\t\t\t\t//var runc =function(){moveA.moveTo([PtB.X()+PtD.X(), PtB.Y()+PtD.Y()], 500)}\r\n\t\t\t\t//var runa =function(){moveC.moveTo([PtB.X()+PtD.X(), PtB.Y()+PtD.Y()], 2000)}\r\n var x =0; var y=0;\r\n analytics.on('down', function(){\r\n wrng.setAttribute({visible:false});\r\n wrngText.setAttribute({visible:false});\r\n rght.setAttribute({visible:false});\r\n rghtText.setAttribute({visible:false});\r\n clearInputFields(brd1);\r\n x =Math.round(4*Math.random())+3;\r\n y =Math.round(4*Math.random())+3;\r\n PtB.moveTo([x, y],100);\r\n PtC.moveTo([x+Math.round(2*Math.random())+2, y+Math.round(4*Math.random())-2], 100);});\r\n\t\t\t\t//PtB.on('drag',function(){j=0; moveC.moveTo([0,0]); moveA.moveTo([0,0]); moveB.moveTo([0,0])});\r\n\t\t\t //PtD.on('drag',function(){j=0; moveC.moveTo([0,0]); moveA.moveTo([0,0]); moveB.moveTo([0,0])});\r\n erase.on('down', function(){\r\n if(xInp.Value() == PtC.X() && yInp.Value() == PtC.Y()){\r\n rght.setAttribute({visible:true});\r\n rghtText.setAttribute({visible:true});\r\n wrng.setAttribute({visible:false});\r\n wrngText.setAttribute({visible:false});\r\n }\r\n else{\r\n rght.setAttribute({visible:false});\r\n rghtText.setAttribute({visible:false});\r\n wrng.setAttribute({visible:true});\r\n wrngText.setAttribute({visible:true});\r\n\r\n }\r\n })\r\n}}\r\nexport default Boxes;\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=2dbfa46f&\"\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=2dbfa46f&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"],"sourceRoot":""}