{"version":3,"sources":["webpack:///./src/components/physics/newton/Lesson.vue","webpack:///./src/components/physics/newton/Boxes.js","webpack:///src/components/physics/newton/Lesson.vue","webpack:///./src/components/physics/newton/Lesson.vue?87f7","webpack:///./src/components/physics/newton/Lesson.vue?106b","webpack:///./src/components/physics/newton/Lesson.vue?f48f"],"names":["attrs","_c","staticClass","staticRenderFns","_vm","_v","_self","render","Boxes","box1","JXG","Options","board","minimizeReflow","text","highlight","fixed","cssStyle","image","polygon","line","point","curve","slider","showInfoBox","brd1","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","pan","enabled","zoom","showCopyright","showNavigation","options","layer","makeResponsive","placeTitle","amplitud","frec","placeSlider","setAttribute","snapWidth","time1","unitLabel","create","x","valueOf","Math","cos","PI","Value","dash","strokeColor","strokeWidth","yPoints","point1","placePoint","point2","point3","point4","point5","point6","point7","point8","point9","point10","point11","point12","point13","point14","point15","point16","point17","point18","point19","placeDash","X","Y","abs","visible","highlightStrokeWidth","lastArrow","type","size","highlightSize","touchLastPoint","firstArrow","toFixed","anchorX","anchorY","CssStyle","fontSize","round","canvasWidth","start","startAnimation","playImg","pauseImg","pause","stopAnimation","on","setLabel","label","offset","this","unsuspendUpdate","name","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newPhys","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"qJAA4D,EAAU,W,IAAykBA,EAAM,K,EAAC,W,OAAkB,WAAgB,KAAC,ohBAAE,OAAIC,eAAS,GAACC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CAAYF,GAAM,eAAoB,UAAE,MAAK,CAA2CE,iBAAiB,K,CAAQ,OAAO,mCAAyB,kBAAE,MAAK,CAAKA,iCACj6B,QACGC,6CAAmCC,EAAI,oFAAI,QAAiB,EAAmBC,YAClF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAID,EAAG,IAACE,CAAK,EAAG,+lBAAC,WAC1C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AAAN,EAAAO,KAAA,gBAEA,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,MACAvH,EAAAC,QAEAwH,SAAA,WACA,OAAAb,MAAA,oBACAc,cAAA,2BACAC,KAAA,EAAApB,KAAA,WAAAqB,QAAA,uCACA,CAAArB,KAAA,cAAAqB,QAAA,2DChH8W,I,wBCQ1WC,EAAY,eACd,EACA,EACAlI,GACA,EACA,KACA,KACA,MAIa,aAAAkI,E,oECnBf","file":"js/chunk-6ba7015c.99aa15fd.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',[_vm._v(\"First Law\")]),_vm._m(0),_c('p',[_vm._v(\"\\n The Mathematical statements might not seem very intuitive. So let us look at some real\\n life examples of the First Law and Inertia.\\n \")]),_vm._m(1),_c('h3',[_vm._v(\"Second Law\")]),_vm._m(2),_c('p',[_vm._v(\"\\n There are however some cases where the mass of a system does not remain constant (like in a rocket\\n which continuously uses up its fuel) and in such cases we cannot use \\\\(\\\\textbf{F}=m\\\\textbf{a}\\\\)\\n \")]),_c('h3',[_vm._v(\"Third Law\")]),_vm._m(3),_vm._m(4),_c('v-responsive',[_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('h5',[_vm._v(\" Follow this link \"),_c('a',{staticClass:\"icn\",attrs:{\"href\":\"https://edliy.com/magic\"}},[_c('i',{staticClass:\"fa fa-external-link-square\"})]),_vm._v(\" to learn how MagicGraphs help students accelerate their learning curve.\")])])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n Newton's first law states that:\\n \"),_c('br'),_c('i',[_vm._v(\"\\\"An object does not change its state of motion unless\\n acted upon by an external force.\\\"\\n \")]),_c('br'),_vm._v(\"This means that an object which is at rest will continue to be at rest\\n and a moving object will keep moving if no external force is applied on it.\\n Mathematically, we can say that:\\n $$\\\\textbf{F}_{net}=0 \\\\iff \\\\frac{d\\\\textbf{v}}{dt}=0$$\\n The concept of inertia is very closely related to the first law. In fact\\n sometimes the first law is called the \"),_c('i',[_vm._v(\"Principle of Inertia\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('ol',[_c('li',[_vm._v(\"\\n When you get off a moving bus, you should run along the\\n bus for sometime otherwise you will fall. This is because\\n when your feet touch the ground, they stop moving but the\\n upper body keeps moving due to the First Law. Hence one must\\n run alongside the bus for a while before stopping slowly\\n \")]),_c('li',[_vm._v(\"\\n You must've also observed that people lean forward when a bus\\n stops. This is also due to inertia of the upper body.\\n \")]),_c('li',[_vm._v(\"\\n If you were to visit the International Space Station, you would notice that stopping in space is\\n much more difficult. This is because in outer space, there is no gravity to act against our motion.\\n \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n Newton's Second Law quantitatively defines Force but before we get there, lets first look\\n at the qualitative definition of Force which we get from The First Law:\\n \"),_c('br'),_c('i',[_vm._v(\"\\\"Force is that physical cause which changes the state of rest or motion of a body\\\" \")]),_c('br'),_vm._v(\" This definition comes from the First Law. Now we will see the Second Law:\\n \"),_c('br'),_c('i',[_vm._v(\"\\\"The rate of change of momentum of a body is directly proportional to the applied force and\\n occurs in the same direction as the direction of the force applied.\\\" \")]),_vm._v(\"\\n Mathematically,\\n $$\\\\textbf{F}=\\\\frac{d\\\\textbf{p}}{dt}$$\\n Using \\\\(\\\\textbf{p}=m\\\\textbf{v}\\\\) in the above equation,\\n $$\\\\textbf{F}=m\\\\frac{d\\\\textbf{v}}{dt}+\\\\textbf{v}\\\\frac{dm}{dt}$$\\n In most cases, mass of our system remains constant, so the above\\n equation reduces to the famous \\\\(\\\\textbf{F}=m\\\\frac{d\\\\textbf{v}}{dt}=m\\\\textbf{a}\\\\)\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n Newton's third law is pretty simple. It states that:\\n \"),_c('br'),_c('i',[_vm._v(\"\\\"Every action has an equal and opposite reaction\\\"\")]),_c('br'),_vm._v(\"Now lets see some examples to understand this:\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('ol',[_c('li',[_vm._v(\"\\n A rocket moves up because the gases which come out of it exert a force equal to the force\\n applied by the rocket on the gas.\\n \")]),_c('li',[_vm._v(\"When a gun is fired the shooter feels a recoil. This is due to the Third Law.\")])])\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 placeText,\r\n placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeSliderSwitch,\r\n placeDash\r\n} from '../../../common/edliy_utils-integral';\r\nconst Boxes = {\r\nbox1: function () {\r\n JXG.Options.board.minimizeReflow = 'none';\r\n JXG.Options.text.highlight =false;\r\n JXG.Options.text.fixed =true;\r\n JXG.Options.text.highlight =false;\r\n JXG.Options.text.cssStyle='fontFamily:Oswald',\r\n JXG.Options.image.highlight =false;\r\n JXG.Options.polygon.highlight =false;\r\n JXG.Options.line.highlight =false;\r\n JXG.Options.point.highlight =false;\r\n JXG.Options.curve.highlight =false;\r\n JXG.Options.slider.highlight =false;\r\n JXG.Options.point.showInfoBox =false;\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-10, 11, 10, -9],keepaspectratio: true, axis:false, ticks:false, grid:true, pan:{enabled:false}, zoom:{enabled:false}, showCopyright:false, showNavigation:false});\r\n brd1.options.layer['line'] =2;\r\n brd1.options.layer['polygon'] =2;\r\n brd1.options.layer['image'] =8;\r\n makeResponsive(brd1);\r\n // Creat titleStyle\r\n placeTitle(brd1, 'Wavelength of a Travelling Wave', 'y= A cos(k x - w t)');\r\n //SLiders\r\n var amplitud = 2;\r\n var frec =placeSlider(brd1, -2, 7.5, 1, 2, 4, 4, '  λ');\r\n frec.setAttribute({snapWidth:1.0});\r\n //brd1.create('slider',[[5,7],[8,7],[-5,2,5]], {snapToGrid: false ,face:'square', size:4, strokeWidth: 2, name:'A', strokeColor:'black', fillColor: 'grey', label:{fontSize:function(){return 18*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n\r\n //var frec = placeSlider(brd1, 5, 7, 0, 0.25, 1, 3, ' f');\r\n //frec.setAttribute({visible:false, highline:{visible:false}, baseline:{visible:false}});\r\n //var frec=0.25;\r\n //brd1.create('slider',[[5,7],[8,7],[0,0.2,1]], {visible: false, snapToGrid: false ,face:'square', size:4, strokeWidth: 2, name:'f', strokeColor:'black', fillColor: 'grey', label:{fontSize:function(){return 18*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n //var phi = brd1.create('slider',[[5,6],[8,6],[-10,0,10]], {visible: false, snapToGrid: false ,face:'square', size:4, strokeWidth: 2, name:'φ', strokeColor:'black', fillColor: 'grey', label:{fontSize:function(){return 18*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n\r\n var time1 =placeSlider(brd1, -4, -8, 0, 0, 10, 8, ' t');\r\n time1.setAttribute({unitLabel:'sec'});\r\n //brd1.create('slider',[[-7,-5],[7,-5],[0,0,10]], {visible: false, snapToGrid: false ,face:'square', size:6, strokeWidth:0,\r\n //name:'t', strokeColor:'black', fillColor: 'grey', label:{fontSize:function(){return 20*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n //Graph\r\n var graph = brd1.create('functiongraph',\r\n [function(x){ return amplitud.valueOf()*Math.cos(2*Math.PI/frec.Value()*(time1.Value() - x));}, -10, 10],\r\n {dash: 0, strokeColor: 'blue', strokeWidth: 1}\r\n );\r\n\r\n\r\n //Points\r\n function yPoints(x){return amplitud.valueOf()*Math.cos(2*Math.PI/frec.Value()*(time1.Value() - x ))}\r\n\r\n var point1 = placePoint(brd1, -9, function(){return yPoints(-9)}, 3, '#ff0000', 'black');\r\n var point2 = placePoint(brd1, -8, function(){return yPoints(-8)}, 3, '#3cb371', 'black');\r\n var point3 = placePoint(brd1, -7, function(){return yPoints(-7)}, 3, '#ffa500', 'black');\r\n var point4 =placePoint(brd1, -6, function(){return yPoints(-6)}, 3, '#ff3082', 'black');\r\n var point5 =placePoint(brd1, -5, function(){return yPoints(-5)}, 3, 'yellow', 'black');\r\n var point6 =placePoint(brd1, -4, function(){return yPoints(-4)}, 3, '#006782', 'black');\r\n var point7 =placePoint(brd1, -3, function(){return yPoints(-3)}, 3, '#966737', 'black');\r\n var point8 =placePoint(brd1, -2, function(){return yPoints(-2)}, 3, 'white', 'black');\r\n var point9 =placePoint(brd1, -1, function(){return yPoints(-1)}, 3, '#9667ff', 'black');\r\n var point10 =placePoint(brd1, -0, function(){return yPoints(-0)}, 3, 'blue', 'black');\r\n var point11 =placePoint(brd1, 1, function(){return yPoints(1)}, 3, '#9667ff', 'black');\r\n var point12 =placePoint(brd1, 2, function(){return yPoints(2)}, 3, 'white', 'black');\r\n var point13 =placePoint(brd1, 3, function(){return yPoints(3)}, 3, '#966737', 'black');\r\n var point14 =placePoint(brd1, 4, function(){return yPoints(4)}, 3, '#006782', 'black');\r\n var point15 =placePoint(brd1, 5, function(){return yPoints(5)}, 3, 'yellow', 'black');\r\n var point16 =placePoint(brd1, 6, function(){return yPoints(6)}, 3, '#ff3082', 'black');\r\n var point17 =placePoint(brd1, 7, function(){return yPoints(7)}, 3, '#ffa500', 'black');\r\n var point18 =placePoint(brd1, 8, function(){return yPoints(8)}, 3, '#3cb371', 'black');\r\n var point19 =placePoint(brd1, 9, function(){return yPoints(9)}, 3, '#ff0000', 'black');\r\n //brd1.create('point', [-9 ,function(){return yPoints(-9)}],{face:'o' , name:'pp', size:3, strokeColor: 'black', fillColor:'yellow', withLabel:false, fixed:false, visible:true, label:{fontSize:function(){return 18*brd4.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});;\r\n //var point2 = brd1.create('point', [-8 ,function(){return yPoints(-8)}],{face:'o' , name:'pp', size:3, strokeColor: 'black', fillColor:'yellow', withLabel:false, fixed:false, visible:true, label:{fontSize:function(){return 18*brd4.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});;\r\n //var point3 = brd1.create('point', [-7 ,function(){return yPoints(-7)}],{face:'o' , name:'pp', size:3, strokeColor: 'black', fillColor:'yellow', withLabel:false, fixed:false, visible:true, label:{fontSize:function(){return 18*brd4.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});;\r\n placeDash(brd1, [()=>point1.X(), 0],[()=>point1.X(), ()=>point1.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point2.X(), 0],[()=>point2.X(), ()=>point2.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point3.X(), 0],[()=>point3.X(), ()=>point3.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point4.X(), 0],[()=>point4.X(), ()=>point4.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point5.X(), 0],[()=>point5.X(), ()=>point5.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point6.X(), 0],[()=>point6.X(), ()=>point6.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point7.X(), 0],[()=>point7.X(), ()=>point7.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point8.X(), 0],[()=>point8.X(), ()=>point8.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point9.X(), 0],[()=>point9.X(), ()=>point9.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point10.X(), 0],[()=>point10.X(), ()=>point10.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point11.X(), 0],[()=>point11.X(), ()=>point11.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point12.X(), 0],[()=>point12.X(), ()=>point12.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point13.X(), 0],[()=>point13.X(), ()=>point13.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point14.X(), 0],[()=>point14.X(), ()=>point14.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point15.X(), 0],[()=>point15.X(), ()=>point15.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point16.X(), 0],[()=>point16.X(), ()=>point16.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point17.X(), 0],[()=>point17.X(), ()=>point17.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point18.X(), 0],[()=>point18.X(), ()=>point18.Y()], 1, 'black');\r\n placeDash(brd1, [()=>point19.X(), 0],[()=>point19.X(), ()=>point19.Y()], 1, 'black');\r\n //var segment1 = brd1.create('segment', [[function(){return point1.X()}, 0], point1], {dash: 1, dash: 1, fixed: true, strokeColor: 'black', strokeWidth:1});\r\n\r\n // var txt1 = brd1.create('text', [ function(){return point11.X()+ 0.8}, function(){return point11.Y()/2}, function(){return 'A: ' + point11.Y().toFixed(2)}],{visible: true, fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(10*brd1.canvasWidth/500.)}},);\r\n\r\n //Lambda\r\n\r\n var lambdaSeg = brd1.create('segment', [[0, function(){return Math.abs(amplitud.valueOf()) +1}],[function(){return frec.Value()}, function(){return Math.abs(amplitud.valueOf()) +1}]], {fixed: true, strokeColor: 'black', visible:true, strokeWidth:1,\r\n highlightStrokeWidth: 2,\r\n lastArrow: {type: 2, size: 8, highlightSize: 6},\r\n touchLastPoint: false,\r\n firstArrow: {type: 2, size: 8}\r\n });\r\n\r\n var lambdaTxt = brd1.create('text', [function(){return frec.Value()/2 }, function(){return Math.abs(amplitud.valueOf()) +1.5},\r\n function(){ return ' λ = ' + (frec.Value()).toFixed(0) }],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(12*brd1.canvasWidth/500.)}},);\r\n\r\n\r\n //Animation\r\n function start(){\r\n time1.startAnimation(10, 500, 30);\r\n playImg.setAttribute({visible: false});\r\n pauseImg.setAttribute({visible: true});\r\n\r\n }\r\n\r\n function pause(){\r\n time1.stopAnimation(10, 500, 30);\r\n playImg.setAttribute({visible: true});\r\n pauseImg.setAttribute({visible: false});\r\n\r\n }\r\n //Play Button\r\n var playImg = brd1.create('image', ['/assets/play.svg', [-0.8, -6], [1.5, 1.5]], {visible: true, fixed: true});\r\n playImg.on('up', start);\r\n playImg.setLabel('Tap to Play')\r\n playImg.label.setAttribute({visible:false, offset:[15, -15], CssStyle:'fontFamily:Oswald', fontSize:16});\r\n playImg.on('over', function () {this.label.setAttribute({visible:true});});\r\n playImg.on('out', function () {this.label.setAttribute({visible:false});});\r\n //Pause Button\r\n var pauseImg = brd1.create('image', ['/assets/pause.svg', [-0.8, -6], [1.5, 1.5]], {visible: false, fixed: true});\r\n pauseImg.on('up', pause);\r\n pauseImg.setLabel('Tap to Pause')\r\n pauseImg.label.setAttribute({visible:false, offset:[15, -15], CssStyle:'fontFamily:Oswald', fontSize:16});\r\n pauseImg.on('over', function () {this.label.setAttribute({visible:true});});\r\n pauseImg.on('out', function () {this.label.setAttribute({visible:false});});\r\n brd1.unsuspendUpdate();\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=11f29f2c&\"\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=11f29f2c&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=11f29f2c&prod&lang=scss&\""],"sourceRoot":""}