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
Amazon announced yesterday that the Kindle DX, a new, much larger version of its successful Kindle e-book reader, is now available for pre-order. The Kindle DX, which is roughly two and a half times larger than the previous edition, is in part being aimed at the college textbook market.
Our question today: Should you buy the new Kindle?
To answer that question, we've gone out and converted an Excel spreadsheet created by David Tufte to answer the same question for the existing version of the Kindle, which considers things like how much traditional books cost compared to their Kindle counterparts, how long you might use it, how much of a "warm fuzzy" you might get from being the proud owner of the gadget, and of course, since he's an economist, the opportunity costs of what you could otherwise have done with the money if you hadn't bought yourself a new Kindle! He does all this by calculating the cumulative net present value for the Kindle, adjusting it to account for the potential early salvage of the device, should the owner either sell it or stop using it after a given period of time.
Update 8 May 2009: David Tufte has updated his spreadsheet to incorporate the pricing for the Kindle DX. If you want the ability to do a much more detailed analysis of whether the new Kindle makes sense for you, we recommend it!
And because Amazon is aiming at the college student in its marketing efforts, we've entered default values appropriate to the college textbook buyer. Here, we assume that textbooks for our hypothetical university student will run at an average of $600 per year (or $50 per month), have an average salvage value of $20, while the Kindle versions of the same textbooks are a bargain at an average of $33.00 each! Because we assume a monthly average, we also set the number of purchases per month to be equal to one.
Our final assumption is that our college student will endure for four whole years, or 48 months. Will a Kindle be worth it to them? Let's find out....
Going with our hypothetical example, it very much pays for our college student to buy the Kindle DX, assuming that they're able to also get the textbooks they will need for their classes in the Kindle format, since we obtain a positive value for the Cumulative Net Present Value Adjusted for Early Salvage. If that value had come out to be negative, then either our college student would need to really crank up their reading of non-textbooks while in school or would really have to place a much higher "warm fuzzy" on owning their own Kindle DX.
Labels: education, personal finance, tool
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.