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
The Associated Press' Erica Werner quotes President Barack Obama from his weekly radio and Internet address this past weekend:
"We need to come together, Democrats and Republicans, around a long-term budget that sacrifices wasteful spending without sacrificing the job-creating investments in our future," Obama said.
"My administration has already put forward specific cuts that meet congressional Republicans halfway. And I'm prepared to do more," said Obama.
Werner's article confirms that congressional Republicans have so far put forward a proposal for 61 billion dollars worth of spending cuts for the federal government's current 2011 fiscal year. We can determine what half of that amount is by dividing it into two equal parts, which we can do by dividing the number by two:
$61,000,000,000 ÷ 2 = $30,500,000,000
We're showing that math to help the President, because he appears to believe that meeting the congressional Republicans' $61 billion spending cut proposal "halfway" somehow produces a dramatically different number:
Obama has threatened to veto that plan, and a Democratic offer of $6.5 billion in cuts -- on top of $4 billion already signed into law -- restores money the House GOP cuts from education, health and other programs.
Adding the congressional Democrats proposal of $6.5 billion to the already approved $4 billion gives the following result of $10.5 billion:
$6,500,000,000 + $4,000,000,000 = $10,500,000,000
Which, if we subtract that number from the mathematical "halfway" point of the congressional Republicans' proposal, is about $20 billion short of the actual amount of spending cuts it would take for the President to actually achieve a level of cuts "that meet congressional Republicans halfway."
$30,500,000,000 - $10,500,000,000 = $20,000,000,000
With that kind of mathematical innumeracy, perhaps it's no wonder the President believes that his health care reform law will save $500 million dollars, twice! Or that he believes an annual income of $172,000 qualifies an individual as having a "relatively modest" level of income.
Or for that matter, the President's claims the federal government's budget will be in "primary balance", which requires that we ignore the amount of interest that must be paid on the national debt.
In fact, it's exactly this kind of incompetence in money matters that results in the situation depicted in the chart below:
We'll conclude by noting that since the President has either voted in favor of, or has signed off on or otherwise overseen the federal government's spending since 2007, first as a U.S. Senator and then as President, it's perfectly legitimate to hold the President fully accountable for the federal government's unsustainable spending during all that time since.
Labels: math
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.