{"version":3,"sources":["webpack:///./src/components/physics/buo/Buo.vue?a8a1","webpack:///./src/components/physics/buo/Buo.vue","webpack:///./src/components/physics/buo/Boxes.js","webpack:///src/components/physics/buo/Buo.vue","webpack:///./src/components/physics/buo/Buo.vue?e5fb","webpack:///./src/components/physics/buo/Buo.vue?3f94"],"names":["ref","attrs","staticClass","_vm","_c","staticRenderFns","Boxes","box1","brd","JXG","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","pan","enabled","zoom","showCopyright","showNavigation","options","layer","resize","resizeContainer","containerObj","clientWidth","clientHeight","fullUpdate","window","onresize","wts","create","fixed","anchorX","fontSize","canvasHeight","cssStyle","anchorY","gs","df","w1","w2","Value","visible","toFixed","vertices","withLines","fillColor","li","ri","i","ball","attractors","attractorDistance","snatchDistance","Y","X","Math","max","color","shadow","shuffle","setLabel","label","setAttribute","offset","CssStyle","on","this","iret","min","moveTo","name","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","component"],"mappings":"kHAAA,W,uECA4D,EAAU,W,IAAgBA,EAAI,KAAM,EAAK,EAAI,S,OAA8gC,iBAAM,IAAK,OAAmjCA,GAAI,mgCAAQ,IAAK,OAAu6BA,GAAI,8iCAAK,IAAK,SAAkuCC,GAAK,GAAC,+5B,IAAC,MAAmB,ksCAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CACh8I,mBACyC,IAAC,IAAqB,EAAmB,YAClF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAIC,EAAG,KAAM,CAACC,EAAE,k5FAAC,W,IAA8FF,OAAgB,EAAK,EAAI,MAAK,GACrK,0FAEF,YAAiBG,K,moBCNXC,EAAQ,CACVC,KAAM,WACJ,IAAIC,EAAMC,IAAIC,SAASC,UAAU,UAAU,CAACC,YAAa,EAAE,EAAG,KAAM,IAAK,KAAKC,iBAAiB,EAAMC,MAAK,EAAOC,OAAM,EAAOC,MA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AA,EACA,KAAAR,OAAAC,OAAA,8BAAAO,GACA,IAAAC,GAAA,EACA,KAAAT,OAAAC,OAAA,2BAAAQ,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACAnF,EAAAC,SC5I2W,I,wBCQvWoF,EAAY,eACd,EACA,EACAtF,GACA,EACA,KACA,KACA,MAIa,aAAAsF,E","file":"js/chunk-402cdd72.95df09bf.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!./Buo.vue?vue&type=style&index=0&id=6131ff5c&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"def\"},[_vm._v(\"\\n What is Buoyancy?\\n \")]),_c('p',[_vm._v(\"\\n When an object is immersed in a fluid, the fluid exerts an upward force on the object. This force is known as buoyant force, and this phenomenon is known as buoyancy. The magnitude of the bouyant force acting on an object depends on the density of the fluid and the volume of fluid displaced by the object.\\n \")]),_c('h3',[_vm._v(\"\\n Buoyancy & Apparent Weight\\n \")]),_c('p',[_vm._v(\"\\n Have you ever wondered why objects feel lighter when they are submerged in water? The object feels lighter due to effect of buoyancy. Let us explain.\\n There are two force acting on an object when it is submerged in a liquid: One is the force due to gravity (\\\\(F_G\\\\)) and the other is the force due to buoyancy (\\\\(F_B\\\\)). These two forces act in\\n opposite direction. As a result the force due to gravity (that causes weight) can be partially or completely cancelled by the force due to buoyancy. This is why objects weigh less when submersed in a liquid.\\n \")]),_c('h3',{ref:\"cal\"},[_vm._v(\"\\n Calculating Apparent Weight\\n \")]),_c('p',[_vm._v(\"\\n Let's consider a solid object with volume V and made of a material with density \\\\(\\\\rho_s\\\\). The object is submersed in a liquid with density \\\\(\\\\rho_f\\\\).\\n The force acting on this object due to gravity is given as:\\n $$F_G = \\\\rho_s g V$$\\n where \\\\(\\\\rho_s\\\\) is the density of the solid object, \\\\(g \\\\) is the acceleration due to gravity and \\\\(V \\\\) is the volume of the object. Note that the force due to gravity acts downward.\\n We will use Archimedes principle to calculate the magnitude of buoyant force acting on this object. According to Archimedes principle, the magnitude of\\n the buoyant force is equal to the weight of the displaced liquid. Thus, we obtain:\\n $$F_B = \\\\rho_f g V$$\\n Note that the buoyant force acts upward.\\n Now, we calculate the net downward force acting on the object.\\n $$F_G - F_B = (\\\\rho_s -\\\\rho_f)Vg$$\\n You can see that the net downward force action on the object is reduced due to buoyant force. This downward\\n \")]),_c('h3',{ref:\"arche\"},[_vm._v(\"\\n The Archimedes Principle\\n \")]),_c('p',[_vm._v(\"\\n The Archimedes principle states that the buoyant force exerted on an object immersed in a fluid is equal to the weight of the fluid displaced by the object. Stated in simple terms — the buoyant force acting on an object can be calculated by assuming the submerged portion of the object is made of the fluid that the object is submerged in and then by calculating the weight of that mass of fluid. Expressed as an equation, the Archimedes principles reads as\\n $$F_\\\\text{Buo} = \\\\rho_f g V_\\\\text{Sub}$$\\n where \\\\(V_\\\\text{sub}\\\\) is the volume of the object submerged in the fluid.\\n For an object of volume \\\\(V\\\\) that is completely submerged in a fluid, the Archimedes principle becomes\\n $$F_\\\\text{Buo} = \\\\rho_f g V$$\\n The Archimedes principle is valid for any fluid whether its a liquid (such as water) or a gas (such as air).\\n \")]),_c('h3',{ref:\"pg\"},[_vm._v(\"\\n Measuring Buoyancy\\n \")]),_c('p',[_vm._v(\" Have you ever noticed that an object feels lighter when it is submerged in water (or as a matter of fact in any fluid). This is a consequence of buoyancy. The weight of the object acts downward while the buoyant force due to the fluid acts upward. Thus, the weight of the object is opposed by the buoyant force exerted on it by the fluid — as a result the object feels lighter in water. By measuring the weight of the object inside and outside of the fluid, the buoyant force acting on the object can be measured. Through this interactive session, you will learn about — \")]),_vm._m(0),_c('h3',[_vm._v(\"MagicGraph | COVID-19 Metal Detector \")]),_c('p'),_c('h5',[_vm._v(\" Problem Statement \")]),_c('p',[_vm._v(\"\\n Kettlebells are out of stock this year — courtesy of COVID-19.\\n You are a fitness enthusiast and you really need a kettlebell for your daily exercise.\\n One day a mysterious salesman shows up to your door. He has several expensive kettlebells to sell — each made of a different metal.\\n Your job is to figure out what metal the kettlebell is made of, and if it is worth the asking price.\\n \")]),_c('h5',[_vm._v(\" Steps \")]),_vm._m(1),_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',[_c('li',[_c('h3',[_vm._v(\"Measuring Buoyancy \")]),_vm._v(\"\\n One of the ways to measure the buoyant force exerted on an object by a fluid is by determining the weight of the object inside and outside of the fluid. Let's say the object weighs \\\\(W_{app}\\\\) when measured while submerged in the fluid and weighs \\\\(W_{vac}\\\\) when measured in vaccuum.\\n Then, the buoyant force acting on the object can be determined as\\n $$F_\\\\text{Buo} = W_{vac} - W_{app} $$\\n The weight of an object in vacuum is simply its mass multiplied with gravity, i.e. \\\\(W_{vac} = mg\\\\). Further, the mass of a solid object equals density times volume i.e. \\\\(m = \\\\rho_s V\\\\).\\n Thus, we have\\n $$F_\\\\text{Buo} = \\\\rho_s V g - W_{app}$$\\n \")]),_c('li',[_c('h3',[_vm._v(\"Factors Affecting Buoyancy \")]),_vm._v(\"\\n The Archimedes principle states that the buoyant force acting on an object is equal to the weight of the fluid displaced by the object. Mathematically, this is expressed as\\n $$F_\\\\text{Buo} = \\\\rho_f Vg$$\\n where \\\\(\\\\rho_f\\\\) is the density of the fluid, \\\\(V\\\\) is the volume of displaced fluid, and \\\\(g\\\\) is the acceleration due to gravity (a constant). Thus, according to Archimedes principle:\\n 1.the greater the density of the fluid, the greater the buoyant force exerted by it on a submerged object.\\n 2. the larger the volume of fluid displaced, the greater the magnitude of the buoyant force.\\n \")]),_c('li',[_c('h3',[_vm._v(\" Application of Archimedes Principle: Determining the Density of Solid Objects \")]),_vm._v(\"\\n The Archimedes principle can be used to determine the density of a solid object.\\n Let's say the weight of an object when submerged in a fluid of known density is \\\\(W_{in}\\\\). The same object when measured outside of the fluid weights \\\\(W_{vac} = \\\\rho_s V g\\\\) where \\\\(\\\\rho_s\\\\) is the density of the solid body and \\\\(V\\\\) is its volume.\\n Thus, the density of the solid object is\\n $$ \\\\rho_s = \\\\frac{W_{vac}}{Vg}$$\\n Due to buoyancy, the object weighs lesser when submerged in water. The weight of an object when submerged in a liquid is called its apparent weight. \\\\(W_{app} \\\\lt W_{vac}\\\\).\\n $$F_{Buo} = W_{vac} - W_{app} $$\\n Using Archimedes principle, \\\\(F_{Buo}\\\\) can be expressed as\\n $$F_{Buo} = \\\\rho_f V g$$\\n Substituting this in the above equation:\\n $$\\\\rho_f Vg = W_{vac} - W_{app}$$\\n or\\n $$V = \\\\frac{W_{vac} - W_{app}}{\\\\rho_f g}$$\\n $$ \\\\boxed{\\\\rho_s = \\\\frac{\\\\rho_f W_{vac}}{W_{vac} - W_{app}}}$$\\n The above formula is known as Archimedes formula. Archimedes formula can also be expressed in terms of vacuum mass (\\\\(M_{vac}\\\\)) and apparent mass (\\\\(M_{app}\\\\)) of the object. Note that \\\\(W_{vac} = M_{vac} g\\\\) and\\n \\\\(W_{app} = M_{app} g\\\\). Substituting in the Archimedes formula, we obtain:\\n $$ \\\\boxed{\\\\rho_s = \\\\frac{\\\\rho_f M_{vac}}{M_{vac} - M_{app}}}$$\\n \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n Follow the steps below to accomplish this task.\\n \"),_c('ul',{staticClass:\"a\"},[_c('li',[_vm._v(\" First, weight the kettlebell in vacuum. Enter the vacuum mass of the object in the input field labeled \\\\(M_{vac}\\\\).\")]),_c('li',[_vm._v(\" Next, measure the kettlebell in water. Enter the apparent mass (i.e. submerged mass) of the object in the input field labeled \\\\(M_{app}\\\\). \")]),_c('li',[_vm._v(\"\\n Then, use Archimedes principle to calculate the density using \\\\(M_{vac}\\\\) and \\\\(M_{app}\\\\).\\n Compare the calculated density with the densities of known metals to identify the metal that the kettlebell is made of.\\n \")]),_c('li',[_vm._v(\" Click on the shuffle button to try different kettlebells. \")])])])\n}]\n\nexport { render, staticRenderFns }","const Boxes = {\r\n box1: function () {\r\n var brd = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-5, 11.5, 11, -4.5],keepaspectratio: true, axis:false, ticks:false, grid:true, pan:{enabled:false}, zoom:{enabled:false}, showCopyright:false, showNavigation:false});\r\n brd.options.layer['line'] =6;\r\n brd.options.layer['segment'] =9;\r\n brd.options.layer['polygon'] =12;\r\n brd.options.layer['image'] =8;\r\n var resize = function () {\r\n brd.resizeContainer(brd.containerObj.clientWidth, brd.containerObj.clientHeight, true);\r\n brd.fullUpdate();\r\n };\r\n window.onresize = resize;\r\n var wts = [8050.00, 19500.00, 10500.00];\r\n brd.create('text', [3,11, 'Measuring Density of a Solid'], {fixed:true, anchorX:'middle', fontSize:function(){return 32*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\t brd.create('image', ['/assets/goldbars.svg',[-3.75, 9.75],[0.5, 0.5]],{anchorX:'right', anchorY:'middle'});\r\n\t brd.create('image', ['/assets/silverbars.svg',[0.75, 9.75],[0.5, 0.5]],{anchorX:'right', anchorY:'middle'});\r\n\t brd.create('image', ['/assets/ironbars.svg',[5.75, 9.75],[0.5, 0.5]],{anchorX:'right', anchorY:'middle'});\r\n brd.create('text', [-3,10, 'Gold = 19.5 g/cc'], {fixed:true, anchorX:'left', fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n brd.create('text', [1.5,10, 'Silver = 10.5 g/cc'], {fixed:true, anchorX:'left', fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n brd.create('text', [6.5,10, 'Steel = 8.050 g/cc'], {fixed:true, anchorX:'left', fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n var gs = wts[1];\r\n //brd.create('text', [4,-1, '1 g/cc'], {fixed:true, fontSize:function(){return 32*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n //var df = brd.create('slider', [[4, -1],[5, -1],[1, 1, 2]], {visible:false, name: '', baseline:{visible:false, strokeWidth:7, strokeColor:'grey'},highline:{visible:false, strokeWidth:7, strokeColor:'black'}, size:8,face:'square', fillColor:'grey',strokeColor:'black', withTicks:false,label:{offset:[2,-15], fontSize:function(){return 22*brd.canvasHeight/800}}});\r\n\t var df = 1;\r\n brd.create('text', [-4, -0.75, 'Mapp='], {fixed:true, fontSize:function(){return 28*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n brd.create('text', [-4, 4, 'Mvac='], {fixed:true, fontSize:function(){return 28*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n var w1 = brd.create('input', [-2.75, -0.75, '', ''], {cssStyle:'width:10%;fontFamily:Oswald;background-color:#008CBA;border: 1px solid black;border-radius: 3.5px;', fontSize:function(){return 24*brd.canvasHeight/800},fixed:true});\r\n\r\n\t brd.create('text', [-1., -0.75, 'g'], {anchorX:'left', anchorY:'middle', fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n var w2 = brd.create('input', [-2.75, 4.0, '', ''], {cssStyle:'width:10%;fontFamily:Oswald;background-color:#008CBA;border: 1px solid black;border-radius: 3.5px;', fontSize:function(){return 24*brd.canvasHeight/800},fixed:true});\r\n\r\n\t brd.create('text', [-1., 4, 'g'], {anchorX:'left', anchorY:'middle', fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n\t brd.create('text', [6., 4.5, 'Vacuum'], {anchorX:'middle', anchorY:'middle', fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n\t brd.create('text', [7., -0.75, 'Submerged in Water (ρ_f = 1 g/cc)'], {anchorX:'middle', anchorY:'middle', fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n brd.create('text', [10, 8, 'Density = ρ_f M_{vac}(M_{vac} - M_{app}) '], {anchorX:'right', fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n\t brd.create('text', [10, 7, function(){return ' = 1 x '+ w2.Value()+ '/('+ w2.Value() + '-' + w1.Value()+')'}], {visible:function(){if(w2.Value()==0 || w1.Value()==0){return false} else{return true}}, anchorX:'right', fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n\r\n brd.create('text', [10, 6, function(){return '= ' + (df*w2.Value()/(w2.Value() - w1.Value())).toFixed(3) + ' g/cc'}], {visible:function(){if(w2.Value()==0 || w1.Value()==0){return false} else{return true}}, anchorX:'right',fixed:true, fontSize:function(){return 24*brd.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n brd.create('polygon', [[-8, -3.7], [-8, -14], [18, -14], [18, -3.7]],{vertices:{visible:false, fixed:true}, withLines:false, fillColor:'black'});\r\n brd.create('polygon', [[-8, 0], [-8, -14], [18, -14], [18, 0]],{vertices:{visible:false, fixed:true}, withLines:false, fillColor:'blue'});\r\n brd.create('polygon', [[-8, 0.75], [-8, 0], [18, 0], [18, 0.75]],{vertices:{visible:false, fixed:true}, withLines:false, fillColor:'black'});\r\n\t brd.create('polygon', [[-8, 5.75], [-8, 5], [18, 5], [18, 5.75]],{vertices:{visible:false, fixed:true}, withLines:false, fillColor:'black'});\r\n var li = brd.create('segment', [[-1.35, -2.05],[1.35, -2.05]],{visible:true, fixed:true});\r\n var ri = brd.create('segment', [[-1.35, 2.45],[1.35, 2.45]],{visible:true, fixed:true});\r\n //var ball =brd.create('point', [0, x0], {name:'', size:18, face:'square', strokeColor:'black', strokeWidth:3, shadow:false, fillColor:'orange'});\r\n\t //var group =[];\r\n\t var i=0;\r\n\t var ball = brd.create('image', ['/assets/kettlebell.svg', [4.5, -3.75],[1.5,1.5]],{attractors:[li,ri], attractorDistance:0.5, snatchDistance: 1});\r\n //brd.create('point', [0, -2.875], {name:'', size:18, face:'circle', strokeColor:'black', strokeWidth:3, shadow:false, fillColor:'black'});\r\n //\r\n //brd.create('point', [6, -2.875], {name:'', size:18, face:'circle', strokeColor:'black', strokeWidth:3, shadow:false, fillColor:'black'});\r\n//\r\n brd.create('text', [-1.25,-2.9, function(){if(ball.Y() == -2.05 & ball.X()<=1.35){return Math.max(0.0, (1000*(1-df/(gs/1000+0.00))).toFixed(1))}\r\n else{return (0.00).toFixed(4)}}], {color:'black', fixed:true, fontSize:function(){return 13*brd.canvasHeight/800}});\r\n\r\n brd.create('text', [-1.25, 1.6, function(){if(ball.Y() == 2.45 & ball.X() <=1.35){return (1000).toFixed(1)}\r\n else{return (0.00).toFixed(4)}}], {color:'black', fixed:true, fontSize:function(){return 13*brd.canvasHeight/800}});\r\n //\r\n brd.create('image', ['/assets/weighing.svg', [-1.75, -4.5],[3.5,3.5]],{fixed:true, shadow:false});\r\n brd.create('image', ['/assets/weighing.svg', [-1.75, 0],[3.5,3.5]],{fixed:true, shadow:false});\r\n\t var shuffle= brd.create('image', ['/assets/shuffle.svg', [-2, 6],[1.5,1.5]],{fixed:true, shadow:false});\r\n\t shuffle.setLabel('Click to Shuffle')\r\n\t shuffle.label.setAttribute({anchorX:'middle',visible:false, offset:[10, -15], CssStyle:'fontFamily:Oswald', fontSize:16});\r\n shuffle.on('over', function () {this.label.setAttribute({visible:true});});\r\n shuffle.on('out', function () {this.label.setAttribute({visible:false});});\r\n\t var iret = function(){\r\n\t\t if(i<2){return i=Math.min(2, i+1)}else{return i=0};\r\n\t }\r\n\t shuffle.on('down', function(){ball.moveTo([4.5, -3.75]); iret(); gs=wts[i];} )\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!./Buo.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!./Buo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Buo.vue?vue&type=template&id=6131ff5c&\"\nimport script from \"./Buo.vue?vue&type=script&lang=js&\"\nexport * from \"./Buo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Buo.vue?vue&type=style&index=0&id=6131ff5c&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":""}