<?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>Procrastination &#187; MathML</title>
	<atom:link href="http://www.zackvision.com/weblog/category/mathml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zackvision.com</link>
	<description>The art of keeping up with yesterday&#039;s blogging</description>
	<lastBuildDate>Mon, 19 Jul 2010 15:33:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>G35 or RX-8?</title>
		<link>http://www.zackvision.com/weblog/2005/04/g35-or-rx8/</link>
		<comments>http://www.zackvision.com/weblog/2005/04/g35-or-rx8/#comments</comments>
		<pubDate>Thu, 07 Apr 2005 04:08:23 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Cars]]></category>
		<category><![CDATA[MathML]]></category>

		<guid isPermaLink="false">http://www.zackvision.com/?p=1242</guid>
		<description><![CDATA[Since our Honda Civic was totalled, we have had only one car. Now we are thinking of buying another. The car has to be a 4-seat sporty car since it must fit our daughter in her car seat...
]]></description>
			<content:encoded><![CDATA[<p>Ever since our Civic was totaled in an <a href="http://www.zackvision.com/weblog/archives/entry/000368.html">accident</a>, we have had one car. Most of the time, this car has been in use by Amber. Now we think we need another car. So I am looking for a new car.</p>
<p>I want a fun car to drive that should be fast, handle well (especially on curvy mountain roads) but be comfortable and reliable for the daily commute as well. Among other requirements, the car should have:</p>
<div class="numberedEq"><span>(1)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>Horsepower</mi><mo>&ge;</mo><mn>200 </mn><mi>hp</mi><mspace width="thinmathspace"></mspace><mo stretchy="false">(</mo><mn>150 </mn><mi>kW</mi><mo stretchy="false">)</mo></math>
</div>
<div class="numberedEq"><span>(2)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mfrac><mrow><mi>curb</mi><mi>weight</mi></mrow><mi>horsepower</mi></mfrac><mo>&le;</mo><mn>13 </mn><mi>lb</mi><mo stretchy="false">/</mo><mi>hp</mi><mspace width="thinmathspace"></mspace><mo stretchy="false">(</mo><mn>7.9 </mn><mi>kg</mi><mo stretchy="false">/</mo><mi>kW</mi><mo stretchy="false">)</mo></math>
</div>
<div class="numberedEq"><span>(3)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>Torque</mi><mo>&ge;</mo><mn>150 </mn><mtext>ft-lb</mtext><mspace width="thinmathspace"></mspace><mo stretchy="false">(</mo><mn>203 </mn><mtext>N-m</mtext><mo stretchy="false">)</mo></math>
</div>
<p>Originally, we were thinking of buying a roadster like <a href="http://www.edmunds.com/new/2005/nissan/350z/100464359/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Nissan*">Nissan 350Z</a>, <a href="http://www.edmunds.com/new/2005/honda/s2000/100454267/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Honda*">Honda S2000</a>, <a href="http://www.edmunds.com/new/2005/chevrolet/corvette/100375992/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Chevrolet*">Chevrolet Corvette</a> or <a href="http://www.edmunds.com/new/2005/porsche/boxster/100510881/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Porsche*">Porsche Boxster</a> (Ok, so the last two were a bit out of our reach, but I can dream; wait, if I dreamed I would get <a href="http://www.edmunds.com/new/2005/porsche/carreragt/100500350/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Porsche*">this car</a>). But with an almost-eight-month old kid, that is not practical. So now our choices are limited to 4-seaters, though the requirement of sportiness is still there.</p>
<p>The cars I am considering are the <a href="http://www.edmunds.com/new/2005/infiniti/g35/100489068/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Infiniti*">Infiniti G35 Coupe</a> and <a href="http://www.edmunds.com/new/2005/mazda/rx8/100463531/photos.html?tid=edmunds.n.researchlanding.leftsidenav..12.Mazda*">Mazda RX-8</a>, both with manual transmission (more fun and Amber can’t drive it!). Does anyone have any thoughts on either of these cars? Opinions of owners of <span class="caps">G35</span> or <span class="caps">RX</span>-8 would be especially appreciated.</p>
<p>The infant/toddler/booster seat will definitely be an issue. The larger convertible or 3-in-1 seats don’t fit in either <span class="caps">G35</span> or <span class="caps">RX</span>-8. Infiniti has a <a href="http://www.infiniti.com/content/0,,action-ISnugKidsPublic_hdnActionState-submitPublic_sctid-52052,00.html">list of seats</a> that fit in the <span class="caps">G35,</span> but even then I need to check how problematic it would be to put my daughter into a rear facing car seat. But I like the <span class="caps">G35</span> coupe much better than their sedan. And let’s face it, the Coupe looks like the 350Z.</p>
<p>Also, feel free to chime in with other models that you think I could like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zackvision.com/weblog/2005/04/g35-or-rx8/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>New Look, XHTML 1.1 and MathML</title>
		<link>http://www.zackvision.com/weblog/2005/01/xhtml-11-mathml/</link>
		<comments>http://www.zackvision.com/weblog/2005/01/xhtml-11-mathml/#comments</comments>
		<pubDate>Mon, 10 Jan 2005 04:02:56 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[MathML]]></category>

		<guid isPermaLink="false">http://www.zackvision.com/?p=1140</guid>
		<description><![CDATA[You might have noticed the new look of this weblog. It all started due to Asif and Jacques Distler. Asif just started using LaTeX formulae on his weblog and Jacques has been doing so for quite a while. Asif is using a WordPress plugin to convert LaTeX equations into images while Jacques converts them (or [...]]]></description>
			<content:encoded><![CDATA[<p>You might have noticed the new look of this weblog. It all started due to <a href="http://cafe.sovereign-renditions.info/index.php?p=224">Asif</a> and <a href="http://golem.ph.utexas.edu/~distler/blog/">Jacques Distler</a>. Asif just started using<br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mo lspace="0em" rspace="thinmathspace">LaTeX</mo></math>
<p> formulae on his weblog and <a href="http://golem.ph.utexas.edu/~distler/blog/archives/000076.html">Jacques</a> has been doing so for quite a while. Asif is using a <a href="http://www.wordpress.org">WordPress</a> plugin to convert<br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mo lspace="0em" rspace="thinmathspace">LaTeX</mo></math>
<p> equations into images while Jacques converts them (or rather <em><a href="http://pear.math.pitt.edu/mathzilla/itex2mmlItex.html">itex</a></em>) to <a href="http://www.w3.org/Math/">MathML</a>. I am trying to follow Jacques.</p>
<p>The first step needed was to make my pages valid <acronym title="eXtensible Hypertext Markup Language">XHTML</acronym> 1.1. Previously, my site was valid XHTML 1 Transitional. This required changes in my templates. The old <acronym title="Movable Type">MT</acronym> 2.6 templates I was using were up to no good. Therefore, I took the new MT 3.o default templates and modified them to my own tastes. Even then, I needed to make some changes in the templates and my entries to make them all pass XHTML 1.1 validity tests.</p>
<p>Right now, all the weblog pages other than the individual entry archives are valid XHTML 1.1. The individual entry pages need some more work because the comment forms need to be changed and the comments themselves are very invalid and require a lot of work. I&#8217;ll be slowly fixing that over the next few days or months.</p>
<p>Following <a href="http://golem.ph.utexas.edu/~distler/blog/archives/000167.html">Jacques&#8217;s advice</a>, I also had to serve my pages as <code>application/xhtml+xml</code> instead of <code>text/html</code>. Actually, this needs to be done only for those browsers which can handle MathML, the rest can be fed <code>text/html</code>. Right now, I am only serving my blog home page as <code>application/xhtml+xml</code> using the <code>Accept</code> header. But later on, I&#8217;ll move to Jacques&#8217;s scheme.</p>
<p>One of the problems with serving <code>application/xhtml+xml</code> is that the browser does not show <em>anything</em> if the code is not valid. Therefore, it is extremely important to validate all your pages. This could cause problems with comments since commenters can&#8217;t be trusted to use only valid XHTML 1.1. I might later try Jacques&#8217;s idea of <a href="http://golem.ph.utexas.edu/~distler/blog/archives/000155.html">forcing comment previews and validation</a>. But for now, I&#8217;ll have to fix them manually myself.</p>
<p>I have tested the new templates in Firefox 1.0 and Internet Explorer 6.0 on my Windows XP machine. The pages looked OK in both. If you find any problems viewing any of the blog pages or the layout doesn&#8217;t seem right, please let me know.</p>
<p>I have installed the <a href="http://golem.ph.utexas.edu/~distler/blog/itex2MML.html">itex2MML plugin</a> for Movable Type to create MathML content.</p>
<p>And now for some math tests. If you are using a <a href="http://www.mozilla.org/">Mozilla</a> browser (use Firefox please, it&#8217;s a much better browser), you&#8217;ll need to install <a href="http://www.mozilla.org/projects/mathml/fonts/">Math fonts</a>. If you are using Internet Explorer (why?), you can install the <a href="http://www.dessci.com/en/products/mathplayer/">MathPlayer plugin</a>.</p>
<p>As I am lazy, I am using the LaTeX (or<br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mo lspace="0em" rspace="thinmathspace">LaTeX</mo></math>
<p>) code from a few tests by Jacques and Asif.</p>
<p>First, an integral expression from <a href="http://cafe.sovereign-renditions.info/index.php?p=224">Asif</a>.</p>
<div class="numberedEq"><span>(1)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><msubsup><mo>&Integral;</mo> <mn>0 </mn> <mn>&infin;</mn></msubsup><mfrac><mrow><msup><mi>sin</mi> <mn>2 </mn></msup><mi>x</mi></mrow><mrow><msup><mi>x</mi> <mrow><mo lspace="verythinmathspace" rspace="0em">&minus;</mo><mn>3 </mn><mo stretchy="false">/</mo><mn>2 </mn></mrow></msup></mrow></mfrac><msup><mi>e</mi> <mi>x</mi></msup><mi>dx</mi></math>
</div>
<p>And here is a passage to test <a href="http://cafe.sovereign-renditions.info/index.php?p=226">arrays</a>.</p>
<p>Establishing driving point impedances works on the principle of simple R-L-C networks, where<br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><msub><mi>Z</mi> <mi>L</mi></msub><mo>=</mo><mi>L</mi><mo>.</mo><mfrac><mi>di</mi><mi>dt</mi></mfrac></math>
<p>,<br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><msub><mi>Z</mi> <mi>C</mi></msub><mo>=</mo><mn>1 </mn><mo stretchy="false">/</mo><mi>C</mi><mo>&Integral;</mo><mi>i</mi><mi>dt</mi></math>
<p>. Driving point impedances and admittances (in terms of effort and flow) are given as:</p>
<div class="numberedEq"><span>(2)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>e</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>=</mo><mi>Z</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>~</mo><mi>f</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>,</mo><mtext>and </mtext><mi>f</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>=</mo><mi>Y</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>~</mo><mi>e</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></math>
</div>
<p>In the case when we have a 2-port and we have effort of one port and flow of other as inputs and vice versa, then the transfer function of this hybrid formulation can be written as:</p>
<div class="numberedEq"><span>(3)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mrow><mo>(</mo><mrow><mtable><mtr><mtd><msub><mi>e</mi> <mn>1 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr> <mtr><mtd><msub><mi>f</mi> <mn>2 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr></mtable></mrow><mo>)</mo></mrow><mo>=</mo><mrow><mo>(</mo><mrow><mtable><mtr><mtd><msub><mi>h</mi> <mn>11 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd> <mtd><msub><mi>h</mi> <mn>12 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr> <mtr><mtd><msub><mi>h</mi> <mn>21 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd> <mtd><msub><mi>h</mi> <mn>22 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr></mtable></mrow><mo>)</mo></mrow><mrow><mo>(</mo><mrow><mtable><mtr><mtd><msub><mi>e</mi> <mn>2 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr> <mtr><mtd><msub><mi>f</mi> <mn>1 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr></mtable></mrow><mo>)</mo></mrow></math>
</div>
<p>or</p>
<div class="numberedEq"><span>(4)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mrow><mo>(</mo><mrow><mtable><mtr><mtd><msub><mi>f</mi> <mn>1 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr> <mtr><mtd><msub><mi>e</mi> <mn>2 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr></mtable></mrow><mo>)</mo></mrow><mo>=</mo><mrow><mo>(</mo><mrow><mtable><mtr><mtd><msub><mi>g</mi> <mn>11 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd> <mtd><msub><mi>g</mi> <mn>12 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr> <mtr><mtd><msub><mi>g</mi> <mn>21 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd> <mtd><msub><mi>g</mi> <mn>22 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr></mtable></mrow><mo>)</mo></mrow><mrow><mo>(</mo><mrow><mtable><mtr><mtd><msub><mi>f</mi> <mn>2 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr> <mtr><mtd><msub><mi>e</mi> <mn>1 </mn></msub><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mtd></mtr></mtable></mrow><mo>)</mo></mrow></math>
</div>
<p>Now let us test inline and display equations in a <code>blockquote</code> from a post by <a href="http://golem.ph.utexas.edu/~distler/blog/archives/000100.html">Jacques</a>.</p>
<blockquote><p>This is a test of the new <code>itex2MML+parbreaks</code> filter. Here is an inline equation:<br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mn>2 </mn><mi>sin</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mi>cos</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>=</mo><mi>sin</mi><mo stretchy="false">(</mo><mn>2 </mn><mi>x</mi><mo stretchy="false">)</mo></math>
<p>.</p>
<p>And here is a display equation</p>
<div class="numberedEq"><span>(5)</span><br />
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><msubsup><mo>&Integral;</mo> <mn>0 </mn> <mn>&infin;</mn></msubsup><msup><mi>e</mi> <mrow><mo lspace="verythinmathspace" rspace="0em">&minus;</mo><msup><mi>x</mi> <mn>2 </mn></msup></mrow></msup><mi>dx</mi><mo>=</mo><mfrac><msqrt><mi>&pi;</mi></msqrt><mn>2 </mn></mfrac></math>
</div>
<p>And here is some more prose.</p>
</blockquote>
<p>Please note that these equations will be properly rendered only on the main page right now and not work on any of the archives (monthly, category and individual entry). I&#8217;ll fix that in time though.</p>
<p>Also, unlike Jacques and Asif, I am not allowing Math in the comments, at least until I figure out and implement forced preview and validation.</p>
<p>Finally, I probably have broken my RSS/Atom feeds and accessibilty. I&#8217;ll look into that next.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zackvision.com/weblog/2005/01/xhtml-11-mathml/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>
