CplxCal user manual    V3.30

Please copy your programs first to memopad before upgrading so you can copy them back after upgrading !!!!


The development of electronics and software has grown exponentially over the last decades; my salary on the other hand has not. The palmpilot / palm III is just an example of this development. Now there is an advanced calculator for the palm. Please spend some time to evaluate the CplxCal calculator.
 

Preference Menu Initializations screen Program requirements
Scroll mode Functions How to install
Fixed mode Conversion functions Why register
Variables Statistical functions Legal stuff
STO and RCL Financial functions How to register
Examples Programming

The CplxCal calculator can be used as any basic calculator. You really do not have to be a math wizard to be able to use this calculator. For your normal calculations you can just press the same buttons in the same order as on a normal, NON RPN, calculator. The calculator will show you what you have entered even after you press the [exe] button to evaluate. See sample below.

AllPmt.gif (20243 bytes)

Note: Press [exe] at the bottom line to evaluate not [=] at the top line.
 
 

The new menus:

options31.gif (2304 bytes) edit31.gif (2272 bytes) prog31.gif (3046 bytes) help31.gif (2263 bytes)

Starting at version 3.1 there are eight user programs instead of four.

Examples:

Buttons pressed Result Remark
4*5[STO] 20 [exe] not needed
Ans/3[exe] 6.67 20 / 3
14.95+7.5% 16.07 14.95 plus 7.5 percent
dm=0.89[exe] 0.89 Deutsche mark exchange rate
198.75*dm[exe] 176.89 198.75 * 0.89
[RCL]*3[exe] 60 20*3
a=3 ;b=4[exe] 4 Last expressions result displayed
sqr(a*a+b*b)[exe] 5 Sqrt(3^2+4^2)

Note:

The Deutsche mark is just used as an example. Commonly used variables should be assigned in the initialization screen.
 
 

Preference Menu:
 

Pref31.gif (1873 bytes) This menu allows you to change the format in which the numbers are displayed. See display format.

This menu also allows you to select between scroll and fixed mode. For the simple calculations I like to put it in scroll mode. When you want to edit previous formulas or qualify as a more experienced CplxCal user you might be better of using the fixed mode. 

This menu also lets you select between the angular units degrees and radians. Since I did not receive any requests for the angular unit grads and I never use it this is not implemented. 


 

Display format:
 

Some examples of how the number 123456.789 can be displayed Pref31.gif (1873 bytes)

 

Width

3

7

2

2

6

Precision

2

2

4

4

2

Type

Float

Eng

Eng

Sym

Hex

Display

1.23E5

123,456.79

123.4568E03

123.4568K

#1E240 

Pol will display a complex number in polar format.

The total number of digits, width plus precision, can not exceed eleven digits.
 
 

Scroll mode:

After installations the calculator will operate in scroll mode. In the scroll mode the display will scroll automatically just before you enter your next formula. When you start your next formula with an operator in scroll mode the word ans will be inserted before the operator. The word ans is the previous answer. When you would type 3*12[exe] and press /9 [exe] you would see ans/9. After pressing [exe] four would appear at the bottom line. This is the same as 3*12/9. If the formula is to long for one line just press [exe] and start with the next operator on the next line.
 
 

Fixed mode:

When you want to be able to edit your formula you should put the calculator in fixed mode. In this mode the display will not scroll before you enter the next formula. All top three lines will be evaluated when you press the [exe] button. This is where variables are very useful. You can assign variables in the top lines and use them in the third line. Multiple variables can be assigned by just putting a semi colon between the assignments.
 
 

Variables:

Variables are used to assign a value which you can use in a next equations. Let say you need a variable which will hold your annual salary. Enter for example sal=250000 [exe] which would assign the value 250000 to the variable sal. Now the first thing you need to do is tell me where you make this salary if I need to explain the meaning of a variable to you J. Anyhow now if you would need to pay uncle Sam 50% you can just enter sal-50% [exe] to calculate 250000-50%. Due to the limited amound of memory available the contents of variables will be lost after exiting the program unless they are initialized in the initialization screen. The expressions from the initialization screen are always evaluated after starting the program.
 
 

