to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
After having worked out how many calories you're really eating, we thought we'd next turn our attention next to working out how many calories you're really burning when you engage in the two most common forms of physical activity: running and walking.
With these activities, there's an old rule of thumb that says it's the distance that matters most in determining how many calories you burn, where whether you run or walk, the amount of calories you burn will be the same if the distance you cover is the same.
That rule of thumb is something you'll often see if you monitor your estimated calories burned on a modern treadmill, which for every mile you walk or run on it, will often indicate that you've burned about 100 calories.
It turns out though that the amount of calories burned by running or walking over a given distance are different, as Amby Burfoot of Runner's World explains after investigating a contrary claim by David Swain, an exercise physiologist at Old Dominion University:
In "Energy Expenditure of Walking and Running," published last December in Medicine & Science in Sports & Exercise, a group of Syracuse University researchers measured the actual calorie burn of 12 men and 12 women while running and walking 1,600 meters (roughly a mile) on a treadmill. Result: The men burned an average of 124 calories while running, and just 88 while walking; the women burned 105 and 74. (The men burned more than the women because they weighed more.)
Swain was right! The investigators at Syracuse didn't explain why their results differed from a simplistic interpretation of Newton's Laws of Motion, but I figured it out with help from Swain and Ray Moss, Ph.D., of Furman University. Running and walking aren't as comparable as I had imagined. When you walk, you keep your legs mostly straight, and your center of gravity rides along fairly smoothly on top of your legs. In running, we actually jump from one foot to the other. Each jump raises our center of gravity when we take off, and lowers it when we land, since we bend the knee to absorb the shock. This continual rise and fall of our weight requires a tremendous amount of Newtonian force (fighting gravity) on both takeoff and landing.
Burfoot went on to provide the math formulas that would provide a better estimate of actual calories burned per mile by either running or walking, which we've adapted into the following tool. All you need to do is to enter your weight, whether you're running or walking and also the distance you're covering, and we'll do the rest!
In the tool above, the results for walking apply for walking speeds between 3 and 4 miles per hour. However, Burfoot reports that walking at speeds of 5 miles per hour or faster will actually burn more calories than running, since walking is more energy-intensive than running is at those speeds.
In terms of calories burned, the net calories burned figures are the important results in the tool, since those results account for your basal metabolism, or rather, how many calories you would have burned anyway over the elapsed time of the activity if you hadn't been either running or walking.
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.