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
Greg Mankiw's advertisement for his economics texts today provides a neat springboard to do one of our favorite things with his Principles of Economics: to compare its relative prices in different markets!
When we did this exercise back in December 2006, we found that UK-based buyers of Mankiw's 4th edition of his Principles of Economics text had a 4% discount compared to their US-based counterparts.
Shortly thereafter, we found that the comparative discount that UK buyers of Mankiw's text could obtain through purchasing it through the US-based Amazon.com disappeared, as the US price increased to eliminate the difference between the US price and the price available through the UK-based Amazon.co.uk.
This makes sense in economic theory, as the lower price of an identical product in a different market represented an arbitrage opportunity for UK buyers of Mankiw's book. The US price moved to a new equilibrium that effectively eliminated the difference in prices between the two markets, leading to the efficient result of one price for identical products, much as happens with the price of other commodities, such as oil.
So, let's now check in on today's state of affairs. First, we'll look at a screen shot of Mankiw's book on Amazon.co.uk:
Using XE.com's Universal Currency Converter, we find that the equivalent of Mankiw's 75.00 GBP price in the UK is 149.65 USD:
Now, let's look at today's price of Mankiw's text on US-based Amazon.com:
Here, we find that Mankiw's book is selling at 134.23 USD. Converting that price from USD to GBP:
At 67.28 GBP, UK-based buyers of Mankiw's book through the US-based Amazon.com would realize a savings of 10.72 GBP, or rather, 14.3% off the book's base price in the UK. What's more, even factoring in international shipping costs (approximately 6.98 GBP) and the 1.99 GBP sourcing fee, UK buyers would still come out ahead!
If you're in the UK, act now while "Madman" Mankiw's screaming buy lasts!
Labels: book, currency exchange, economics
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.