STO and RCL:

Pressing [STO] instead of [exe] will evaluate the formula the same way as [exe] does. The only difference is that the result will be stored in a memory location. Pressing [RCL] will insert the word mem, which before the evaluation of the function will be replaced with the value stored in memory with the [STO] button.
 
 

 Advanced screen:
 

 The advanced screen makes the use complex numbers and trigonometry easier. These functions can be entered from any screen using graffiti.

Some examples:


 
 

advanced31.gif (2261 bytes)

(3+j4)*(5-j6) [exe]

In Rad. mode:

  e^(j*rad(30)) [exe]

In Deg. mode:

  e^j30

In pol. mode:

  0.86603+j0.50000

15 - j18 + j20 - j^2*24 = 39 + j2
 
 

cos(30 degrees) + j sin(30 degrees)
 
 

0.86603 + j0.50000
 
 

pol(1.00000, 29.99999)

Note: Type the j before the number not after.
 
 

Initializations screen:
 

The formulas on the initialize screen will be evaluated every time the CplxCal is started. Variables, conversion factors etc. should be entered in this screen.

The screen on the left is just an example. This screen will be empty when you first start using the CplxCal program. It is up to the user to assign variables.


 

Functions:
 

Function / constants Description Imaginary
pi Constant 3.14 N/A
e Constant 2.71 Yes
j Imaginary part Yes
# Enter Hexadecimal number N/A
gcd(X,Y) (new) Greatest common divisor. Returns the largest integer that divides both number X and number Y without a remainder. N/A
mod(X,Y) Modulo,  mod(10,4)=2 N/A
and(X,Y) Logical and N/A
or(X,Y) Logical or N/A
xor(X,Y) Logical xor N/A
shl(X,B) Logical shift left N/A
shr(X,B) Logical shift right N/A
rad(A) Convert degrees to radians N/A
deg(A) Convert radians to degrees N/A
log(A) Ten based logarithm No 
pol(R,A) polar input Yes
sqr(z) Square root Yes
ln(z) Natural logarithm Yes
sin(z) Sine Yes
cos(z) Cosine Yes
tan(z) Tangent Yes
asin(z) Inverse sine Yes
acos(z) Inverse cosine Yes
atan(z) Inverse tangential Yes
sinh(z) Hyperbolic sine Yes
cosh(z) Hyperbolic cosine Yes
tanh(z) Hyperbolic tangential Yes
asinh(z) Inverse hyperbolic sine Yes
acosh(z) Inverse hyperbolic cosine Yes
atanh(z) Inverse hyperbolic tangential Yes
real(z) Real part Yes
imag(z) Imaginary part Yes
conj(z)  (new) Complex conjugate Yes
arg(z) Angle of complex number Yes
abs(z) Absolute value Yes


 

Conversion functions:
 

cel(T) Converts from Fahrenheit to Celsius, cel(77) returns 25
fah(T) Converts from Celsius to Fahrenheit, fah(25) returns 77
met(Yr,Ft,Inch, p) Convert Yard, feet and Inch to metric, met(1,2,5,1/16) returns 1.65 meters
rad(x) Convert degrees to radians
deg(x) Convert radians to degrees
dms(deg,mm,ss) Converts sexagesimal to decimal.


 

Financial functions:
 

pmt(rate,nper,pv,fv,type) Calculates the payment for a loan based on constant payments and a constant interest rate.

The following formula returns the monthly payment on a $10,000 loan at an annual rate of 7 percent that you must pay off in 10 months:

PMT(7%/12, 10, 10000, 0, 0) equals -$1,032.36

For the same loan, if payments are due at the beginning of the period, the payment is:

PMT(7%/12, 10, 10000, 0, 1) equals -$1,026.38

fv(rate,nper,pmt,pv,type) Returns the future value of an investment based on periodic, constant payments and a 

constant interest rate.

