« Make Your Own USB Fiber-Optic Slug | Main | Fortune Cookie Carries Warning About Bad Quality »

Mathcad Offers Solution for Legacy Fortran Code

220px-Fortran_acs_cover.jpg

At a Halloween party we threw for MIT students this weekend, the subject of Fortran came up (yeah, I know, nerdy stuff) which pretty much drew blank looks from the more junior witches and warlocks. For those of you who don't know, Fortran is the most widely used general-purpose programming language for numerical applications. Us old-timers learned how to program in it, back in the good old days of punch cards.

The problem is that no one new seems to be learning it anymore. And with so many gray-hairs who originally coded in Fortran now retiring, there's a lot of legacy stuff out there that's quickly destined to become a rather wicked black box.

The good news is that there's a solution that doesn't require hiring expensive consultants - the app engineers at Mathcad (an interpretive math engine with natural math notation) have published a step-by-step guide to converting a Fortran program with several do loops into an equivalent Mathcad program using Mathcad's while loop.

Although engineers can enter an exact system of equations into Mathcad, some users may want to replicate exactly the results they were getting in Fortran. In that case, engineers can preserve the margin of error for backward compatibility bt taking the original partial differential equations (which the Fortran code was trying to approximate) and typing it directly in Mathcad.

TrackBack

TrackBack URL for this entry:
http://www.electronicsweekly.com/cgi-bin/mt/mt-tb.cgi/13843

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)







About

This page contains a single entry from the blog posted on October 29, 2007 3:54 PM.

The previous post in this blog was Make Your Own USB Fiber-Optic Slug.

The next post in this blog is Fortune Cookie Carries Warning About Bad Quality.

Many more can be found on the main index page or by looking through the archives.

RSS Subscribe to this blog's feed
[What is this?]

Sign up for the fortnightly Made By Monkeys eNewsletter. Get the blog highlights straight to your email inbox, no fuss. Just tick the option for Made By Monkeys.
ElectronicsNews on Twitter Follow ElectronicsNews

Archives