{"version":3,"sources":["webpack:///./src/components/physics/springs/sos/SystemofSprings.vue","webpack:///./src/components/physics/springs/sos/Boxes.js","webpack:///src/components/physics/springs/sos/SystemofSprings.vue","webpack:///./src/components/physics/springs/sos/SystemofSprings.vue?e301","webpack:///./src/components/physics/springs/sos/SystemofSprings.vue?a671"],"names":["class","_vm","$vuetify","staticClass","breakpoint","lgAndUp","staticStyle","ref","_c","attrs","_defineProperty","_v","smAndDown","staticRenderFns","render","Boxes","box1","brd1","JXG","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","visible","grid","showCopyright","showNavigation","pan","enabled","zoom","options","layer","board","minimizeReflow","text","highlight","fixed","cssStyle","image","polygon","line","point","curve","slider","showInfoBox","create","vertices","withLines","fillColor","placeLogo","makeResponsive","placeTitle","imgOffsetX","msg","writeMiddleText","setAttribute","color","anchorX","anchorY","CssStyle","fontSize","Math","round","canvasWidth","Nm1","placeInput","Nm2","Nm3","Nm4","strokeColor","pDragMe","face","name","size","withLabel","label","brd4","canvasHeight","lineAtt1","X","Y","strokeWidth","dash","lineAtt2","lineAtt3","lineAtt4","str1","fillOpacity","attractors","attractorDistance","snatchDistance","str2","rotate","str3","str4","Pt1","drawPoint","Pt2","segment1","drawSegment","Pt3","Pt4","drawDash","txtKeq","vectorString0","vectorString1","vectorNm1","vectorKEqSerie","vectoruNm0","arrowDeltaY","txtDeltaY","totalK","kEqDeltaY","Value","removeObject","setLabel","i","length","push","kSerie","kLabel","j","kSerieEq","CalculateKSerial","alert","parseFloat","force","deltaY","Infinity","isNaN","moveTo","highlightStrokeWidth","lastArrow","type","highlightSize","touchLastPoint","firstArrow","toFixed","tryMe","placeGo","shuffle","placeShuffle","on","created","_this","title","$store","commit","newTopics","img","action","goto","newshowhome","newPhys","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"uLAAuHA,EAAM,W,IAAC,O,EAAiD,W,OAAmD,QAAa,GAAEC,MAAIC,CAA6B,gCA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AAA1F,KAAA,WAAA2F,QAAA,uCACA,CAAA3F,KAAA,cAAA2F,QAAA,sCC3MsY,I,YCOlYC,EAAY,eACd,EACA,EACAzJ,GACA,EACA,KACA,KACA,MAIa,aAAAyJ,E","file":"js/chunk-2d22c088.82c194d4.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"font-weight-light\",class:{'pa-5 headline': _vm.$vuetify.breakpoint.lgAndUp,'pa-2 subtitle-1': _vm.$vuetify.breakpoint.mdOnly, 'pa-1 body-2': _vm.$vuetify.breakpoint.smAndDown}},[_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" System of Springs\")])]),_c('div',{ref:\"ia\",staticStyle:{\"margin-top\":\"20px\"}}),_c('span',{staticClass:\"subhead\"},[_vm._v(\"A\")]),_vm._v(\" system of springs is a group of springs connected together to form a single entity. The system behaves as a whole, and its overall behavior is a result of the interaction of individual springs. Each spring is affected by the forces acting on its neighboring springs, which results in the transfer of energy from one spring to another. The springs in a system of springs can be connected in series, in parallel or a combination of both.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\",\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{staticClass:\"font-weight-light\",class:{'headline': _vm.$vuetify.breakpoint.lgAndUp,'body-2': _vm.$vuetify.breakpoint.mdOnly, 'body-2': _vm.$vuetify.breakpoint.smAndDown},attrs:{\"xs12\":\"\",\"sm8\":\"\",\"md8\":\"\",\"lg8\":\"\",\"xl8\":\"\"}},[_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Springs Connected in Parallel\")])]),_c('div',{ref:\"ib\",staticStyle:{\"margin-top\":\"20px\"}}),_vm._v(\"\\n Two springs are connected in parallel if they are placed next to each other (i.e. side-by-side) — as shown in the figure on the right. \"),_c('br'),_c('br'),_vm._v(\"\\n Imagine a system of \\\\(n\\\\) springs that are connected in parallel. When a force is applied to a system of springs connected in parallel, the force applied on each individual spring is different. However, the total displacement of the system \\\\(x\\\\) is the same as the displacement of any individual spring. \"),_c('br'),_c('br'),_vm._v(\"\\n The force applied on \\\\(1^{st}\\\\) spring is given by\\n $$F_1 = k_1 x$$\\n The force applied on \\\\(2^{nd}\\\\) spring is given by\\n $$F_2 = k_2 x$$\\n ...\"),_c('br'),_c('br'),_vm._v(\"\\n Similarly, the force applied on \\\\(n^{th}\\\\) spring is given by\\n $$F_n = k_n x$$\\n The total force exerted by the system \\\\(F\\\\) is equal to the sum of the forces exerted by each spring.\\n $$F = k_1x + k_2x + ... + k_nx = k_\\\\text{eq}x$$\\n where \\\\(k_\\\\text{eq}\\\\) is the equivalent spring constant. Thus, the equivalent spring constant is given by\\n $$ k_\\\\text{eq} = k_1 + k_2 + ... + k_n $$\\n \"),_c('br'),_c('br'),_vm._v(\"\\n In other words, the equivalent spring constant of the system \\\\(k\\\\) is equal to the sum of the individual spring constants \\\\(k_1\\\\), \\\\(k_2\\\\), ...,\\\\(k_n\\\\).\\n \")]),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm4\":\"\",\"md4\":\"\",\"lg4\":\"\",\"xl4\":\"\"}},[_c('v-img',{staticClass:\"pa-2\",attrs:{\"max-height\":\"500px\",\"max-width\":\"500px\",\"src\":\"/assets/Parallel_Springs.jpg\",\"contain\":\"\"}}),_c('h5',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"\\n A system of springs with springs connected in parallel.\\n \")]),_c('br'),_c('v-img',{staticClass:\"pa-2\",attrs:{\"max-height\":\"500px\",\"max-width\":\"500px\",\"src\":\"/assets/Parallel_Connection_full.jpg\",\"contain\":\"\"}}),_c('h5',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"\\n A system of springs can be replaced by a single spring with an equivalent spring constant.\\n \")])],1)],1),_c('br'),_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\",\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{staticClass:\"font-weight-light\",class:{'headline': _vm.$vuetify.breakpoint.lgAndUp,'subtitle-1': _vm.$vuetify.breakpoint.mdOnly, 'body-2': _vm.$vuetify.breakpoint.smAndDown},attrs:{\"xs12\":\"\",\"sm8\":\"\",\"md8\":\"\",\"lg8\":\"\",\"xl8\":\"\"}},[_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Springs Connected in Series\")])]),_c('div',{ref:\"ic\",staticStyle:{\"margin-top\":\"20px\"}}),_vm._v(\"\\n Two springs are connected in series if they are placed one after the other — as shown in the figure on the right.\"),_c('br'),_c('br'),_vm._v(\"\\n Imagine a system of \\\\(n\\\\) springs that are connected in series. When a force \\\\(F\\\\) is applied to a system of springs connected in series, the same force is applied to each individual spring. However, since the springs have different spring constants, each individual spring experiences different displacement.\"),_c('br'),_c('br'),_vm._v(\"\\n The displacement of the \\\\(1^\\\\text{st}\\\\) spring is\\n $$x_1 = \\\\frac{F}{k_1}$$\\n The displacement of the \\\\(2^\\\\text{nd}\\\\) spring is\\n $$x_2 = \\\\frac{F}{k_2}$$\\n ... \"),_c('br'),_c('br'),_vm._v(\"\\n The displacement of the \\\\(n^\\\\text{th}\\\\) spring is\\n $$x_n = \\\\frac{F}{k_n}$$\\n The total displacement of the system \\\\(x\\\\) is the sum of displacements in each individual spring, i.e.\\n $$x = \\\\frac{F}{k_1} + \\\\frac{F}{k_2} + ... + \\\\frac{F}{k_n} = \\\\frac{F}{k_\\\\text{eq}}$$\\n \"),_c('br'),_c('br'),_vm._v(\"\\n where \\\\(k_{eq}\\\\) is the equivalent spring constant. Thus, the equivalent spring constant is given by\\n $$\\\\frac{1}{k_\\\\text{eq}} = \\\\frac{1}{k_1} + \\\\frac{1}{k_2} + ... + \\\\frac{1}{k_n}$$\\n \")]),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm4\":\"\",\"md4\":\"\",\"lg4\":\"\",\"xl4\":\"\"}},[_c('v-img',{staticClass:\"imgC\",attrs:{\"padding\":\"5px\",\"max-height\":\"500px\",\"max-width\":\"500px\",\"src\":\"/assets/Series_Springs.jpg\",\"contain\":\"\"}}),_c('h5',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"\\n A system of springs with springs connected in parallel.\\n \")]),_c('br'),_c('v-img',{staticClass:\"imgC\",attrs:{\"padding\":\"5px\",\"max-height\":\"500px\",\"max-width\":\"500px\",\"src\":\"/assets/Parallel_Connection_full.jpg\",\"contain\":\"\"}}),_c('h5',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"\\n A system of springs can be replaced by a single spring with an equivalent spring constant.\\n \")])],1)],1),_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Learn interactively | System of Springs \")])]),_c('div',{ref:\"id\",staticStyle:{\"margin-top\":\"20px\"}}),_vm._v(\"\\n Through this module, students will learn to build a system of springs by combining multiple springs in different ways and (b) calculate the equivalent spring constant of the system.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('h5',[_vm._v(\" Session Objectives: \")]),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_vm._v(\"\\n You are given a set of four springs as shown in the MagicGraph.\\n The goal is to build a system of springs by combining these springs in various ways like in series, in parallel or a combination of the two.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('h5',[_vm._v(\" Getting Started: \")]),_vm._v(\"\\n Enter the spring constants for springs. Drag and attach springs to build a system of springs. Tap on\\n \"),_c('i',{staticClass:\"goer ma-1\"}),_vm._v(\" to submit and calculate the equivalent spring constant of the system. \"),_c('br')],1),_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',{staticClass:\"edliy-text-about\"},[_vm._v(\"\\n You can move the springs around and attach them in different configurations. Once done, tap on \"),_c('i',{staticClass:\"goer ma-1\"}),_vm._v(\" on to calculate the effective spring constant and the resulting deflection of the system. Tap on \"),_c('i',{staticClass:\"shuffler ma-1\"}),_vm._v(\" to reset.\\n \")])])],1)],1)\n}\nvar staticRenderFns = []\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 placeCircle,\r\n placeAngle,\r\n drawDash,\r\n placeLabel,\r\n drawPoint,\r\n drawLine,\r\n drawSegment,\r\n placeGo,\r\n placeStartOver,\r\n placeShuffle,\r\n placeLogo,\r\n alert,\r\n writeMiddleText\r\n } from '../Utils';\r\n const Boxes = {\r\n box1: function () {\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [0, 13, 16, -3],\r\n keepaspectratio: true, axis:false, ticks:{visible:false},\r\n grid:true, showCopyright:false, showNavigation:false,\r\n pan:{enabled:false}, zoom:{enabled:false}});\r\n brd1.options.layer['line'] =2;\r\n brd1.options.layer['polygon'] =2;\r\n brd1.options.layer['image'] =8;\r\n brd1.options.board.minimizeReflow = 'none';\r\n brd1.options.text.highlight =false;\r\n brd1.options.text.fixed =true;\r\n brd1.options.text.highlight =false;\r\n brd1.options.text.cssStyle='fontFamily:Oswald',\r\n brd1.options.image.highlight =false;\r\n brd1.options.polygon.highlight =false;\r\n brd1.options.line.highlight =false;\r\n brd1.options.point.highlight =false;\r\n brd1.options.curve.highlight =false;\r\n brd1.options.slider.highlight =false;\r\n brd1.options.point.showInfoBox =false;\r\n //TOP FLOOR\r\n var base =brd1.create('polygon',[[-2, 10],[20,10],[20, 13.0],[-2, 13.0]], {vertices:{visible:false}, withLines:false, fillColor:'black', fixed:true});\r\n placeLogo(brd1);\r\n makeResponsive(brd1);\r\n placeTitle(brd1, 'System of Springs', '(Combine Springs and Calculate Equivalent Spring Constant)');\r\n var imgOffsetX = 0.7;\r\n var imgOffsetY = 0.0;\r\n //message\r\n var msg =writeMiddleText(brd1, 8, 8, 'No spring attached!');\r\n msg.setAttribute({color:'red', visible:false});\r\n //SPRING CONSTANTS\r\n var txt3 = brd1.create('text', [3, -0.5, 'N/m'],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [0.5, -0.5, 'K_1 = '],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n var txt4 = brd1.create('text', [7, -0.5, 'N/m'],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [4.5, -0.5, 'K_2 = '],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n var txt5 = brd1.create('text', [11, -0.5, 'N/m'],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [8.5, -0.5, 'K_3 = '],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n var txt6 = brd1.create('text', [15, -0.5, 'N/m'],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n brd1.create('text', [12.5, -0.5, 'K_4 = '],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n //\r\n var Nm1 = placeInput(brd1, 1, -0.5, 5);\r\n Nm1.setAttribute({cssStyle: 'background-color:#2D42FD;'})\r\n var Nm2 = placeInput(brd1, 5, -0.5, 10);\r\n Nm2.setAttribute({cssStyle: 'background-color:#41C63C;'})\r\n var Nm3 = placeInput(brd1, 9, -0.5, 15);\r\n Nm3.setAttribute({cssStyle: 'background-color:#ECCC00;'})\r\n var Nm4 = placeInput(brd1, 13, -0.5, 20);\r\n Nm4.setAttribute({cssStyle: 'background-color:#FD2D2D;'})\r\n var segmentDragMe = brd1.create('segment', [[12.5, 7], [15,7]], {fixed: true, strokeColor: 'black', visible: false});\r\n//\r\n var pDragMe = brd1.create('point', [8 , 6],{face:'o' , name:'pp', size:4, strokeColor: 'black', fillColor:'orange', withLabel:false, fixed:false, visible:false, label:{fontSize:function(){return 18*brd4.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});;\r\n// Hook Images\r\n var hook = brd1.create('image', ['/assets/hook.svg', [function(){return pDragMe.X()-1}, function(){return pDragMe.Y() - 2}], [2, 2]], {visible: true, fixed: false});\r\n //Mass image\r\n var massImg1 = brd1.create('image', ['/assets/1-kg.svg', [function(){return pDragMe.X()-1}, function(){return pDragMe.Y() - 3.5}], [2, 2]], {visible: true, fixed: false});\r\n //Atractors\r\n var lineAtt1 = brd1.create('segment', [[4.3, 9], [4.3, 5]], {visible:false, fixed: true, strokeColor: 'red', strokeWidth: 1, dash: 1});\r\n var lineAtt2 = brd1.create('segment', [[6.3, 9], [6.3, 5]], {visible: false, fixed: true, strokeColor: 'red', strokeWidth: 1, dash: 1});\r\n var lineAtt3 = brd1.create('segment', [[8.3, 9], [8.3, 5]], {visible: false, fixed: true, strokeColor: 'red', strokeWidth: 1, dash: 1});\r\n var lineAtt4 = brd1.create('segment', [[10.3, 9], [10.3,5]], {visible: false, fixed: true, strokeColor: 'red', strokeWidth: 1, dash: 1});\r\n //Images\r\n var str1 = brd1.create('image', ['/assets/springBlue.svg', [1.25, 0.15], [2., 2.]], {fillOpacity:1, attractors: [ lineAtt1, lineAtt2, lineAtt3, lineAtt4], attractorDistance:0.2, snatchDistance: 2});\r\n var str2 = brd1.create('image', ['/assets/springGreen.svg', [5.25, 0.15], [2., 2.]], {fillOpacity:1,attractors: [ lineAtt1, lineAtt2, lineAtt3, lineAtt4], attractorDistance:0.2, snatchDistance: 2, visible: true, fixed: false, rotate: 0});\r\n var str3 = brd1.create('image', ['/assets/springYellow.svg', [9.25, 0.15], [2., 2.]], {fillOpacity:1,attractors: [ lineAtt1, lineAtt2, lineAtt3, lineAtt4], attractorDistance:0.2, snatchDistance: 2, visible: true, fixed: false, rotate: 0});\r\n var str4 = brd1.create('image', ['/assets/springRed.svg', [13.25, 0.15], [2., 2.]], {fillOpacity:1,attractors: [ lineAtt1, lineAtt2, lineAtt3, lineAtt4], attractorDistance:0.2, snatchDistance: 2, visible: true, fixed: false, rotate: 0});\r\n //ORANGE WALLS\r\n var Pt1 = drawPoint(brd1,4, function(){return pDragMe.Y();})\r\n Pt1.setAttribute({visible:false});\r\n var Pt2 = drawPoint(brd1,12, function(){return pDragMe.Y();})\r\n Pt2.setAttribute({visible:false});\r\n var segment1 = drawSegment(brd1, Pt1, Pt2);\r\n segment1.setAttribute({strokeWidth:10});\r\n var Pt3 = drawPoint(brd1,4, 6);\r\n Pt3.setAttribute({visible:false});\r\n var Pt4 = drawPoint(brd1,12, 6);\r\n Pt4.setAttribute({visible:false});\r\n drawDash(brd1, Pt3, Pt4);\r\n // Segments\r\n var vert1 = brd1.create('segment', [[function(){if(str1.Y()>5 && str1.Y()<12 && str1.X()<=12 && str1.X()>=3.5){return str1.X() + imgOffsetX} else{return 5}}, 10], [function(){if(str1.Y()>5 && str1.Y()<12 && str1.X()<=12 && str1.X()>=3.5){return str1.X() + imgOffsetX} else{return 5}} ,function(){if(str1.Y()>5 && str1.Y()<12 && str1.X()<=12 && str1.X()>=3.5){return pDragMe.Y()} else{return 10}}]], {fixed: true, strokeColor: 'grey', strokeWidth: 1});\r\n //\r\n var vert2 = brd1.create('segment', [[function(){if(str2.Y()>5 && str2.Y()<12 && str2.X()<=12 && str2.X()>=3.5){return str2.X() + imgOffsetX} else{return 5}}, 10], [function(){if(str2.Y()>5 && str2.Y()<12 && str2.X()<=12 && str2.X()>=3.5){return str2.X() + imgOffsetX} else{return 5}} ,function(){if(str2.Y()>5 && str2.Y()<12 && str2.X()<=12 && str2.X()>=3.5){return pDragMe.Y()} else{return 10}}]], {fixed: true, strokeColor: 'grey', strokeWidth: 1});\r\n//\r\n var vert3 = brd1.create('segment', [[function(){if(str3.Y()>5 && str3.Y()<12 && str3.X()<=12 && str3.X()>=3.5){return str3.X() + imgOffsetX} else{return 5}}, 10], [function(){if(str3.Y()>5 && str3.Y()<12 && str3.X()<=12 && str3.X()>=3.5){return str3.X() + imgOffsetX} else{return 5}} ,function(){if(str3.Y()>5 && str3.Y()<12 && str3.X()<=12 && str3.X()>=3.5){return pDragMe.Y()} else{return 10}}]], {fixed: true, strokeColor: 'grey', strokeWidth: 1});\r\n//\r\n var vert4 = brd1.create('segment', [[function(){if(str4.Y()>5 && str4.Y()<12 && str4.X()<=12 && str4.X()>=3.5){return str4.X() + imgOffsetX} else{return 5}}, 10], [function(){if(str4.Y()>5 && str4.Y()<12 && str4.X()<=12 && str4.X()>=3.5){return str4.X() + imgOffsetX} else{return 5}} ,function(){if(str4.Y()>5 && str4.Y()<12 && str4.X()<=12 && str4.X()>=3.5){return pDragMe.Y()} else{return 10}}]], {fixed: true, strokeColor: 'grey', strokeWidth: 1});\r\n //Vectors\r\n var vectorString0 = [str1, str2, str3, str4];\r\n var vectorString1 = []; //Posiciones en el circuito\r\n var vectorNm1 = []; //Capacidades en el circuito\r\n var vectorKEqSerie = [];\r\n var vectoruNm0 = [];\r\n var arrowDeltaY = null;\r\n var txtDeltaY = null;\r\n //FUNCTIONS\r\n var txtKeq;\r\n var totalK=0;\r\n function kEqDeltaY(){\r\n vectoruNm0=[Nm1.Value(),Nm2.Value(),Nm3.Value(),Nm4.Value()];\r\n brd1.removeObject(txtKeq);\r\n str1.setLabel('');\r\n str2.setLabel('');\r\n str3.setLabel('');\r\n str4.setLabel('');\r\n vectorString1 = [];\r\n vectorNm1 = [];\r\n vectorKEqSerie = [];\r\n for (let i=0 ; i < vectorString0.length ; i = i +1 ){\r\n if( vectorString0[i].Y()>=pDragMe.Y()-0.25 && vectorString0[i].Y()<14 && vectorString0[i].X()<=12 && vectorString0[i].X()>=3.5 ){\r\n vectorString1.push(vectorString0[i]);\r\n vectorNm1.push(vectoruNm0[i]);\r\n }\r\n }\r\n for (let i=0 ; i < vectorString1.length ; i = i +1 ){\r\n if (vectorString1[i]!= null){\r\n var kSerie=[vectorNm1[i]]\r\n var kLabel = [vectorString1[i]]\r\n for(var j=i+1; j< vectorString1.length; j += 1){\r\n if( vectorString1[j] != null && vectorString1[i].X() == vectorString1[j].X() ){\r\n kSerie.push(vectorNm1[j]);\r\n kLabel.push(vectorString1[j]);\r\n vectorString1[j]=null;\r\n }\r\n }\r\n var kSerieEq = CalculateKSerial(kSerie, kLabel);\r\n vectorKEqSerie.push(kSerieEq);\r\n }\r\n }\r\n if(vectorString1.length==0){alert(brd1, msg)}\r\n totalK=0;\r\n for (let i=0;i< vectorKEqSerie.length;i++){\r\n totalK = totalK + parseFloat(vectorKEqSerie[i]);\r\n }\r\n\r\n var force = 1*9.81;\r\n var deltaY = force/totalK;\r\n\r\n if(arrowDeltaY != null){\r\n brd1.removeObject(arrowDeltaY);\r\n arrowDeltaY = null;\r\n }\r\n\r\n if(txtDeltaY != null){\r\n brd1.removeObject(txtDeltaY);\r\n txtDeltaY = null;\r\n }\r\n\r\n if(deltaY != Infinity && !isNaN(deltaY) ){\r\n pDragMe.moveTo([8, 6-deltaY], 500);\r\n\r\n arrowDeltaY = brd1.create('segment', [[13, 6], [13, 6 - deltaY ]], {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 txtDeltaY = brd1.create('text', [14, 5.5 , 'δ = ' + deltaY.toFixed(2)+' m'],{fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(12*brd1.canvasWidth/500.)}},);\r\n }\r\n\r\n };\r\n\r\n var txt2 = brd1.create('text', [8, 10.5, ()=>' K_e_q = '+totalK.toFixed(2)+' N/m'],{fixed: true, color:'blue', anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(14*brd1.canvasWidth/500.)}});\r\n\r\n function CalculateKSerial (kSerie, kLabel){\r\n if (kSerie.length == 1){\r\n\r\n var q = (1*kSerie[0]).toFixed(2);\r\n return kSerie[0];\r\n\r\n }\r\n if (kSerie.length == 2){\r\n\r\n var q = (1*(1.0 / ( 1.0 /kSerie[0] + 1.0 / kSerie[1]))).toFixed(2);\r\n return (1.0 / ( 1.0 /kSerie[0] + 1.0 / kSerie[1]));\r\n }\r\n if (kSerie.length == 3){\r\n\r\n var q = (1*(1.0 / ( 1.0 /kSerie[0] + 1.0 / kSerie[1] + 1.0 / kSerie[2]))).toFixed(2);\r\n return (1.0 / ( 1.0 /kSerie[0] + 1.0 / kSerie[1] + 1.0 / kSerie[2]))\r\n }\r\n if (kSerie.length == 4){\r\n\r\n var q = (1*(1.0 / ( 1.0 /kSerie[0] + 1.0 / kSerie[1] + + 1.0 / kSerie[2] + + 1.0 / kSerie[3]))).toFixed(2);\r\n return (1.0 / ( 1.0 /kSerie[0] + 1.0 / kSerie[1] + + 1.0 / kSerie[2] + + 1.0 / kSerie[3]));\r\n }\r\n return 0;\r\n\r\n }\r\n //Try Me Button\r\n var tryMe = placeGo(brd1,'left');\r\n var shuffle = placeShuffle(brd1, 'right');\r\n shuffle.on('down', function(){\r\n str1.moveTo([-0.25, -1.25]);\r\n str2.moveTo([3.75, -1.25]);\r\n str3.moveTo([7.75, -1.25]);\r\n str4.moveTo([11.75, -1.25]);\r\n pDragMe.moveTo([8, 6], 500);\r\n totalK=0;\r\n //kEqDeltaY();\r\n });\r\n//\r\n tryMe.on('down', kEqDeltaY);\r\n // tryMe.setLabel('Try Me')\r\n // tryMe.label.setAttribute({visible:false, offset:[15, -15], CssStyle:'fontFamily:Oswald', fontSize:16});\r\n // tryMe.on('over', function () {this.label.setAttribute({visible:true});});\r\n // tryMe.on('out', function () {this.label.setAttribute({visible:false});});\r\n },\r\n}\r\nexport default Boxes;\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!./SystemofSprings.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!./SystemofSprings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SystemofSprings.vue?vue&type=template&id=164ec9d8&\"\nimport script from \"./SystemofSprings.vue?vue&type=script&lang=js&\"\nexport * from \"./SystemofSprings.vue?vue&type=script&lang=js&\"\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":""}