pv(rate,nper,pmt,fv,type) Returns the present value of an investment. The present value is the total amount that a series of future payments is worth now. For example, when you borrow money, the loan amount is the present value to the lender.
nper(rate,pmt,pv,fv,type) Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.

Statistical funtions:
 

fac() Factorial
perm(n,r) Permutation
comb(n,r) Combination
stclr() This function will clear all the variables and arrays used for statistical calculations. This function does not affect the three functions above.
add(n,val) Add value at index position n.
get(n) Returns the value at index n.
sum() Returns the total sum.
mean() Returns the mean. (Sum / N)
var() Returns the population variance ( 1/N * (X(n)-mean)^2 )
Var() Returns the sample variance ( 1/(N-1) * (X(n)-mean)^2 )
stdev() Returns the population standard deviation sqr( var() )
Stdev() Returns the sample standard deviation sqr( Var() )

As an example of how to use the statistical functions select [menu beside the grafitty] [Prog] [Statistical]. This shows val=10 at the top line. Now select [sclr] which sets the index counter n to zero and clears the internal buffer.
Change val=10 to val=5 and press [add].
Change val=5 to val=15 and press [add].
Ten and five are now stored in the buffer.

Now press sum to calculation the sum of 5 and 10.
Next press stdev to calculation the standard deviation of 5 and 10.

This might look a bit strange at first but it allows you to do a lot of unique thinks.
Change val=15 into val=sin(n*pi/10) and change stdev() on the third line into n=n+1 ;add(n,val) ;val now press [exe] a few times.

This is probably not what you are interested in but just "play" with it to see how it works. Change val=sin(..) to val=n*10.
 
 

Programming:
 

MainProg31.gif (1933 bytes) A CplxCal program consisting of two lines of parameters and formulas and as much as five lines of button assignments.

Starting from the third line the first four characters will be displayed in the buttons and the formula behind the button will be evaluated when the button is pressed.

Starting a program or editing a program will put CplxCal in fixed mode automatically. 

MainSrc31.gif (2182 bytes)

( [Tot] was pressed )

CplxCal allows you to store eight programs in memory.

When you press one of the assigned buttons all top three lines are evaluated. Variables can be changed easily by using graffiti. It is important to understand that the programs only fills the top two lines when entering the program and fills the third line when you press a user defined button.
 

The programs can be easily copied from the program edit screen to memopad by using copy and paste. The screen on the right gives an example of this.

Notice the new made category in memopad called CplxCal.


 

Program requirements:

Palm pilot OS 2.0 / Palm III

Mathlib.prc (public domain math library)

CplxCal.prc
 
 

How to install:

Use the palm pilot installation program to install CplxCal.prn like any other program. If MathLib.prc is not installed on your palm pilot use the same procedure to install this library. This completes the installation.
 
 

Why should you register?

You will be able to download new versions (FOR FREE) with improvements/additions requested by customers like you. Please e-mail your comments to cplxcal@adacs.com You will be given enough time to evaluate the program. When you "forget" to register a message might appear reminding you to register. After you register you will receive an e-mail explaining a simple procedure which will disable the unregistered message.
 
 

Legal Stuff:

This software is provided as is. There are no warranty expressed or implied for this software. The author shall not be responsible for loss or damage of any kind due to the usage of this softwareMathLib is a free shared library. It is distributed under the terms of the GNU General Public License, and is freely available with full source code and documentation at the MathLib Information web age http://www.probe.net/~rhuebner/mathlib.html. It is not part of the CplxCal program, and you are not paying anything for its use. A copy is included only for your convenience.
 

The important part :-) How to register:

Please contact us for quantity discounts

Click tiny_button_buyit.gif (1224 bytes) to register CplxCal online with palmcentral.

Click PGHQBUYITTINY.GIF (4102 bytes)  to register CplxCal online with PilotGear.
 

You can call to register by phone: (817) 461-3480
You can send a fax to register at: (817) 461-3482

Again feel free to e-mail your comments to cplxcal@adacs.com

Thank you for your interest in CplxCal.