Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Feature

REALScience

Using REALbasic to solve scientific problems

Issue: 3.4 (March/April 2005)
Author: JC Cruz
Author Bio: JC is a freelance engineering consultant currently residing in British Columbia. He works on OS X applications and origami models while dreaming of retiring to the Atlantic provinces.
Article Description: No description available.
Article Length (in bytes): 19,817
Starting Page Number: 19
RBD Number: 3411
Resource File(s):

Download Icon 3411.sit Updated: Tuesday, March 15, 2005 at 7:50 PM
Download Icon 3411.zip Updated: Tuesday, March 15, 2005 at 7:50 PM

Related Web Link(s):

http://en.wikipedia.org/wiki/Differential_equation
http://en.wikipedia.org/wiki/Runge-Kutta_methods
http://en.wikipedia.org/wiki/Numerical_ordinary_differential_equations
http://home.earthlink.net/~delaneyrm/MPCalcPlugin.html
http://home.earthlink.net/~delaneyrm/PrecisionPlugin.html

Known Limitations: None

Excerpt of article text...

REALScience is a series of occasional articles focused on the use of REALbasic to solve a number of science problems. The goal of REALScience is to introduce readers to mathematical algorithms and computer science concepts that are used by most scientific software. With some modifications, these same algorithms and concepts can also be used in non-scientific application such as games, spreadsheets, and so on.

When applicable, the basic mathematics behind each algorithm will be briefly described but not elaborated. Readers are assumed to have a working knowledge of college algebra, basic calculus, and of course, REALbasic.

Coffee and the Euler Method

The Problem with Coffee

As any coffee drinker would notice, a cup of hot java eventually gets "cold." In more scientific terms, the cup of coffee has attained thermal equilibrium with the surrounding temperature. But how long does it take for coffee to cool down?

This is a classic example of Newton's Law of Cooling which states that the rate of temperature change of an object is proportional to the temperature difference between the object and its surroundings. In other words, as our cup of coffee nears room temperature, its change in temperature slows down. If we are to plot our coffee temperature with respect to time, the resulting plot will not be a straight line.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com