<![CDATA[vertical spring mass model y = 7m]]> false false false false false false false true true false ]]> ./SHMverticalsensor/2016-01-22_1453s.png ./1authorlookangphoto5050.png DESCRIPTION_EDITOR SHM15 true false _default_ SHM15 true 20 1 false VARIABLE_EDITOR Var Table true false VARIABLE_EDITOR layout true false VARIABLE_EDITOR transform true false VARIABLE_EDITOR simplespring true false VARIABLE_EDITOR advancedspring true false VARIABLE_EDITOR functionY true false CODE_EDITOR Init Page true false CODE_EDITOR undefined true false CODE_EDITOR svg true false '+ ' '+ ' '+ ' '+ ' '+ ''; container.innerHTML = svggradient; document.body.appendChild(container); //"url(#mygrandient)" ]]> CODE_EDITOR functionY true false CODE_EDITOR test false false ODE_EDITOR Evol Page true false EVENT_EDITOR Event true false CROSSING_EVENT BISECTION 100 true t dt vy -k/m*(y-l) RungeKutta 10000 0.00001 false false false false CODE_EDITOR FixRel Page true false CODE_EDITOR maximum labels true false 0){ pointB =-Math.max(pointA,Math.abs(y-l)); tpointB = t; // apointB = -k/m*(pointB-l); // counterB = counterB+1; // tarraypointB[counterB] = t; // arraypointB[counterB]=pointB; // textB[counterB] = "B"+counterB ; // textB[counterB] = "B"; } // else T1[nc]=t*2.;// first half period vystored = vy; // to store value of omega ]]> CODE_EDITOR transform true false CODE_EDITOR FixRel Page 2 true false CODE_EDITOR axes true false LIBRARY_EDITOR Lib Page true false LIBRARY_EDITOR changeOrientation true false LIBRARY_EDITOR android true false -1; //&& ua.indexOf("mobile"); } ]]> LIBRARY_EDITOR fullscreen true false HTML_VIEW_EDITOR HtmlView Page true false 0 0 0 800 600 true true Elements.Panel true Elements.Panel false Elements.PlottingPanel false Elements.Group2D false Elements.Group2D Elements.Arrow2D Elements.Image2D Elements.Shape2D =0) y = 0; selected[0]="user_defined"; ]]> Elements.Shape2D =0) y = 0; selected[0]="user_defined"; ]]> false Elements.Group2D Elements.Arrow2D Elements.Text2D Elements.Text2D Elements.Text2D Elements.Text2D Elements.Shape2D =7) y = 7; selected[0]="user_defined"; _initialize();]]> Elements.Spring2D Elements.Shape2D Elements.Arrow2D Elements.Arrow2D false Elements.PlottingPanel Elements.AnalyticCurve2D Elements.Trail2D 0]]> 0]]> Elements.Text2D Elements.Text2D Elements.Shape2D Elements.Trail2D 0]]> 0]]> Elements.Shape2D Elements.Trail2D 0]]> 0]]> Elements.Shape2D Elements.Text2D Elements.Text2D Elements.Arrow2D Elements.Arrow2D true Elements.Panel Elements.ComboBox 0)? opts[0]:""; // selected option if ( option=="user_defined"){ } //printing here else if (option == "print"){ print = true; } //print ends else if ( option=="m=1.0"){ m=1.0; } else if ( option=="m=2.0"){ m=2.0; //_view.plottingPanelxvst.getTitleY().setPosition([0.06,0.85]); } else if ( option=="m=3.0"){ m=3.0; } else if ( option=="m=4.0"){ m=4.0; } else if ( option=="m=5.0"){ m=5.0; } else if ( option=="m=6.0"){ m=6.0; } else if ( option=="m=7.0"){ m=7.0; } else if ( option=="k=1.0"){ k=1.0; } else if ( option=="k=2.0"){ k=2.0; } else if ( option=="k=3.0"){ k=3.0; } else if ( option=="k=4.0"){ k=4.0; } else if ( option=="k=5.0"){ k=5.0; } else if ( option=="k=6.0"){ k=6.0; } else if ( option=="k=7.0"){ k=7.0; } ]]> Elements.ComboBox 0)? opts[0]:""; // selected option if ( option=="world"){ world=true; Width1 = "100%"; Width2 = "0%"; } //printing begins now else if (option == "print"){ print = true; } //printing ends today else if ( option=="graph only"){ world=false; graph=true; Width1 = "0%"; Width2 = "100%"; } else if ( option=="x vs t"){ xvst=true; graph=true; } else if ( option=="v vs t"){ vvst=true; graph=true; } else if ( option=="a vs t"){ avst=true; graph=true; } else if ( option=="both"){ world=true; graph=true; Width1 = "50%"; Width2 = "50%"; } else if ( option=="show model"){ showmodel=true; } else if ( option=="hide model"){ showmodel=false; } ]]> Elements.TwoStateButton Elements.Button Elements.Button Elements.Label Elements.ComboBox 0)? opts[0]:""; // selected option showmodel=true; functionY=option +""; if (option =="show me"){ functionY= +_view._format(Acalculated,"0.0")+"*sin(" +_view._format(w,"0.00")+"*t+("+_view._format(phi,"0.00")+"))+"+_view._format(ytransform,"0.00") ; } _view._update(); ]]> Elements.Function