<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>numerical &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/numerical/</link>
	<description>Feed of posts on WordPress.com tagged "numerical"</description>
	<pubDate>Wed, 02 Dec 2009 21:03:23 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[ระเบียบวิธีเชิงตัวเลขสำหรับวิศวกร]]></title>
<link>http://sclaimon.wordpress.com/2009/11/23/%e0%b8%a3%e0%b8%b0%e0%b9%80%e0%b8%9a%e0%b8%b5%e0%b8%a2%e0%b8%9a%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82%e0%b8%aa/</link>
<pubDate>Mon, 23 Nov 2009 03:33:18 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/23/%e0%b8%a3%e0%b8%b0%e0%b9%80%e0%b8%9a%e0%b8%b5%e0%b8%a2%e0%b8%9a%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82%e0%b8%aa/</guid>
<description><![CDATA[201448     ระเบียบวิธีเชิงตัวเลขสำหรับวิศวกร     Numerical Methods for Engineers ผลเฉลยเชิงตัวเลขของ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>201448     ระเบียบวิธีเชิงตัวเลขสำหรับวิศวกร     Numerical Methods for Engineers</p>
<p>ผลเฉลยเชิงตัวเลขของการออกแบบการวางสายเคเบิล ผลเฉลยเชิงตัวเลขของการออกแบบวงจรไฟฟ้า การประมาณค่าจากการทดสอบแรงดึงในสปริง การหาความยาวผิวคลื่นโดยใช้การรวมเชิงตัวเลขผลเฉลยเชิงตัวเลขของการออกแบบคานแข็ง</p>
<p>(Numerical solution for cable design, numerical solution for electrical circuit design, approximation from spring tension test, determination of a length of corrugated surface using numerical integration, and numerical solution for rigid beam design.)</p>
<p>(201448 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[วิธีเชิงตัวเลขสํ าหรับวิศวกรเคมี]]></title>
<link>http://sclaimon.wordpress.com/2009/11/23/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82%e0%b8%aa%e0%b9%8d-%e0%b8%b2%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b8%a7/</link>
<pubDate>Mon, 23 Nov 2009 03:14:18 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/23/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82%e0%b8%aa%e0%b9%8d-%e0%b8%b2%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b8%a7/</guid>
<description><![CDATA[202213     วิธีเชิงตัวเลขสํ าหรับวิศวกรเคมี     Numerical Methods for Chemical Engineers การสร้างสมก]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>202213     วิธีเชิงตัวเลขสํ าหรับวิศวกรเคมี     Numerical Methods for Chemical Engineers</p>
<p>การสร้างสมการคณิตศาสตร์ของปัญหาทางวิศวกรรมเคมี ผลเฉลยเชิงตัวเลขของสมการ พีชคณิต การหาปริพันธ์เชิงตัวเลข ผลเฉลยเชิงตัวเลขของสมการเชิงอนุพันธ์สามัญและสมการเชิงอนุพันธ์ย่อย</p>
<p>(Mathematical formulation of chemical engineering problems, numerical solutions of algebraic equations, numerical integration, numerical solutions of ordinary and partial differential equations.)</p>
<p>(202213 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[การคํานวณเชิงตัวเลข]]></title>
<link>http://sclaimon.wordpress.com/2009/11/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b9%8d%e0%b8%b2%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82/</link>
<pubDate>Sat, 21 Nov 2009 07:18:08 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b9%8d%e0%b8%b2%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82/</guid>
<description><![CDATA[204472     การคํ านวณเชิงตัวเลข     Numerical Computation โครงสร้างระบบเลขจํ านวนของคอมพิวเตอร์ ขั้น]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>204472     การคํ านวณเชิงตัวเลข     Numerical Computation</p>
<p>โครงสร้างระบบเลขจํ านวนของคอมพิวเตอร์ ขั้นตอนวิธีเพื่อการประมวลผลเลขคณิต การใช้คอมพิวเตอร์เพื่อการแก้ปัญหาทางวิศวกรรมโดยรวมถึงการหาค่าประมาณการ การหาอนุพันธ์ การอินทิเกรตเชิงตัวเลข การเข้าสมการอนุพันธ์ ระบบสมการเชิงเส้นและไม่เชิงเส้นการปรับหาเส้นโค้งที่เหมาะสมและตัวแปลงฟูเรียร์อย่างเร็ว</p>
<p>(Number systems; algorithms for number crunching; solving engineering problems with computers: estimation, differentiation, numerical integration, differential equtations, linear and non-linear system equations, curve fitting, and fast Fourier transform.)</p>
<p>(204472 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[การวิเคราะห์เชิงตัวเลขเบื้องต้น]]></title>
<link>http://sclaimon.wordpress.com/2009/11/12/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%a7%e0%b8%b4%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b2%e0%b8%b0%e0%b8%ab%e0%b9%8c%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82-2/</link>
<pubDate>Thu, 12 Nov 2009 02:53:11 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/12/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%a7%e0%b8%b4%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b2%e0%b8%b0%e0%b8%ab%e0%b9%8c%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82-2/</guid>
<description><![CDATA[417343     การวิเคราะห์เชิงตัวเลขเบื้องต้น     Introductory Numerical Analysis การวิเคราะห์ค่าผิดพลา]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>417343     การวิเคราะห์เชิงตัวเลขเบื้องต้น     Introductory Numerical Analysis</p>
<p>การวิเคราะห์ค่าผิดพลาด รากของสมการไม่เชิงเส้น การประมาณฟังก์ชัน การประมาณค่าในช่วง การหาอนุพันธ์และการหาปริพันธ์เชิงตัวเลข</p>
<p>(Error analysis, zeros of non-liner equation, approximation of functions. Interpolation, numerical differentiation and integration.)</p>
<p>(417343 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ระเบียบวิธีเชิงตัวเลข]]></title>
<link>http://sclaimon.wordpress.com/2009/11/12/%e0%b8%a3%e0%b8%b0%e0%b9%80%e0%b8%9a%e0%b8%b5%e0%b8%a2%e0%b8%9a%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82/</link>
<pubDate>Thu, 12 Nov 2009 02:45:36 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/12/%e0%b8%a3%e0%b8%b0%e0%b9%80%e0%b8%9a%e0%b8%b5%e0%b8%a2%e0%b8%9a%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82/</guid>
<description><![CDATA[417401     ระเบียบวิธีเชิงตัวเลข     Numerical Methods ความคลาดเคลื่อนของการประมาณ การแก้สมการโดยระเ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>417401     ระเบียบวิธีเชิงตัวเลข     Numerical Methods</p>
<p>ความคลาดเคลื่อนของการประมาณ การแก้สมการโดยระเบียบวิธีเชิงตัวเลขเทคนิคการประมาณฟังก์ชัน การประมาณค่าในช่วง การประมาณค่าอนุพันธ์และค่าปริพันธ์</p>
<p>(Errors in approximation, location of zeros, approximating functions, interpolation, approximation of differentiation and integration.)</p>
<p>(417401 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[การวิเคราะห์เชิงตัวเลขระดับกลาง]]></title>
<link>http://sclaimon.wordpress.com/2009/11/12/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%a7%e0%b8%b4%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b2%e0%b8%b0%e0%b8%ab%e0%b9%8c%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82/</link>
<pubDate>Thu, 12 Nov 2009 02:23:29 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/12/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%a7%e0%b8%b4%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b2%e0%b8%b0%e0%b8%ab%e0%b9%8c%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b8%95%e0%b8%b1%e0%b8%a7%e0%b9%80%e0%b8%a5%e0%b8%82/</guid>
<description><![CDATA[417443     การวิเคราะห์เชิงตัวเลขระดับกลาง     Intermediate Numerical Analysis ระเบียบวิธีซ้ำสำหรับร]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>417443     การวิเคราะห์เชิงตัวเลขระดับกลาง     Intermediate Numerical Analysis</p>
<p>ระเบียบวิธีซ้ำสำหรับระบบสมการเชิงเส้น ผลเฉลยเชิงตัวเลขของปัญหา ค่าเริ่มต้นการประมาณของปัญหาค่าขอบแบบสองจุด</p>
<p>(Iterative methods for system of linear equations, numerical solutions of initial value problems, approximation of two-point boundary value problems.)</p>
<p>(417443 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Jacobi method demo]]></title>
<link>http://takisword.wordpress.com/2009/11/02/jacobi-method-demo/</link>
<pubDate>Mon, 02 Nov 2009 20:44:19 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/11/02/jacobi-method-demo/</guid>
<description><![CDATA[Code below is to solve the static version of the equation in previous FDM code demo, with B.C. chang]]></description>
<content:encoded><![CDATA[Code below is to solve the static version of the equation in previous FDM code demo, with B.C. chang]]></content:encoded>
</item>
<item>
<title><![CDATA[วิธีเชิงเลขและการคำนวณโดยใช้เครื่องคอมพิวเตอร์]]></title>
<link>http://sclaimon.wordpress.com/2009/10/28/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b9%80%e0%b8%a5%e0%b8%82%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93/</link>
<pubDate>Wed, 28 Oct 2009 03:13:38 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/10/28/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b9%80%e0%b8%8a%e0%b8%b4%e0%b8%87%e0%b9%80%e0%b8%a5%e0%b8%82%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93/</guid>
<description><![CDATA[2102601  วิธีเชิงเลขและการคำนวณโดยใช้เครื่องคอมพิวเตอร์   Numerical Methods And Digital Computation ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>2102601  วิธีเชิงเลขและการคำนวณโดยใช้เครื่องคอมพิวเตอร์   Numerical Methods And Digital Computation</p>
<p>การวิเคราะห์และการเขียนโปรแกรมคอมพิวเตอร์สำหรับหัวเรื่องดังต่อไปนี้ การวิเคราะห์ความคลาดเคลื่อน การหาค่าของฟังก์ชัน การหารากของสมการในระบบเชิงเส้นและในเชิงเส้น วิธีประมาณค่าในช่วงและประมาณค่านอกช่วง การหาอนุพันธ์และการอินทีเกรตแบบเชิงเลข การหาคำตอบของสมการเชิงอนุพันธ์แบบเชิงเลข และวิธีออปติไมซ์</p>
<p>(Analysis and computer programs for the topics : error analysis, function evaluations, determination of the roots of a system of linear and non- linear equations, interpolation and extrapolation methods, numerical differentiation and integration; numerical solution of a system of ordinary differential equations; optimization methods.)</p>
<p>(2102601 จุฬาลงกรณ์มหาวิทยาลัย)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Salah Satu Mukjizat Al'Quran : Tujuh Yang Diulang-ulang]]></title>
<link>http://jakarta45.wordpress.com/2009/10/26/salah-satu-mukjizat-alquran-tujuh-yang-diulang-ulang/</link>
<pubDate>Mon, 26 Oct 2009 04:50:36 +0000</pubDate>
<dc:creator>jakarta45</dc:creator>
<guid>http://jakarta45.wordpress.com/2009/10/26/salah-satu-mukjizat-alquran-tujuh-yang-diulang-ulang/</guid>
<description><![CDATA[www.mukhlason.wordpress.com Salah Satu Mu’jizat Al-Quran : Tujuh Yang diulang-ulang Monday, Oct 26 2]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>www.mukhlason.wordpress.com</p>
<h2><em><a title="Permanent Link: Salah Satu Mu’jizat Al-Quran : Tujuh Yang diulang-ulang" rel="bookmark" href="http://mukhlason.wordpress.com/2009/10/26/salah-satu-mu%e2%80%99jizat-al-quran-tujuh-yang-diulang-ulang/">Salah Satu Mu’jizat Al-Quran : Tujuh Yang diulang-ulang</a></em></h2>
<h2>Monday, Oct 26 2009</h2>
<p><a title="View all posts in Umum" rel="category tag" href="http://en.wordpress.com/tag/umum/">Umum</a> mukhlason 		10:07 am</p>
<div>
<p style="text-align:left;">Dalam surah Al-Hijr ayat 87, Allah Subhaanahu wa Ta’ala mengatakan :</p>
<p style="text-align:center;"><img title="hijr-87" src="http://mukhlason.files.wordpress.com/2009/10/hijr-87.jpg?w=300&#038;h=28#38;h=28" alt="hijr-87" width="300" height="28" /><em>Wa laqod aataynaaka sab’an minal matsaani wal quranal ‘adhim</em></p>
<p>87. Dan sesungguhnya Kami telah berikan kepadamu tujuh ayat yang dibaca berulang-ulang[814] dan Al Quran yang agung.</p>
<p>Ustadz Fahmi Basya Hamdi (fahmibasyahamdi@yahoo.co.id), alumni Fisika MIPA Universitas Indonesia, pada salah satu kajiannya di MHTV Surabaya beberapa waktu yang lalu membeberkan hal yang sangat mengejutkan bagi saya. Tidak lain karena materi yang disampaikannya pada waktu itu, yaitu Perulangan dalam Al-Quran yang berkaitan dengan angka tujuh.</p>
<p>Sebagaimana tersebut dalam surah al-hijr ayat 87 di atas, terdapat beberapa contoh perulangan dengan kelipatan angka tujuh.</p>
<p>Konsep kelipatan angka tujuh (tujuh yang diulang-ulang) yang berpasangan (matsani) dicontohkan beliau sebagai berikut :</p>
<p>- Jumlah juz Al-Quran : 30 Juz<br />
- Jumlah Surah : 114 Surah<br />
- Jumlah Ayat : 6236 ayat<br />
- Jumlah ayat ditambah basmalah di awal surah : 6236 ayat + 112 ayat = 6348 ayat</p>
<p>(Jumlah surah dikurangi dua surah yaitu :<br />
· Al-Fatihah karena basmalah sudah dihitung sebagai ayat, dan<br />
· At-Taubah karena tidak diawali dengan basmalah</p>
<p>Bilangan-bilangan tersebut dijajarkan sebagai berikut :</p>
<p>1) 3 0 1 1 4 :7 = 4302 (bilangan bulat sempurna)</p>
<p>2) 3 0 6 2 3 6 : 7 = 43748 (bilangan bulat sempurna)</p>
<p>3) 1 1 4 6 2 3 6 : 7 = 163748 (bilangan bulat sempurna)</p>
<p>4) 3 0 6 3 4 8 : 7 = 43764 (bilangan bulat sempurna)</p>
<p>5) 1 1 4 6 3 4 8 : 7 = 163764 (bilangan bulat sempurna)</p>
<p style="text-align:left;"><img title="rincian_tujuh_diulang" src="http://mukhlason.files.wordpress.com/2009/10/rincian_tujuh_diulang2.jpg?w=500&#038;h=141#38;h=141" alt="rincian_tujuh_diulang" width="500" height="141" /></p>
<p style="text-align:left;">Selain bilangan-bilangan juz, surah, dan ayat, masih ada juga perulangan-perulangan lainnya seperti jumlah lafadz (kata) Allah, Ar-Rahmaan, Ar-Rahiim, yang saya sendiri lupa detailnya. Nanti kalau sudah ketemu Insya Allah saya kirim lagi.</p>
<p>Saya yakin, Allah Subhanahu wa Ta’ala tidak main-main dalam menciptakan quran, begitu juga dengan susunan, urutan, dan ayat-ayat quran yang ada saat ini.</p>
<p>Dalam surah Al-Hijr ayat 9 : “Sesungguhnya Kami-lah yang menurunkan Al Quran, dan sesungguhnya Kami benar-benar memeliharanya<strong>[793]</strong>“.</p>
<p>Selamat menikmati keajaiban2 Al-Quran dan segala macam kebenarannya. (SON)</p>
<p>M Ari Mukhlason / HP : 0818 223 062, 031 8341 8998</p>
<p>mukhlason@gmail.com , muhammadari@yahoo.com</p>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[A sample of toy FDM code]]></title>
<link>http://takisword.wordpress.com/2009/10/22/a-sample-of-toy-fdm-code/</link>
<pubDate>Thu, 22 Oct 2009 23:50:10 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/10/22/a-sample-of-toy-fdm-code/</guid>
<description><![CDATA[Solving equation Time integration is full implicit, and during each time step Newton&#8217;s method ]]></description>
<content:encoded><![CDATA[Solving equation Time integration is full implicit, and during each time step Newton&#8217;s method ]]></content:encoded>
</item>
<item>
<title><![CDATA[APPLIED NUMERICAL METHODS USING MATLAB]]></title>
<link>http://esal.wordpress.com/2009/10/15/applied-numerical-methods-using-matlab/</link>
<pubDate>Thu, 15 Oct 2009 08:43:55 +0000</pubDate>
<dc:creator>esal</dc:creator>
<guid>http://esal.wordpress.com/2009/10/15/applied-numerical-methods-using-matlab/</guid>
<description><![CDATA[APPLIED NUMERICAL METHODS USING MATLAB by Won Young Yang]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><strong>APPLIED NUMERICAL METHODS USING MATLAB</strong></p>
<p style="text-align:center;">by Won Young Yang</p>
<p><img class="aligncenter size-full wp-image-1109" title="Applied Numerical Methods Using MatlaB - Won Y. Yang" src="http://esal.wordpress.com/files/2009/10/applied-numerical-methods-using-matlab-won-y-yang.jpg" alt="Applied Numerical Methods Using MatlaB - Won Y. Yang" width="224" height="355" /></p>
<p style="text-align:center;"><span style="color:#0000ff;"><a href="http://www.ziddu.com/download/6777360/AppliedNumericalMethodsUsingMatlaB-WonY.Yang.pdf.html"><img src="http://bse.depdiknas.go.id/images_gif/download.gif" border="0" alt="" width="91" height="31" /></a></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Preparing for McKPST]]></title>
<link>http://phd4consulting.wordpress.com/2009/09/19/preparing-for-mckpst/</link>
<pubDate>Sun, 20 Sep 2009 01:32:21 +0000</pubDate>
<dc:creator>Helen</dc:creator>
<guid>http://phd4consulting.wordpress.com/2009/09/19/preparing-for-mckpst/</guid>
<description><![CDATA[Ahhhh, it&#8217;s that time of the year again&#8230; You polish your resume, recount a teamwork expe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ahhhh, it&#8217;s that time of the year again&#8230; You polish your resume, recount a teamwork experience, and &#8230; get invited to the office &#8230; to take a MATH test!!!</p>
<p>I thought it was awful, considering how long it has been since the last time I last took a real exam&#8230; Read the invitation carefully, good thing is that you don&#8217;t have to know how to handle case questions for the first round. The result is almost entirely decided by the outcome of McKPST. Bad thing is&#8230; it looks like there is no way to prepare for it, at least in a couple of weeks: can you really dramatically improve reading and apprehending speed in a short time? Maybe, but I didn&#8217;t succeed. So, give it your best and enjoy the process.</p>
<p>OK, key points of the test: absorb large amount of information in short period of time; business common sense; comfortable with numbers</p>
<p>To save you some time and help you better use your sample exam, I&#8217;ll introduce <span style="color:#0000ff;">the format of McKPST</span>: The real exam is made up of 3 case studies. Each case has many questions. Each question has 4 choices. Only one right choice. (This looks very simple. But it&#8217;s said that no one had ever scored full credit. But probability suggests pure luck could result in full credit &#8230;) The test paper is your scratch paper, where in the margins you can write your calculations and underscore and whatever. At the end of the test, use a pencil to fill the answer sheet, and the test paper is going to be taken away as well. The first couple of pages of the test are warm up exercise, which you can read before starting the real test.</p>
<p>The exam looks like this:</p>
<p>Case I</p>
<p>(Paragraph 1) I&#8217;m a case, look I&#8217;m a case, a case, a case, a case &#8230; Company, profit, this year, last year, next decade, merge, acquisition, problem, products &#8230; Key word 1, key word 2, key word 3 &#8230; key word x &#8230; Tables, charts &#8230;</p>
<p>(Question 1-1) I&#8217;m a question, a question, a question, a question &#8230; Key word 1 &#8230; Numbers, strategies, arguments &#8230; Choose 1 out of 4</p>
<p>(Question 1-2) I&#8217;m another question, another question, another question, another question &#8230; Key word 2 &#8230; Numbers, strategies, arguments &#8230; Choose 1 out of 4</p>
<p>&#8230;</p>
<p>(Paragraph 2) I&#8217;m new information, new information, new information &#8230; proposed strategy, recommendation &#8230; key word a, key word b &#8230;</p>
<p>(Question 2-1) I&#8217;m a question, a question, a question, a question &#8230; Key word a &#8230; Numbers, strategies, arguments &#8230; Choose 1 out of 4</p>
<p>(Question 2-2) I&#8217;m a question, a question, a question, a question &#8230; Key word b, key word x &#8230; Numbers, strategies, arguments &#8230; Choose 1 out of 4</p>
<p>&#8230;</p>
<p>(Paragraph 3) I&#8217;m more information, more information, more information &#8230; proposed strategy, recommendation &#8230; key word e, key word f &#8230;</p>
<p>(Question 3-1) I&#8217;m a question, a question, a question, a question &#8230; Key word e &#8230; Numbers, strategies, arguments &#8230; Choose 1 out of 4</p>
<p>(Question 3-2) I&#8217;m a question, a question, a question, a question &#8230; Key word f &#8230; Numbers, strategies, arguments &#8230; Choose 1 out of 4</p>
<p>&#8230;</p>
<p>Case II</p>
<p>Please repeat the format of I &#8230; (maybe less paragraphs and less questions than I)</p>
<p>Case III</p>
<p>Please repeat the format of I&#8230; (maybe even less paragraphs and less questions than I)</p>
<p><span style="color:#0000ff;">Tactical suggestions</span>: Besides the ones given in &#8220;answer keys&#8221; and &#8220;coaching guide&#8221;<span style="color:#ff0000;"> </span></p>
<ul>
<li><span style="color:#ff0000;">Treasure your sample exam</span>. It&#8217;s the one and only practice material in the world. Be honest with yourself when taking it; time yourself closely. As the &#8220;coaching guide&#8221; suggests, you don&#8217;t have to finish the whole exam once. Split in half, in order to exercise the tactics in &#8220;answer keys&#8221;. Tough decision: you don&#8217;t want to take it too early, or too late. You have to get yourself familiar with the format and find out which parts (reading? numerical?) you&#8217;d like to spend more efforts to prepare. Unfortunately, there&#8217;s only one case in the sample exam, which is one third of the real exam.</li>
<li><span style="color:#ff0000;">MONITOR YOUR SPEED/PROCESS<span style="color:#000000;">:</span></span> do not waste too much time on one problem before finishing the rest; if time is tight, non-numerical questions MAYBE easier to tackle since you could guess and eliminate the extremes, but only MAYBE</li>
<li>Read questions first and underline useful information, as suggested in the &#8220;coaching guide&#8221;. One thing it doesn&#8217;t mention is that, key info NOT always lies in the paragraph immediately proceeding the question, i.e. a case is a case, no matter how many parts it is broken into, <span style="color:#0000ff;">you may have to look further back to find answers</span>.</li>
<li>A digital watch (with numbers, not arms) maybe helpful, no alarms allowed though</li>
<li>McKinsey may suggest you practice GRE math. But it&#8217;s too much. You&#8217;ll never need more than +-*/ and percentage. Of course, you&#8217;ll need more than guestimation since you do have pens to calcuate. Maybe practice some mental math to warm up your confidence with numbers. It&#8217;ll be useful for the case questions as well. I&#8217;ll write a separate article on mental math.</li>
<li>Some suggests GMAT may be of similar format as the test. I never took it so I don&#8217;t know. It looks like the readings are way much longer, topics are not always business-related, and math is much more demanding.</li>
</ul>
<p><a href="http://www.shldirect.com/">http://www.shldirect.com/</a> (English) provides <span style="color:#0000ff;">sample exams</span>. It belongs to a group that creates written exams for many global companies. I feel that the format of their test is very close to McKPST, which also includes business charts and tables. Still, their numerical test allows calculator, but you can exercise your mental math with it. Their verbal test is entirely different from McKPST, but good for reading practice. A terrible thing about their mock exam is web browser!!! Yes, I can&#8217;t believe it either. I think I didn&#8217;t take the mock exam  because you have to have a really old version of IE in order for it to work. I mean, come on!!! If you have plenty of time even to re-visit outdated explorers, I recommend you take their mock exam.</p>
<p>If you know Chinese, good for you! The following website gives the best exercise exams (including timed online test) and interview stories!!! You&#8217;ll have to sign up, but it&#8217;s totally worth it. There is even a message board devoted exclusively to McKinsey. <a href="http://bbs.yingjiesheng.com/forum-60-1.html">http://bbs.yingjiesheng.com/forum-60-1.html</a> (Chinese) Many tests are in English. Note that their Numerical tests are much more difficult than McKPST. I suppose it&#8217;s in the format of accounting firm exams, where you have the freedom of using a calculator.</p>
<p><a href="http://www.shldirect.com/"><br />
</a></p>
<p>Also some documents that might be useful:</p>
<p><a href="http://phd4consulting.wordpress.com/files/2009/09/mck-caselet.pdf">McK caselet</a> (English) (maybe an old McKPST, I found it somewhere online)</p>
<p><a href="http://phd4consulting.wordpress.com/files/2009/09/2010e5b9b4e5ba94e5b18ae7949fe6b182e8818ce5a4a7e7a4bce58c85e28094e28094e9baa6e882afe994a1e7af871.pdf">2010年应届生求职大礼包——麦肯锡篇</a> (Chinese) (It seems that there are only 2 sets of McKPST.)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Benchmarking]]></title>
<link>http://asifjmir.wordpress.com/2009/09/18/benchmarking/</link>
<pubDate>Fri, 18 Sep 2009 02:52:17 +0000</pubDate>
<dc:creator>Asif Mir</dc:creator>
<guid>http://asifjmir.wordpress.com/2009/09/18/benchmarking/</guid>
<description><![CDATA[We cannot become what we want to be by remaining what we are. Shift from the original status is the ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>We cannot become what we want to be by remaining what we are. Shift from the original status is the key for success.</p>
<p>If a company is loosing the market (or) customers, the company has to realize that somebody is doing well ahead. So it is necessary to find out the ways to get their competitor’s level and have to beat them to retain the market and customers. An ideal tool to meet this level is benchmarking.</p>
<p>Benchmarking is a way to go backstage and watch another company’s performance from the wings where all the stage tricks and hurried re-alignments are visible. It is the practice of being humble enough to admit that someone else is better at something, and wise enough to learn to how to match and even surpass, them at it.</p>
<p>It is the process of identification, understanding and practicing the outstanding practices and processes from organizations anywhere in the world to help the organizations to improve its perfomance.</p>
<p>While benchmarking, it is not ethical to benchmark a product with another. This will give only the numerical values of weight, width, height, number of defects and number of rejections. But the objective is to benchmark a process with the best processes anywhere in the world having that best product as a target.</p>
<p>Benchmarking is not copying or imitating. This involves observing and learning from others. it is not a time-bound event. It is a continuous journey and an ongoing process without end, till the company is existing. The more we split the process into small segments the more will be the value added to each individual process. This is the key feature of benchmarking.</p>
<p>My Consultancy–<a title="Asif J. Mir" href="http://www.asifjmir.com/" target="_blank">Asif J. Mir </a>- Management Consultant–transforms organizations where people have the freedom to be creative, a place that brings out the best in everybody–an open, fair place where people have a sense that what they do matters. For details please visit <a title="Asif J. Mir" href="http://www.asifjmir.com/" target="_blank">www.asifjmir.com</a>, <a href="http://www.youtube.com/asifjmir">Lectures</a>, <a title="Line of Sight" href="http://asifjmir.blogspot.com/" target="_blank">Line of Sight</a></p>
<p><!--Session data--></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Adding Generalized Eigenvalue functions to IT++]]></title>
<link>http://techlogbook.wordpress.com/2009/08/12/adding-generalized-eigenvalue-functions-to-it/</link>
<pubDate>Wed, 12 Aug 2009 07:47:05 +0000</pubDate>
<dc:creator>kurniawano</dc:creator>
<guid>http://techlogbook.wordpress.com/2009/08/12/adding-generalized-eigenvalue-functions-to-it/</guid>
<description><![CDATA[I have added a functions call to lapack DGGEV and ZGGEV functions to solve generalized eigenvalue pr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have added a functions call to lapack DGGEV and ZGGEV functions to solve generalized eigenvalue problem. There are three files to modify: lapack.h, eigen.h, and eigen.cpp. The diff files can be obtained from <a href="http://ihpcoka.wiki.zoho.com/attach/1.0/Download-Source-Codes/diffalgebra.txt">this link</a>.</p>
<p>To test the code, I ran an example for generalized complex eigenvalue problem found <a href="http://www.nag.co.uk/lapack-ex/node122.html">in the NAG site</a>. The test program is shown below:</p>
<p><code></p>
<pre>
#include 

using namespace itpp;

//These lines are needed for use of cout and endl
using std::cout;
using std::endl;

int main()
{

  cmat cA,cB;
  cA="-21.10-22.50i 53.50-50.50i -34.50+127.50i 7.50+0.50i;
        -0.46-7.78i -3.50-37.50i -15.50+58.50i -10.50-1.50i;
        4.30-5.50i 39.70-17.10i -68.50+12.50i -7.50-3.50i;
        5.50+4.40i 14.40+43.30i -32.50-46.00i -19.00-32.50i";

  cB="1.00-5.00i 1.60+1.20i -3.00+0.00i 0.00-1.00i;
        0.80-0.60i 3.00-5.00i -4.00+3.00i -2.40-3.20i;
        1.00+0.00i  2.40+1.80i -4.00-5.00i 0.00-3.00i;
        0.00+1.00i -1.80+2.40i  0.00-4.00i  4.00-5.00i";

  cout&#60;&#60; &#34;cA = &#34; &#60;&#60; cA&#60;&#60;endl;
  cout&#60;&#60; &#34;cB = &#34; &#60;&#60; cB&#60;&#60;endl;

  cvec lambda;
  cmat evecs;
  eig(cA,cB,lambda,evecs);
  cout&#60;&#60; &#34;eig(cA,cB)\n&#34;;
  cout &#60;&#60; &#34;lambda = &#34;&#60;&#60;lambda&#60;&#60;endl;
  cout &#60;&#60; &#34;evecs = &#34;&#60;&#60;evecs&#60;&#60;endl;

  //Exit program:
  return 0;

}
</pre>
<p></code></p>
<p>And the output is:<br />
<code></p>
<pre>
cA = [[-21.1-22.5i 53.5-50.5i -34.5+127.5i 7.5+0.5i]
 [-0.46-7.78i -3.5-37.5i -15.5+58.5i -10.5-1.5i]
 [4.3-5.5i 39.7-17.1i -68.5+12.5i -7.5-3.5i]
 [5.5+4.4i 14.4+43.3i -32.5-46i -19-32.5i]]
cB = [[1-5i 1.6+1.2i -3+0i 0-1i]
 [0.8-0.6i 3-5i -4+3i -2.4-3.2i]
 [1+0i 2.4+1.8i -4-5i 0-3i]
 [0+1i -1.8+2.4i 0-4i 4-5i]]
eig(cA,cB)
lambda = [3-9i 2-5i 3-1i 4-5i]
evecs = [[-0.823768-0.176232i 0.639741+0.360259i
                  0.977535+0.0224645i -0.906234+0.0937662i]
 [-0.152951+0.0706552i 0.0041597-0.000546503i
                  0.159101-0.11371i -0.0074303+0.00687504i]
 [-0.0706552-0.152951i 0.0402123+0.0226448i
                  0.120899-0.15371i 0.0302078-0.00312554i]
 [0.152951-0.0706552i -0.0226448+0.0402123i
                  0.15371+0.120899i -0.0145859-0.14097i]]
</pre>
<p></code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Calling lapack functions from C++ codes]]></title>
<link>http://techlogbook.wordpress.com/2009/08/12/calling-lapack-functions-from-c-codes/</link>
<pubDate>Wed, 12 Aug 2009 07:02:18 +0000</pubDate>
<dc:creator>kurniawano</dc:creator>
<guid>http://techlogbook.wordpress.com/2009/08/12/calling-lapack-functions-from-c-codes/</guid>
<description><![CDATA[I have been using IT++ for my C++ class matrix and vectors. It is a great libraries. However, it lac]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have been using IT++ for my C++ class matrix and vectors. It is a great libraries. However, it lacks the function to solve generalized eigenvalue problem. so I need to link directly to lapack to do this. I follow the wrapper used in eigen.cpp to link to ZGGEV function of lapack. I tested the code with the problem shown <a href="http://www.nag.co.uk/lapack-ex/node122.html">in NAG website for ZGGEV examples</a>.</p>
<p>To use IT++ matrix and vector classes, we need to include:<br />
<code>#include &#60;itpp/base.h&#62; </code></p>
<p>Then we need to declare the ZGGEV function prototype. Refer to <a href="http://www.netlib.org/lapack/complex16/zggev.f">this page</a> for details on ZGGEV parameters.  We can then define<br />
<code>
<pre>
extern "C"{
void zggev_(char *jobvl, char *jobvr, int *n, std::complex *a,
            int *lda, std::complex *b, int *ldb, std::complex *alpha,
            std::complex *beta, std::complex *vl,
            int *ldvl, std::complex *vr, int *ldvr,
            std::complex *work, int *lwork, double *rwork, int *info);
}</pre>
<p></code></p>
<p>To call the functions, we simply type:<br />
<code>
<pre>
zggev_(&#38;jobvl, &#38;jobvr, &#38;n, cA._data(), &#38;lda,
           cB._data(), &#38;ldb, alpha._data(),  beta._data(), vl._data(),
           &#38;ldvl, vr._data(), &#38;ldvr, work._data(), &#38;lwork,
           rwork._data(), &#38;info);</pre>
<p></code></p>
<p>and then we need to compile and link. These are the command:<br />
<code>
<pre>
gcc -I$HOME/local/include -I$HOME/Download/boost_1_36_0 \
     -L$HOME/local/lib testzlapack.cpp -o tzlapack \
     -llapack -lcblas -lf77blas -latlas -litpp -g</pre>
<p></code><br />
Note that I use a modified IT++ library that uses Boost libraries to compute complex function acos. </p>
<p>The complete source code is:<br />
<code></p>
<pre>
//file:testzlapack.cpp
#include &#38;lt itpp/base.h &#38;gt

using namespace itpp;

//These lines are needed for use of cout and endl
using std::cout;
using std::endl;

extern "C"{
void zggev_(char *jobvl, char *jobvr, int *n, std::complex *a,
            int *lda, std::complex *b, int *ldb, std::complex *alpha,
            std::complex *beta, std::complex *vl,
            int *ldvl, std::complex *vr, int *ldvr,
            std::complex *work, int *lwork, double *rwork, int *info);
}

int main()
{

  cmat cA,cB;
  cA="-21.10-22.50i 53.50-50.50i -34.50+127.50i 7.50+0.50i;
    -0.46-7.78i -3.50-37.50i -15.50+58.50i -10.50-1.50i;
    4.30-5.50i 39.70-17.10i -68.50+12.50i -7.50-3.50i;
    5.50+4.40i 14.40+43.30i -32.50-46.00i -19.00-32.50i";

 cB="1.00-5.00i 1.60+1.20i -3.00+0.00i 0.00-1.00i;
   0.80-0.60i 3.00-5.00i -4.00+3.00i -2.40-3.20i;
   1.00+0.00i  2.40+1.80i -4.00-5.00i 0.00-3.00i;
   0.00+1.00i -1.80+2.40i  0.00-4.00i  4.00-5.00i";

  cout&#60;&#60; &#34;cA = &#34; &#60;&#60; cA&#60;&#60;endl;
  cout&#60;&#60; &#34;cB = &#34; &#60;&#60; cB&#60;&#60;endl;

  cvec lambda;
  cmat evecs;
//  eig(cA,lambda,evecs);
  char jobvl = &#39;N&#39;, jobvr = &#39;V&#39;;
  int n, lda, ldb, ldvl, ldvr, lwork, info;
  n=lda=cA.rows();
  ldb = cB.rows();
  ldvl = 1;
  ldvr = n;
  lwork = std::max(1,  n*n+64); // This may be choosen better!

  cvec work(lwork);
  vec rwork(8*n); // This may be choosen better
  cvec alpha(n), beta(n);
  cmat vl(1,1), vr(n, n);
  zggev_(&#38;jobvl, &#38;jobvr, &#38;n, cA._data(), &#38;lda,
       cB._data(), &#38;ldb, alpha._data(),  beta._data(), vl._data(),
       &#38;ldvl, vr._data(), &#38;ldvr, work._data(), &#38;lwork,
       rwork._data(), &#38;info);
  lambda=elem_div(alpha,beta);
  evecs=vr;
  cout&#60;&#60;endl;
  cout&#60;&#60; &#34;eig(cA,cB)= \n&#34;;
  cout &#60;&#60; &#34;lambda = &#34;&#60;&#60;lambda&#60;&#60;endl;
  cout &#60;&#60; &#34;evecs = &#34;&#60;&#60;evecs&#60;&#60;endl;

  //Exit program:
  return 0;

}
</code>

And we get the output:
<code>
cA = [[-21.1-22.5i 53.5-50.5i -34.5+127.5i 7.5+0.5i]
 [-0.46-7.78i -3.5-37.5i -15.5+58.5i -10.5-1.5i]
 [4.3-5.5i 39.7-17.1i -68.5+12.5i -7.5-3.5i]
 [5.5+4.4i 14.4+43.3i -32.5-46i -19-32.5i]]
cB = [[1-5i 1.6+1.2i -3+0i 0-1i]
 [0.8-0.6i 3-5i -4+3i -2.4-3.2i]
 [1+0i 2.4+1.8i -4-5i 0-3i]
 [0+1i -1.8+2.4i 0-4i 4-5i]]

 eig(cA,cB)=
lambda = [3-9i 2-5i 3-1i 4-5i]
evecs = [[-0.823768-0.176232i 0.639741+0.360259i
                     0.977535+0.0224645i -0.906234+0.0937662i]
 [-0.152951+0.0706552i 0.0041597-0.000546503i
                     0.159101-0.11371i -0.0074303+0.00687504i]
 [-0.0706552-0.152951i 0.0402123+0.0226448i
                     0.120899-0.15371i 0.0302078-0.00312554i]
 [0.152951-0.0706552i -0.0226448+0.0402123i
                     0.15371+0.120899i -0.0145859-0.14097i]]
</pre>
<p></code></p>
<p>which agrees with the <a href="http://www.nag.co.uk/lapack-ex/examples/results/zggev-ex.r">results shown in NAG site</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ruby: Convert Number to Words (Numerical)]]></title>
<link>http://mexpolk.wordpress.com/2009/08/08/ruby-convert-number-to-words-numerical/</link>
<pubDate>Sat, 08 Aug 2009 11:07:45 +0000</pubDate>
<dc:creator>Ivan Torres</dc:creator>
<guid>http://mexpolk.wordpress.com/2009/08/08/ruby-convert-number-to-words-numerical/</guid>
<description><![CDATA[Recently I&#8217;ve published my new gem NumberToWords. This plugin/gem will override Ruby&#8217;s N]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I&#8217;ve published my new gem <a href="http://github.com/mexpolk/number_to_words/tree/master">NumberToWords</a>. This plugin/gem will override Ruby&#8217;s Numeric class adding a new method called to_words. For now, it only works for Spanish.</p>
<p>Sample usage:</p>
<div class="CodeRay">
<div class="code">
<pre>require <span class="s"><span class="dl">'</span><span class="k">rubygems</span><span class="dl">'</span></span>
require <span class="s"><span class="dl">'</span><span class="k">number_to_words</span><span class="dl">'</span></span>
<span class="i">5678</span>.to_words
=&#62; <span class="er">“</span>cinco mil seiscientos setenta y ocho”</pre>
</div>
</div>
<p>Another common usage is for describing currency quantities:</p>
<div class="CodeRay">
<div class="code">
<pre>number = <span class="fl">4567.90</span>
=&#62; <span class="fl">4567.9</span>
number.to_words.capitalize &#60;&#60; <span class="s"><span class="dl">'</span><span class="k"> pesos </span><span class="dl">'</span></span> &#60;&#60; (number.to_s.split(<span class="s"><span class="dl">'</span><span class="k">.</span><span class="dl">'</span></span>)[<span class="i">1</span>] &#124;&#124; <span class="i">0</span>).rjust(<span class="i">2</span>,<span class="s"><span class="dl">'</span><span class="k">0</span><span class="dl">'</span></span>)
=&#62; <span class="s"><span class="dl">&#34;</span><span class="k">Cuatro mil quinientos sesenta y siete pesos 09/100 M.N.</span><span class="dl">&#34;</span></span></pre>
</div>
</div>
<p>http://github.com/mexpolk/number_to_words/tree/master</p>
<p>Happy Hacking!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Classical iterative algorithms]]></title>
<link>http://takisword.wordpress.com/2009/07/30/iterative-algorithms/</link>
<pubDate>Fri, 31 Jul 2009 04:02:18 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/07/30/iterative-algorithms/</guid>
<description><![CDATA[For this topic, many excellent textbooks are available. Most of the modern numerical PDE solvers rel]]></description>
<content:encoded><![CDATA[For this topic, many excellent textbooks are available. Most of the modern numerical PDE solvers rel]]></content:encoded>
</item>
<item>
<title><![CDATA[Time integration again]]></title>
<link>http://takisword.wordpress.com/2009/07/14/time-integration-again/</link>
<pubDate>Tue, 14 Jul 2009 23:01:57 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/07/14/time-integration-again/</guid>
<description><![CDATA[In the post time integration: incompressible flow I explained a scheme example using PFEM. I don]]></description>
<content:encoded><![CDATA[In the post time integration: incompressible flow I explained a scheme example using PFEM. I don]]></content:encoded>
</item>
<item>
<title><![CDATA[Groovy's projectile motion]]></title>
<link>http://lexecorp.com/2009/07/10/groovys-projectile-motion/</link>
<pubDate>Fri, 10 Jul 2009 06:18:36 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid>http://lexecorp.com/2009/07/10/groovys-projectile-motion/</guid>
<description><![CDATA[Today I needed more than a decent crossword. So, I had a think about subjects that I had been fascin]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-1971" title="projectile" src="http://alexlexecorp.wordpress.com/files/2009/07/projectile.gif" alt="projectile" width="300" height="117" />Today I needed more than a decent crossword. So, I had a think about subjects that I had been fascinated by, way back when I was a student.</p>
<p>So what might I try to renegotiate in Groovy &#8211; the latest enhancement to Java / JVM programming and my preferred tool for Perl&#8217;ifing the JVM <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  . Well, in general OOP or Object Orientated Programming, does not beautify formulas (and thinking of Java specifically, no operator overloading was a disaster), but Groovy does give the JVM something of what has been sorely missing.</p>
<p>Now before you get carried away, the Achilles heal of Groovy is speed. If I had to do something seriously numerically intensive, like FEA (Finite Element Analysis) on a supercomputer platform, then I might look elsewhere. But for a quick dip into calculating a projectile&#8217;s trajectory, I think we will be fine.</p>
<p>Well whilst I was doing my Masters (Comp Sci) some 20+ years ago, I landed a placement with the British Ministry of Defence. Not just any site,  but the Proof and Experimental establishment.</p>
<p>What did they do? Well they studied projectiles. And a noisy firing range they had too. There were some very bright mathematicians there whose job it was to simulate and later analyse projectile performance. Sadly you have me. However, due to my lower calibre within this department, you will at least have a chance of understanding the code <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Ok, here we go. A quick play with Mathematica and then some coding in Groovy is the result I offer you here. So, don&#8217;t shy away from Groovy. I know Python is the in thing for Numerical experimentation these days, but why follow the herd.</p>
<pre class="brush: java;">
// PROJECTILES
//
// formulas - Thank you Mathematica
//
// h = (v^2 sin^2(alpha))/(2 g)    // maximum height
// x = (v^2 sin(2 alpha))/g        // distance traveled
// T = (2 v sin(alpha))/g          // travel time

// v &amp;#124; initial speed
// alpha &amp;#124; release angle
// g &amp;#124; acceleration due to gravity (~~ 9.807 m/s^2)

class Cannon {
  def final g = 9.807F    // acceleration due to gravity (9.81 m/(s^2)
  def deg                 // angle projectile is launched (deg)
  def v                   // initial velocity of projectile (m/s)
  def y0                  // initial height of projectile (m)
  def d                   // total &quot;horizontal&quot; distance traveled by projectile (m)
  def h                   // max height achieved
  def T                   // travel time
                         // radians = deg*(Math.PI/180)
  def distance() {  
    // x = (v^2 sin(2 alpha))/g   
    d = (v**2 * Math.sin(2 * Math.toRadians(deg)))/g
  }

  def height() {
    // h = (v^2 sin^2(alpha))/(2 g)    
    h = (v**2 * (Math.sin(Math.toRadians(deg))**2)) / (2 * g)        
  }

  def time() {
    // T = (2 v sin(alpha))/g
    T = (2 * v * Math.sin(Math.toRadians(deg))) / g
  }

  @Override  
   public String toString() {  
   &quot;&quot;&quot;Cannon angle($deg degrees) Launch Velocity($v m/s) Initial height($y0 metres)  
      Distance: ${String.format(&quot;%.1f&quot;, distance())} metres
      Height:${String.format(&quot;%.2f&quot;, height())} metres
      Time:${String.format(&quot;%.3f&quot;, time())} seconds&quot;&quot;&quot;  
   }  
} // Cannon

// go
println new Cannon(deg: -90.0F, v:45.0F, y0:1.0F) // into ground

println new Cannon(deg: 0.0F, v:45.0F, y0:1.0F) // level

                                                // at an angle
println new Cannon(deg: 25.0F, v:45.0F, y0:1.0F)
println new Cannon(deg: 30.0F, v:45.0F, y0:1.0F)
println new Cannon(deg: 35.0F, v:45.0F, y0:1.0F)
println new Cannon(deg: 40.0F, v:45.0F, y0:1.0F)
println new Cannon(deg: 45.0F, v:45.0F, y0:1.0F)

println new Cannon(deg: 90.0F, v:45.0F, y0:1.0F) // straight up
</pre>
<p>which gives some results which Mathematica confirms to be correct</p>
<pre>
Cannon angle(-90.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: -0.0 metres
           Height:103.24 metres
           Time:-9.177 seconds
Cannon angle(0.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 0.0 metres
           Height:0.00 metres
           Time:0.000 seconds
Cannon angle(25.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 158.2 metres
           Height:18.44 metres
           Time:3.878 seconds
Cannon angle(30.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 178.8 metres
           Height:25.81 metres
           Time:4.589 seconds
Cannon angle(35.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 194.0 metres
           Height:33.97 metres
           Time:5.264 seconds
Cannon angle(40.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 203.3 metres
           Height:42.66 metres
           Time:5.899 seconds
Cannon angle(45.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 206.5 metres
           Height:51.62 metres
           Time:6.489 seconds
Cannon angle(90.0 degrees) Launch Velocity(45.0 m/s) Initial height(1.0 metres)
           Distance: 0.0 metres
           Height:103.24 metres
           Time:9.177 seconds
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[What is consistency?]]></title>
<link>http://takisword.wordpress.com/2009/07/08/what-is-consistency/</link>
<pubDate>Wed, 08 Jul 2009 21:50:43 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/07/08/what-is-consistency/</guid>
<description><![CDATA[In numerical methods one often encounters the consistency. In spite of all the fuss, many textbooks ]]></description>
<content:encoded><![CDATA[In numerical methods one often encounters the consistency. In spite of all the fuss, many textbooks ]]></content:encoded>
</item>
<item>
<title><![CDATA[Groovy gave me piles]]></title>
<link>http://lexecorp.com/2009/07/06/groovy-gave-me-piles/</link>
<pubDate>Mon, 06 Jul 2009 13:21:17 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid>http://lexecorp.com/2009/07/06/groovy-gave-me-piles/</guid>
<description><![CDATA[If you haven&#8217;t already, make sure to read Bob&#8217;s (@Transentia) massive improvement on the]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you haven&#8217;t already, make sure to read <a href="http://www.transentia.com.au/flatpress/index.php/2009/07/06/the-perils-of-being-a-smarty-pants/">Bob&#8217;s</a> (@Transentia) massive improvement on the code from my last post. He made a lightly veiled piece of Java code really swing to a Groovy tune! He may also have gotten a little soiled playing with my piles!</p>
<p>Well, using Bob&#8217;s improvements with a little touch up (for densities and angles of repose), here&#8217;s a way to find out just how hard it would be to shift the mound of building material dropped on the end of your drive! Or, at least you can say how heavy it is and get someone else to shift it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .</p>
<pre class="brush: java;">
enum Material {
  CEMENT(131.0F, 45.0F),
  DRYSAND(90.0F, 41.0F),
  WETSAND(118.0F, 26.0F),
  LOOSEGRAVEL(93.0F, 50.0F),
  PACKEDGRAVEL(100.0F, 45.0F),
  CLAY(120.0F, 43.0F)

  Material(D, theta) {
    this.D = D
    this.theta = theta
  }

  def D
  def theta
}

class ConicalPile {
  def m
  def h

  def getWeightPounds() {
    def cT = Math.cos(Math.toRadians(m.theta))
    (Math.PI * h ** 3 * m.D) / (3 * (cT ** 2))
  }

  def getWeightTons() {
    getWeightPounds() / 2000.0F
  }

  @Override
  public String toString() {
    &quot;&quot;&quot;$m
  Weight(pounds): ${String.format(&quot;%.0f&quot;, getWeightPounds())}
  Weight(tons): ${String.format(&quot;%.3f&quot;, getWeightTons())}&quot;&quot;&quot;
  }
}

def testHt = 10.0F
println &quot;At pile height of &quot;+testHt+&quot; foot&quot;
for (Material m : Material.values())
  println new ConicalPile(m: m, h: testHt)
</pre>
<p>which when run gives us something that looks quite reasonable</p>
<pre>
At pile height of 10.0 foot
CEMENT
  Weight(pounds): 274366
  Weight(tons): 137.183
DRYSAND
  Weight(pounds): 165467
  Weight(tons): 82.734
WETSAND
  Weight(pounds): 152964
  Weight(tons): 76.482
LOOSEGRAVEL
  Weight(pounds): 235709
  Weight(tons): 117.855
PACKEDGRAVEL
  Weight(pounds): 209440
  Weight(tons): 104.720
CLAY
  Weight(pounds): 234939
  Weight(tons): 117.469
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[review of CG method:IV]]></title>
<link>http://takisword.wordpress.com/2009/07/03/review-of-cg-methodiv/</link>
<pubDate>Fri, 03 Jul 2009 08:48:19 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/07/03/review-of-cg-methodiv/</guid>
<description><![CDATA[I have shown that in method of conjuate direction, the searching directions are in some sense orthog]]></description>
<content:encoded><![CDATA[I have shown that in method of conjuate direction, the searching directions are in some sense orthog]]></content:encoded>
</item>
<item>
<title><![CDATA[review of CG method:III]]></title>
<link>http://takisword.wordpress.com/2009/07/01/review-of-cg-methodiii/</link>
<pubDate>Wed, 01 Jul 2009 09:35:09 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/07/01/review-of-cg-methodiii/</guid>
<description><![CDATA[This Mathematica script generates the following picture indicating a typical behavior of steepest de]]></description>
<content:encoded><![CDATA[This Mathematica script generates the following picture indicating a typical behavior of steepest de]]></content:encoded>
</item>
<item>
<title><![CDATA[review of CG method:II]]></title>
<link>http://takisword.wordpress.com/2009/07/01/review-of-cg-methodii/</link>
<pubDate>Wed, 01 Jul 2009 07:00:25 +0000</pubDate>
<dc:creator>Yi</dc:creator>
<guid>http://takisword.wordpress.com/2009/07/01/review-of-cg-methodii/</guid>
<description><![CDATA[Now let&#8217;s examine the convergence property of steepest descent method. For this purpose, defin]]></description>
<content:encoded><![CDATA[Now let&#8217;s examine the convergence property of steepest descent method. For this purpose, defin]]></content:encoded>
</item>

</channel>
</rss>
