# Article: An XSL Calculator: The Math Modules of FXSL

 Subject: Article: An XSL Calculator: The Math Modules of FXSL From: Dimitre Novatchev Date: Tue, 18 Jun 2002 12:44:28 -0700 (PDT)
```This article describes the 32 functions of latest 6 FXSL math modules
and can be viewed at:

http://fxsl.sourceforge.net/articles/xslCalculator/The%20FXSL%20Calculator.html

Contents:

Introduction
? 1. The Trigonometric Functions
? 2. The Hyperbolic-Trigonometric Functions
? 3. The Exponential and Logarithmic Functions
? 4. Solving Equations of One Real Variable
? 5. Inverse Functions
? 6. Putting it All Together - the XSLT Calculator
? Conclusion
? Resources

And two excerpts:

[3] on functional programming in XSLT. Described are various new
modules of the XSLT functional programming library FXSL [4], which
implement trigonometric and hyperbolic-trigonometric, exponential and
logarithmic functions and their reverse functions. Also implemented are
two general methods of solving equations of one real variable. These
are used within an XSLT Calculator - an interactive XSLT application
driven entirely by a single stylesheet, which depends on an external
object for its IO. The code of the implementation demonstrates the use
of such powerful, functional programming design patterns as partial
application and creation of functions dynamically."

"Conclusion
We described the newest 6 modules of FXSL, which implement a variety of
useful math functions and two numerical methods of finding the root of
a continuous function of one real variable. Their use was demonstrated
through the construction of a simple yet powerful, accurate and
efficient XSL Calculator. The XSL Calculator also demonstrates a
reliable method of serializing a series of calls to extension
functions, closely following the definition of the Monad class in

You may have noticed that the home of FXSL has moved to:
http://fxsl.sourceforge.net/

http://sourceforge.net/project/showfiles.php?group_id=53841

The page for this SourceForge project is:
http://sourceforge.net/projects/fxsl

Cheers,
Dimitre Novatchev.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

```

### PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!