<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>a world of my own &#187; thermodynamics</title>
	<atom:link href="http://njaan.in/tag/thermodynamics/feed/" rel="self" type="application/rss+xml" />
	<link>http://njaan.in</link>
	<description></description>
	<lastBuildDate>Fri, 30 Jul 2010 11:28:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Thermodynamics applied to Mafia Wars!</title>
		<link>http://njaan.in/2009/08/04/thermodynamics-mafia-wars-exergy-facebook/</link>
		<comments>http://njaan.in/2009/08/04/thermodynamics-mafia-wars-exergy-facebook/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 19:45:49 +0000</pubDate>
		<dc:creator>ഞാന്‍&#124;&#124;njaan</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[exergy]]></category>
		<category><![CDATA[mafia wars]]></category>
		<category><![CDATA[thermodynamics]]></category>

		<guid isPermaLink="false">http://njaan.in/?p=308</guid>
		<description><![CDATA[Assume you have &#8216;x&#8217; energy, and required-energy-to-do-a-job is yi (i=1,2,3,4,&#8230;) and experience reward per job is zi (i=1,2,3,4..). The most preferred job will be the one which gives maximum value for ((x-(x%yi))/yi)*zi; thermodynamically speaking this quantity is the exergy of the system &#8211; the maximum experience (work output) you can score by doing a job [...]]]></description>
			<content:encoded><![CDATA[<p>Assume you have &#8216;x&#8217; energy, and required-energy-to-do-a-job is y<sub>i</sub> (i=1,2,3,4,&#8230;) and experience reward per job is z<sub>i</sub> (i=1,2,3,4..). The most preferred job will be the one which gives maximum value for ((x-(x%y<sub>i</sub>))/y<sub>i</sub>)*z<sub>i</sub>; thermodynamically speaking this quantity is the <a title="Exergy" href="http://en.wikipedia.org/wiki/Exergy">exergy</a> of the system &#8211; the maximum experience (work output) you can score by doing a job with the given energy.</p>
<p>I have made a <a href="http://en.wikipedia.org/wiki/Bookmarklet">bookmarklet</a> for <a href="http://www.mozilla.com/en-US/firefox/upgrade.html">Firefox</a> to compute the exergy <a href="http://njaan.in/exergy.html">here</a>. Add the bookmarklet to your toolbar and click it on <a title="Mafia Wars" href="http://www.facebook.com/apps/application.php?id=10979261223">mafia wars</a> job pages. The max. experience you can achieve from the available energy will be given under the jobs, which is the &#8220;most preferred job to do&#8221; at that time. This ain&#8217;t my original code, but adopted and edited from <a href="http://www.spockholm.com/mafia/bookmarklets.php">Spockholm mafia wars tools</a>, and they own all the credits (except for the bugs and damages &#8211; no one including me owns or will be held responsible it). I would&#8217;ve released this code via a <a href="http://www.fsf.org/licensing/licenses/quick-guide-gplv3.html">GPLv3</a> if I had coded it completely.</p>
<p><span style="text-decoration: underline;">Foot Notes</span></p>
<p>x/y &#8211; <a href="http://en.wikipedia.org/wiki/Division_(mathematics)">division</a>. For eg. 28/5=5.6, 25/5 =5.<br />
x%y &#8211; <a href="http://en.wikipedia.org/wiki/Modulo_operator">modulus</a> (remainder after division). For eg. 28%5 = 3, 25%5=0.<br />
(x/y)*z won&#8217;t always give you the maximum experience. Only when the quantity (x/y) is a whole number &#8211; Mafia Wars doesn&#8217;t allow you to do <em>1.5 or 3.6</em> jobs, but 1 job or 3 job. So, (x-(x%y))/y times you can do a job when you have x amount of energy, and multiply it with experience rewards for that job to get the maximum experience you can gain.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://njaan.in/2010/02/19/mass-copyright-creative-commons-deed-violations-by-media/">Mass Creative Commons Deed Violations by Indian Media</a></li>
<li><a href="http://njaan.in/2009/02/09/the-pink-chaddi-campaign/">The Pink Chaddi Campaign</a></li>
<li><a href="http://njaan.in/2009/01/21/shobhana-performing-at-saarang-2009/">Shobhana @ Saarang 2009</a></li>
<li><a href="http://njaan.in/2008/12/23/extracting-audio-from-youtube-videos-flv-files-on-a-gnulinux-system/">Extracting Audio from Youtube Videos (.flv files) on a GNU/Linux System</a></li>
<li><a href="http://njaan.in/2008/12/05/double-standards-of-indian-media/">Double Standards of Indian Media</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://njaan.in/2009/08/04/thermodynamics-mafia-wars-exergy-facebook/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
