var fDesc=new Array(); fDesc[0] = "Newton 2 is a program for solving mechanical equations for movements numerically. The equations can be parameterized for interactive investi-gations of the movements and the according solutions are displayed immediately in a diagram. The differential equations (DEQs) are programmed to calculate the time dependence of the velocitiy v(t) of a point of mass from the given acceleration a. Then the location s(t) is calculated from v(t)."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }