{"version":3,"sources":["webpack:///./src/components/physics/2dmotion/Throw.vue?bfb6","webpack:///./src/components/physics/2dmotion/Throw.vue","webpack:///./src/components/physics/2dmotion/Boxes.js","webpack:///src/components/physics/2dmotion/Throw.vue","webpack:///./src/components/physics/2dmotion/Throw.vue?7ffb","webpack:///./src/components/physics/2dmotion/Throw.vue?3c27"],"names":["ref","attrs","_v","staticClass","staticRenderFns","_vm","_self","staticStyle","_c","Boxes","box1","JXG","Options","board","minimizeReflow","text","highlight","fixed","image","cssDefaultStyle","line","arc","point","showInfoBox","brd2","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","pan","enabled","zoom","showCopyright","showNavigation","makeResponsive","options","layer","placeTitle","placeLogo","play","placePlay","eraser","placeErase","circc","create","visible","strokeWidth","strokeColor","dash","center","radiuspoint","anglepoint","lev","face","size","name","label","fontSize","canvasHeight","cssStyle","vertices","withLines","fillColor","vel","baseline","highline","withTicks","ang","ball","trace","shadow","x","y","tt","dt","i","j","run","clearTrace","Value","Math","sin","cos","moveTo","setTimeout","on","Y","X","min","toFixed","PI","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newPhys","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"kHAAA,W,4FCA4D,EAAU,W,IAAgBA,EAAI,KAAK,EAAK,EAAI,S,OAA6lB,iBAAK,IAAK,MAAoFA,GAAI,GAAI,qlBAACC,IAAK,M,CAAE,EAAI,GAAC,2EAAK,SAAE,MAAMC,CAA0LD,GAAM,QAAoB,0KAAE,MAAK,CAAOE,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CAAYF,GAAM,eAAoB,UAAE,MAAK,CAA2CE,iBAAiB,K,CAAQ,OAAO,mCAAyB,kBAAE,MAAK,CAAKA,iCAC/vC,QACGC,6CAAmCC,EAAI,oFAAI,QAAiB,EAAmBH,YAClF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAIG,EAAG,IAACC,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,OAAA,yBAAAC,GACA,KAAAF,OAAAC,OAAA,wBAAAC,GACA,IAAAC,EAAA,CACA,CAAAD,MAAA,oBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,gCAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,uCAAAE,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,SAEA,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,MACApG,EAAAC,QAEAqG,SAAA,WACA,OAAAb,MAAA,oBACAc,cAAA,2BACAC,KAAA,EAAAvD,KAAA,WAAAwD,QAAA,uCACA,CAAAxD,KAAA,cAAAwD,QAAA,yBC9F6W,I,wBCQzWC,EAAY,eACd,EACA,EACA/G,GACA,EACA,KACA,KACA,MAIa,aAAA+G,E","file":"js/chunk-60f032a4.3e3fa5cd.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!./Throw.vue?vue&type=style&index=0&id=3ad9823a&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"ia\"},[_vm._v(\"\\n Projectile Motion\\n \")]),_c('p',[_vm._v(\"\\n Projectile motion is the motion of an object thrown or projected into the air.\\n During such motion, the object travels along a parabolic path.\\n During the flight, the only force acting on the object is the Earth's gravity.\\n An object in projectile motion is known as a projectile, and the path traced by the object is called the trajectory.\\n Think of a football player throwing the ball to another player.\\n The motion of the ball, as it travels from one player to another, is an example of projectile motion.\\n \")]),_c('h3',{ref:\"ca\"},[_vm._v(\"\\n Equation of Motion for a Projectile\\n \")]),_vm._m(0),_vm._m(1),_c('h3',{ref:\"pg\",attrs:{\"id\":\"mgk\"}},[_vm._v(\"\\n MagicGraph: Trajectory of a Football in Projectile Motion\\n \")]),_c('p',[_vm._v(\"Through this MagicGraph, students will learn:\")]),_vm._m(2),_c('v-responsive',[_c('v-layout',{attrs:{\"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 Let's say the object is thrown with an initial velocity of \\\\(v\\\\) in a direction \\\\(\\\\alpha\\\\) from the horizon.\\n The air resistance is assumed to be negligible. Then, the only force acting on the object is due to gravity, which acts in the downward direction.\\n The horizontal velocity of the object at \\\\(t=0\\\\) is given as $$u_x (t=0) = v \\\\cos \\\\alpha$$\\n Since there is no force acting on the object in the horizontal direction, the horizontal velocity of the object \\\\(u_x\\\\) remains constant at\\n all times during the flight of the object. $$u_x (t) = u_x(0) = v \\\\cos \\\\alpha$$ \"),_c('br'),_vm._v(\"\\n The vertical velocity of the object at \\\\(t=0\\\\) is given as $$u_y (t=0) = v \\\\sin \\\\alpha$$ The overall motion of a projectile can be divided into two phases: the ascent phase (during which the object goes up) and the descent phase (during which the object comes down). The path traversed by the projectile is called its trajectory.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('ul',{staticStyle:{\"list-style-type\":\"square\"}},[_c('li',[_c('h5',[_vm._v(\"Duration of Ascent t\"),_c('sub',[_vm._v(\"ac\")])]),_vm._v(\"\\n During the ascent phase, the vertical velocity of the projectile decreases with time due to gravity. Let's say the ascent phase lasts until \\\\(t = t_{ac}\\\\). Then at any \\\\(t \\\\le t_{ac}\\\\): $$u_y(t) = v \\\\sin \\\\alpha - g t$$ The ascent phase ends when the vertical velocity of the projectile becomes zero, i.e., $$u_y\\\\vert_{t=t_{ac}} = 0 = v \\\\sin \\\\alpha - g t_{ac}$$ Thus, we obtain the duration of ascent as: $$t_{ac} = \\\\frac{v \\\\sin\\\\alpha}{g}$$ Note that another way to look at \\\\(t_{ac}\\\\) is the time taken for the projectile to reach the peak height on its trajectory.\\n \")]),_c('li',[_c('h5',[_vm._v(\"Total Time of Flight t\"),_c('sub',[_vm._v(\"tot\")])]),_vm._v(\"\\n The total time of flight is the duration for which the projectile remains in the flight (i.e., above the earth's surface). It is given as the sum of the duration of accent and the duration of descent. $$t_{tot} = t_{ac} + t_{dc} = \\\\frac{2 v \\\\sin\\\\alpha}{g}$$\\n \")]),_c('li',[_c('h5',[_vm._v(\"Range of the Projectile R\")]),_vm._v(\"\\n The total horizontal distance traveled by the projectile during its flight is called the range (R) of the projectile. Since the horizontal velocity of the projectile remains constant during the flight,\\n the range of a projectile can simply be calculated by multiplying the horizontal velocity with the total time of flight.\\n $$R = u_x(0) t_{tot} =\\\\frac{2 v^2 \\\\sin\\\\alpha \\\\cos\\\\alpha}{g} = \\\\frac{ v^2 \\\\sin2\\\\alpha}{g} $$\\n \")]),_c('li',[_c('h5',[_vm._v(\"Peak Point on the Trajectory h\"),_c('sub',[_vm._v(\"max\")])]),_vm._v(\"\\n Using the equation of motion, the vertical distance traveled by the projectile as a function of time can be expressed as $$y(t) = u_y(0)t - \\\\frac{1}{2}gt^2 = v \\\\sin \\\\alpha t - \\\\frac{1}{2}gt^2$$ The peak of the trajectory is reached at \\\\(t = t_{ac} = \\\\frac{v \\\\sin\\\\alpha}{g} \\\\). Thus, we obtain: $$h_{max} = y(t=t_{ac}) = \\\\frac{(v^2 \\\\sin^2 \\\\alpha)}{2g}$$\\n \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('ul',{staticStyle:{\"list-style-type\":\"square\"}},[_c('li',[_vm._v(\"To calculate the range, maximum height, and trajectory, of a projectile.\")]),_c('li',[_vm._v(\"To calculate the location and velocity of a projectile at different points in its trajectory.\")])])\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 placeRightText,\r\n placeSliderSwitch,\r\n placeDash,\r\n placeCircle,\r\n placeLogo,\r\n placePlay,\r\n placeErase\r\n} from '../../../common/edliy_utils-geometric';\r\nconst Boxes = {\r\n box1: function () {\r\n\t JXG.Options.board.minimizeReflow = 'none';\r\n JXG.Options.text.highlight=false;\r\n JXG.Options.text.fixed=true;\r\n JXG.Options.image.highlight=false;\r\n JXG.Options.text.cssDefaultStyle='fontFamily:Oswald';\r\n JXG.Options.line.highlight=false;\r\n JXG.Options.arc.highlight=false;\r\n JXG.Options.point.highlight=false;\r\n JXG.Options.point.showInfoBox=false;\r\n var brd2 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-1, 10.5, 14., -4.5],\r\n keepaspectratio: true, axis:false, ticks:false, grid:true, pan:{enabled:false}, zoom:{enabled:false}, showCopyright:false, showNavigation:false});\r\n makeResponsive(brd2);\r\n brd2.options.layer['line'] =6;\r\n brd2.options.layer['segment'] =6;\r\n\t brd2.options.layer['point'] =6;\r\n brd2.options.layer['polygon'] =2;\r\n brd2.options.layer['image'] =8;\r\n ////////////////////////////////////////////////////\r\n\t //brd2.create('text', [5, 10, 'Projectile Motion'], {fontSize:function(){return 32*brd2.canvasHeight/800}});\r\n placeTitle(brd2, 'Projectile Motion');\r\n placeLogo(brd2);\r\n var play = placePlay(brd2,'left');\r\n var eraser = placeErase(brd2);\r\n\t //\r\n\t var circc=brd2.create('arc', [[0,0],[5, 0], [0.00,5]],{visible:true, strokeWidth:0.5, strokeColor:'black', dash:1, center:{visible:false}, radiuspoint:{visible:false}, anglepoint:{visible:false}});\r\n\t //\r\n var lev =brd2.create('glider', [5, 5, circc], {face:'circle', size:3, name:'Launch Angle (Drag Me!)', strokeColor:'black', label:{fontSize:function(){return 18*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n\r\n brd2.create('polygon', [[-1, -0], [-1, -5], [22, -5], [22, -0]],{vertices:{visible:false, fixed:true}, withLines:false, fillColor:'grey'});\r\n\t //\r\n var vel = brd2.create('slider', [[0, -2],[4, -2],[5, 8, 11.5]], {baseline:{strokeWidth:7, strokeColor:'grey'},highline:{strokeWidth:7, strokeColor:'black'}, name:'Launch Speed',size:8,face:'square', fillColor:'grey',strokeColor:'black', withTicks:false, label:{fontSize:function(){return 18*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'}});\r\n\t //\r\n\t var ang =brd2.create('angle', [[1,0], [0,0], lev],{visible:false});\r\n\t //\r\n var ball =brd2.create('point', [0, 0.0], {name:'', size:1, trace:true, fixed:true});\r\n\t //\r\n brd2.create('image', ['/assets/player.svg', [-0.25, -1.4],[2,2]],{fixed:true, shadow:false});\r\n\t //\r\n\t var x =0; var y=0; var tt=0; var dt=0.015; var i=0; var j=0;\r\n\t var run =function(){\r\n\t if(i==0){\r\n\t ball.clearTrace();}\r\n\t i =1;\r\n\t if(x<=vel.Value()*vel.Value()*Math.sin(2*ang.Value())/9.8 && j>0){\r\n\t\ttt +=dt;\r\n\t\tx = vel.Value()*Math.cos(ang.Value())*tt;\r\n\t\ty = vel.Value()*Math.sin(ang.Value())*tt -0.5*9.8*tt*tt;}\r\n ball.moveTo([x,y]);\r\n\t\tif(x<=vel.Value()*vel.Value()*Math.sin(2*ang.Value())/9.8 && j>0){\r\n\t\tsetTimeout(run, 0);}\r\n\t\telse{return;}\r\n }\r\n\t play.on('down', function(){x=0; y=0.0; tt=0; i=0; j=1; run();});\r\n\t eraser.on('down', function(){x=0; y=0.0; tt=0; i=0; j=0; ball.clearTrace(); ball.moveTo([0,0])});\r\n\t vel.on('down', function(){x=0; y=0; j=0});\r\n\t lev.on('down', function(){x=0; y=0; j=0});\r\n\t //\r\n\t //brd2.create('curve',[function(t){return vel.Value()*Math.cos(ang.Value())*t},\r\n\t//\t\t\t\t\tfunction(t){return vel.Value()*Math.sin(ang.Value())*t -0.5*9.8*t*t},\r\n\t // 0, function(){return ball.X()/vel.Value()/Math.cos(ang.Value())}],{strokeWidth:1, dash:1, strokeColor:'black', visible:true});\r\n//\r\n\t brd2.create('image', ['/assets/ball.svg',\r\n [function(){return x-0.25}, function(){return lev.Y()*x/lev.X()-0.5*9.8*x*x/(vel.Value()*Math.cos(ang.Value()))/(vel.Value()*Math.cos(ang.Value()))-0.25}],[0.5,0.5]],{highlight:false});\r\n //\r\n\t brd2.create('arrow', [[0,0], lev],{dash:1, strokeColor:'grey'});\r\n\t //\r\n\t brd2.create('segment', [[0.0,0], [function(){return x;}, 0.0]],{strokeColor:'black', strokeWidth:1, dash:1});\r\n\t //\r\n\t brd2.create('segment', [[function(){return vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6}, 0.0], [function(){return vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6}, function(){return lev.Y()*Math.min(x, vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)/lev.X()-0.5*9.8*Math.min(x,vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)*Math.min(x,vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)/(vel.Value()*Math.cos(ang.Value()))/(vel.Value()*Math.cos(ang.Value()))}]],{strokeColor:'black', strokeWidth:1, dash:1});\r\n\t //\r\n\t brd2.create('text', [function(){return x*0.5}, -.25, function(){return (x).toFixed(2)+' m'}], {fixed:true, fontSize:function(){return 12*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n\t brd2.create('text', [function(){return vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6 +0.15}, function(){return 0.5*(lev.Y()*Math.min(x, vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)/lev.X()-0.5*9.8*Math.min(x,vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)*Math.min(x,vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)/(vel.Value()*Math.cos(ang.Value()))/(vel.Value()*Math.cos(ang.Value())));}, function(){return (lev.Y()*Math.min(x, vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)/lev.X()-0.5*9.8*Math.min(x,vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)*Math.min(x,vel.Value()*vel.Value()*Math.sin(2*ang.Value())/19.6)/(vel.Value()*Math.cos(ang.Value()))/(vel.Value()*Math.cos(ang.Value()))).toFixed(2) +' m'}], {fixed:true, fontSize:function(){return 12*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\t //\r\n brd2.create('text', [1, 8.5, '1. Select a launch angle. 2. Select a launch speed. 3. Tap on the play button to throw.'], {fixed:true, fontSize:function(){return 20*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\t //\r\n brd2.create('text', [2, -1, function(){return 'Launch Angle =' + (180*ang.Value()/Math.PI).toFixed(1) + '(o )'}], {fixed:true, fontSize:function(){return 18*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\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!./Throw.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!./Throw.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Throw.vue?vue&type=template&id=3ad9823a&\"\nimport script from \"./Throw.vue?vue&type=script&lang=js&\"\nexport * from \"./Throw.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Throw.vue?vue&type=style&index=0&id=3ad9823a&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":""}