{"version":3,"sources":["webpack:///./src/components/mathematics/Math12thGrade/ode/Lesson.vue","webpack:///./src/components/mathematics/Math12thGrade/ode/Boxes.js","webpack:///src/components/mathematics/Math12thGrade/ode/Lesson.vue","webpack:///./src/components/mathematics/Math12thGrade/ode/Lesson.vue?868f","webpack:///./src/components/mathematics/Math12thGrade/ode/Lesson.vue?b515","webpack:///./src/components/mathematics/Math12thGrade/ode/Lesson.vue?43c2"],"names":["ref","attrs","staticClass","staticRenderFns","Boxes","box1","JXG","Options","point","showInfoBox","highlight","text","fixed","curve","cssDefaultStyle","f","brd1","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","visible","grid","showCopyright","showNavigation","pan","enabled","zoom","suspendUpdate","makeResponsive","placeTitle","go","placeImage","on","doIt","snip","jc","snippet","document","getElementById","value","x","update","P","create","fontSize","Math","round","canvasWidth","cssStyle","name","snapToGrid","strokeColor","fillColor","size","withLabel","label","canvasHeight","anchorX","anchorY","CssStyle","X","toFixed","Y","odeR","Numerics","rungeKutta","odeL","g1","strokeWidth","g2","updateDataArray","i","data","h","this","dataX","dataY","length","unsuspendUpdate","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"qJAA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAAwV,iBAAK,IAAK,SAAwNC,GAAK,GAAC,8U,IAAC,MAAmB,yMAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CACxwB,mBACyC,IAAC,IAAqB,EAAe,Y,IAACA,OAAgB,EAAK,EAAI,MAAK,GAC5G,eAEF,YAAiBC,K,wjCCkBXC,EAAQ,CACVC,KAAM,WACJC,IAAIC,QAAQC,MAAMC,aAAY,EAC9BH,IAAIC,QAAQC,MAAME,WAAU,EAC5BJ,IAAIC,QAAQI,KAAKD,WAAU,EAC3BJ,IAAIC,QAAQI,KA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AAAT,OAAAC,OAAA,8BAAAQ,GACA,IAAAC,GAAA,EACA,KAAAV,OAAAC,OAAA,2BAAAS,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACA7F,EAAAC,QAEA8F,SAAA,WACA,OAAAb,MAAA,aACAc,cAAA,2BACAC,KAAA,EAAAjD,KAAA,WAAAkD,QAAA,uCACA,CAAAlD,KAAA,cAAAkD,QAAA,gDC3E6X,I,wBCQzXC,EAAY,eACd,EACA,EACApG,GACA,EACA,KACA,KACA,MAIa,aAAAoG,E,kECnBf","file":"js/chunk-6b62c4a2.f3f0cc5b.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"intro\"},[_vm._v(\"\\n Ordinary Differential Equation\\n \")]),_c('p',[_vm._v(\"\\n An ordinary differential equation (or simply ODE) is an equation of the form:\\n $$y^{(n)}(x) = g(x)$$\\n where \\\\(y^{(n)}(x)\\\\) is the \\\\(n^{th}\\\\) derivative of \\\\(y(x)\\\\) w.r.t. \\\\(x\\\\), i.e.,\\n $$y^{(n)}(x) = \\\\frac{d^ny(x)}{dx^n}$$.\\n \")]),_vm._m(0),_c('h3',{ref:\"pg\"},[_vm._v(\"\\n MagicGraph | Linear ODE\\n \")]),_c('p',[_vm._v(\" In this MagicGraph, you will learn about solution of a linear ordinary differential equation and boundary condition. \")]),_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',{staticClass:\"a\"},[_c('li',[_c('h5',[_vm._v(\" First Order Ordinary Differential Equation \")])]),_c('p',[_vm._v(\"\\n First order ordinary differential equation is a special form of ordinary differential equation that involve first order derivative. First order ordinary differential equations are\\n also known as linear ordinary differential equations.\\n $$y'(x) = g(x)$$\\n \")]),_c('li',[_c('h5',[_vm._v(\" General Solution of a Linear Ordinary Differential Equation \")])]),_c('p',[_vm._v(\"\\n The general solution of a linear ODE is given as:\\n $$y(x) = \\\\int g(x) dx + c$$\\n where \\\\(c\\\\) is the integration constant, and is determined by using boundary conditions.\\n \")]),_c('li',[_c('h5',[_vm._v(\" Particular Solution of a Linear Ordinary Differential Equation \")])]),_c('p',[_vm._v(\"\\n The general solution of a linear ODE is given as:\\n $$y(x) = \\\\int g(x) dx + c$$\\n Let's say the boundary condition is \\\\(y(x_0) = y_0\\\\).\\n Using this boundary condition, we obtain the particular solution as:\\n $$y(x) -y_0 = \\\\int g(x) dx $$\\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 placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeSliderSwitch,\r\n placeRightText,\r\n} from '../Utils';\r\nconst Boxes = {\r\n box1: function () {\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.text.cssDefaultStyle='fontFamily:Oswald;'\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-7, 8, 7, -6],\r\n keepaspectratio: true, axis:true, ticks:{visible:false},\r\n grid:true, showCopyright:false, showNavigation:false,\r\n pan:{enabled:false}, zoom:{enabled:false}});\r\n brd1.suspendUpdate();\r\n //Make Responsive\r\n makeResponsive(brd1);\r\n //Place Title\r\n placeTitle(brd1, 'First Order Ordinary Differential Equation', '');\r\n //\r\n var f;\r\n //var sinp = placeInput(brd1, 4, 3.5);\r\n //var sinp = brd1.create('input', [4, 3.5, ' ' , ''], {cssStyle:'width:5%', fontSize:function(){return 20*brd1.canvasHeight/800}, fixed:true});//\r\n var go =placeImage(brd1, '/assets/go.svg', 0.5, 5., 1.0,0);\r\n go.on('down', function(){doIt()});\r\n //var txt = brd1.create('text', [-4.5, 1, function(){return 'Initial condition:
( ' + P.X().toFixed(2) + ' , ' + P.Y().toFixed(2) + ' )'}],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}},);\r\n //Function\r\n var doIt = function()\r\n {\r\n let snip = brd1.jc.snippet(document.getElementById(\"odeinput\").value, true, 'x');\r\n f = function(x)\r\n {\r\n return [snip(x)];\r\n }\r\n brd1.update();\r\n }\r\n //Input\r\n var inp = brd1.create('text', [-4, 5.5, '
'],\r\n { fixed:true,\r\n fontSize:function(){return Math.round(20*brd1.canvasWidth/800.)},\r\n cssStyle: 'fontFamily:Oswald;background-color:#008CBA;border: 1px solid black;border-radius:3.5px;'\r\n });\r\n //Point\r\n var P = brd1.create('point',[0,0], {name:'Drag Me!', snapToGrid:true, strokeColor: 'black', fillColor: '#5B43FF', size:5, withLabel:true, fixed:false, visible:true, label:{fontSize:function(){return 18*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n //Text\r\n brd1.create('text', [-5, 5.5, 'y\\'(x) = '],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/800.)}},);\r\n //brd1.create('text', [-4.5, 5.35, 'dx'],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(13*brd1.canvasWidth/500.)}},);\r\n //brd1.create('text', [-4.2, 5.5, '='],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/800.)}},);\r\n//var txt =\r\n brd1.create('text', [-5, 4.5, function(){return 'y(x) = ∫ (' + document.getElementById(\"odeinput\").value + ') dx = f(x)'}],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/800.)}},);\r\n//\r\n brd1.create('text', [-5, 3.5, 'Bounding Condition: '],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}},);\r\n //brd1.create('text', [-4.5, 3, function(){return 'x =' + P.X().toFixed(2)}],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}},);\r\n brd1.create('text', [-5, 2.5, function(){return 'y(x='+ P.X().toFixed(2)+')='+ P.Y().toFixed(2)}],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(24*brd1.canvasWidth/800.)}});\r\n\r\n brd1.create('text', [4.5, -0.25, 'x'],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}},);\r\n brd1.create('text', [-0.25, 6.5, 'y'],{fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}},);\r\n//\r\n //Move\r\n var odeR = function ()\r\n {\r\n return JXG.Math.Numerics.rungeKutta('heun', [P.Y()], [P.X(), P.X()+5], 200, f);\r\n }\r\n var odeL = function ()\r\n {\r\n return JXG.Math.Numerics.rungeKutta('heun', [P.Y()], [P.X(), P.X()-5], 200, f);\r\n }\r\n //Curves\r\n doIt();\r\n var g1 = brd1.create('curve', [[0],[0]], {strokeColor:'red', strokeWidth:4});\r\n var g2 = brd1.create('curve', [[0],[0]], {strokeColor:'red', strokeWidth:4});\r\n//\r\n g1.updateDataArray = function()\r\n {\r\n let data = odeR();\r\n let h = 10/200;\r\n let i;\r\n this.dataX = [];\r\n this.dataY = [];\r\n for(i=0; i\r\n
\r\n

\r\n Ordinary Differential Equation\r\n

\r\n

\r\n An ordinary differential equation (or simply ODE) is an equation of the form:\r\n $$y^{(n)}(x) = g(x)$$\r\n where \\(y^{(n)}(x)\\) is the \\(n^{th}\\) derivative of \\(y(x)\\) w.r.t. \\(x\\), i.e.,\r\n $$y^{(n)}(x) = \\frac{d^ny(x)}{dx^n}$$.\r\n

\r\n \r\n

\n MagicGraph | Linear ODE\r\n

\r\n

In this MagicGraph, you will learn about solution of a linear ordinary differential equation and boundary condition.

\r\n \r\n \r\n
\r\n \r\n \r\n
\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=ea202716&\"\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=ea202716&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=ea202716&prod&lang=scss&\""],"sourceRoot":""}