home *** CD-ROM | disk | FTP | other *** search
-
- ╔════════════════════════════════════════╗ (C) Copyright 1986-1990
- ║ MATHLS.EXE - Math Least-Square program ║ Zvi Shippony
- ╚════════════════════════════════════════╝ (818) 990-0134
-
- For options 1,2,4 - Enter any expression in the variable: X
-
- Expression is any legal combination of: +, -, *, /, **, !, (, )
- and any of the following functions:
-
- ABS, INT, EXP, SIN, COS, TAN, COT, LOG, LN, FACT or ! (Factorial)
- SQRT, SINH, COSH, TANH, ARCSIN, ARCCOS, ARCTAN, ARCSINH, ARCCOSH, ARCTANH
-
- And the "Special Functions" :
-
- Z(x) { Riemann's Zeta function }
- G(x) { Gamma function, (IF x is an integer then x! = G(x+1)) }
- BJ(n,x) { Bessel Function of the first kind, J(n,x) }
- BY(n,x) { Bessel Function of the second kind, Y(n,x) }
- BI(n,x) { Modified Bessel Function of the first kind, I(n,x) }
- BK(n,x) { Modified Bessel Function of the second kind, K(n,x) }
- SBJ(n,x) { Spherical Bessel Function of the first kind, j(n,x) }
- SBY(n,x) { Spherical Bessel Function of the second kind, y(n,x) }
-
- $$$
-
-
- Example (options 1,2,4): Sqrt(3.0**X+12.25)-Exp(-Sin(X+1.0))
-
- Example (options 1,2,4): X - Int(Tan(X)+4.123)!
-
- ** Note:
- PI is a reserved name and will be interpeted as Pi = 3.14159265358...
-
- $$$
-
- Options 3,5:
-
- To Plot or to compute Least Square Fit of tabulated data points, the file
- containing the data must have the following format:
-
- Up to 2 Titles lines, followed by N sets, each set composed of any number
- of variables, their names and values. One Name & value per line. For
- example:
-
- First Title for the data (Optional)
- Second Title for the data (Optional)
- X1, Y1(X1), Y2(X1), Y3(X1), ...
- X2, Y1(X2), Y2(X2), Y3(X2), ...
- X3, Y1(X3), Y2(X3), Y3(X3), ...
- X4, Y1(X4), Y2(X4), Y3(X4), ...
- . . . .
- . . . .
- Xn, Y1(Xn), Y2(Xn), Y3(Xn), ...
-
- $$$
-
- You can plot Y1 vs. X or: Y2 vs. X or: Y3 vs. X , etc.
-
- You can compute Least Square Fit of Y1 as a function of X or: Y2 as
- a function of X etc.
-
-
- That's all folks ...