! NOT A SpreadSheet !

     
 

!NSS

 
info    
11 APR 2003

ver 2b
<download>

 

 

Make sure you have version 2b!!

THIS IS A PRETTY GOOD UPGRADE.  More importantly, I have included a really good <README> file.  The readme is also included in RTF in the ZIP file.  I hope it helps.   This version allows you to use multiple files not just the default file; so, start creating some new uses for NSS and post them on the bulletin board!. 

If you are interested in the <SOURCE CODE> you can download it here.  The source code includes the math library as well as techniques for debugging using the emulator.

03 APR 2002

ver 1a
 

  THIS IS IT!!  A fully USER configurable !SS

VERSION 1a

You have to load the NSS addin, the library addin, and the configuration memo.

 

<Sample>

 

  This File is included in the zipfile as samples of what you can do.    You can change or modify this file, but the name MUST be "rexNSS_Sample"
 

<Currency>

   

Here is another example.  It is a currency conversion spreadsheet.  Left Side is US$ to KRW and 4 other currencies.  Right side is KWR to US$ and the same 4 currencies.

 

24 MAR 2002

<download>

 

<README>

  NEW VERSION!!   This is basically a 2-addin version!    There is a MATH LIBRARY in a seperate addin.  You must load BOTH addins to your rex. 

This version is still not user configurable, but it soon will be since there is lots of extra room now in the main addin.

Please test it and let me know what you think.  
 

If I get enough feedback I'll "hurry-up" and add the user text file customization and release the math library. 

 
 

<download>

  The math library includes the following functions: sin, cos, tan, atan, atan2, pow, exp, log, log10, deg, rad.

More importantly it includes atof and ftoa which by themselves take up almost 1K in an addin!!! 

There is room in the library for a lot more functions.  Any reccomendations?

You can download the library and a user header file here.

   

The following calculations are hard coded samples of what you will be able to do:

1)Summation and average
$ -------------------------------------------
$SimpleSum&Avg;
G#SUM;
H#NUM;
I#AVG;
G=A+B+C+D+E+F;
I=G/H;

2)Sample Functions
$ -------------------------------------------
$Functions;
G#A^B;
H#A^(1/B);
I#Sqrt(C);
J#LOG(D);
K#LOG10(E);
L#EXP(F);
G=A^B;
H=A^(1/B);
I=C^0.5;
J=LOG(D);
K=LOG10(E);
L=EXP(E);

3) FINANCIAL FUNCTIONS
$ -------------------------------------------
$Present Value of Future Sum
A#FVAMT
B#RATE
C#NUMPER
D#PVAMT
D=A*(1/((1+B)^C))
$ -------------------------------------------
$FUTURE VALUE of Present Sum
A#PVAMT
B#RATE
C#NUMPER
D#FVAMT
D=A*(1+B)^C)
$ -------------------------------------------

4) Mortgage Calculation
$ -------------------------------------------
$Loan Amort;
A#PRINC;
B#RATE%;
C#MONTHS;
D#PAYMNT;
E=B/100;
D=A*(E/12)/(1-1/(EXP(C*LOG(1+E/12))));

5)Sample Trig Functions
$ -------------------------------------------
$TRIG FUNCS;
A#ANGLE;
B#Sin(A);
C#COS(A);
D#TAN(A);
G#RADIAN;
B=SIN(A);
C=COS(A);
D=TAN(A);
G=RAD(A);
 

6) CUSTOM: Concrete required for fence poles
$ -------------------------------------------
$Concrete Calc;
A#DIAM;
B#Depth;
C##Holes;
D#H/YD;
E#Yards;
F#Vol:1H;
F=(A/2)^2*3.1416*B;
D=46656/F;
E=C/D;

7) Back out the BEFORE TAX total for a given AFTER TAX total that has 2 TAXES applied to only 35% of before tax total.
$ -------------------------------------------
$Temp Tax Calc;
A#InvTOTL;
B#Tax%1;
C#Tax%2;
D#TFac1;
E#TFac2;
G#MtlB4Tx;
H#TAmt1;
I#TAmt2;
J#Check;
D=B/100*.35;
E=C/100*.35;
F=1/(D+E+1);
G=(A*F);
H=G*D;
I=G*E;
J=G+H+I;
 

8) Book and Discount Calculation
$ -------------------------------------------
$Book&Disc Price;
A#QTY;
B#BOOK$;
C#Dscnt%;
D#Net$;
E#Ext$;
F#Net%;
F=(100-C)/100;
D=B*F;
E=A*D;"
 

9) LABOR calculation Labor is 2 times the discounted extended price.
$ -------------------------------------------
$LABOR;
A##UNITS;
B#UNIT$;
C#Dscnt%;
D#Labor$;"
F=(100-C)/100;
E=A*B;
D=E*2*F;


/* ------------------------------------------------------------------- */
 

 


<02NOV01>

<README>

 

  Financial Calculator sample. All functions working!!

<02NOV01>
  User customized.  If you give me your equations I can compile a custom one for you too.  Try this one for ideas on customization
 

<25 OCT 01>

 

  Added hardcoded formula for PRESENT VALUE AND FUTURE VALUE of MONEY VALUES

$ -------------------------------------------
$Present Value of Future Sum
A=FVAMT
B=RATE
C=NUMPER
D=PVAMT
D=A*(1/((1+B)^C))
$ -------------------------------------------
$FUTURE VALUE of Present Sum
A=PVAMT
B=RATE
C=NUMPER
D=FVAMT
D=A*(1+B)^C)
$ -------------------------------------------

 

 

<22 SEP 01>

   

DOWNLOAD ALL HERE!!!!!! (no source yet)

Due to the lack of interest, this is no longer being worked on.  Since release on 22 SEP, I have only had 1 comment regarding the program.

 

    In the picture above, you would enter A,B, and C.  D is calculated using this formula:

D = A*(B/12)/(1-1/(EXP(C*LOG(1+B/12))))
 

DK   rexDK
     
NEEDED   FORMULAS THAT YOU WANT INCLUDED!!So far I have recieved 2 formulas from the REX community.

 

Further Development   Abilty to read formulas from text file; so far they are all hardcoded.  It is ready to go since I was successful reading the UNIT CONVERTER text file.  I am ready to begin coding for the Expresion evaluator reading from memo.

 

     
BACKGROUND   Program: EvalCalc

This program evaluates PRE-DEFINED Equations and displays results.

THIS IS ONLY A BETA "PROOF OF CONCEPT" Version.
USE IT AT YOUR OWN RISK!!

The furture version will have the ability to read the calculation sequence from a text file.

The values with a DARK VERTICAL BAR NEXT to them are INPUTS.  If you tap on the Number, The rexKeyBoard will come up and you can enter the value you want.

BE CAREFUL; The result is always calcualted even if you have BAD INPUT!!


Currently there are 5 equations HARD-CODED in the program.

IF someone sends me desired equations, this could easily be compiled as a "FINANCIAL CALCULATOR" if you gave me the set of
Financial Equations.

It could be compiled as a GEOMETRY Calculator if you gave me a set of geometric calculations

It could be compiled as a SALESMAN CALCUALTOR, etcc......

In the future when the text file read works, IT CAN BE ALL OF THESE AT ONCE.

The hard coded equations are:
/* -----------------------------------------------
SimpleSum; $ Title
G#SUM; $Deine Variable Names for DISPLAY
H#NUM;
I#AVG;
G=A+B+C+D+E+F $ Calculate SUM of Left Column Cells
H=6; $ Used to calculate Average
I=G/H; $ Calculate Average

/* -----------------------------------------------
Loan Amort; $Title
A#PRINC; $define Variables for Display
B#RATE;
C#MONTHS;
D#PAYMNT;
E=B/100; $ Convert % to decimal
D=A*(E/12)/(1-1/(EXP(C*LOG(1+E/12)))); $Do calculation

NOTE: DUE TO *K LIMIT The EXP and LOG Functions DO NOT WORK!!
THIS IS VERY CLOSE TO BEING CORRECTED.

/* -----------------------------------------------
GEOMETRY AREAS;
A#SQUARE;
B#SIDE;
C#AREA;
G#CIRCLE;
H#DIAM;
I#AREA;
D#PERIM;
J#CIRCUM;
C=B*B;
D=4*B;
I=3.14157*(H/2)*(H/2);
J=3.14157*H\0"

/* -----------------------------------------------
Margin&CostPrice;
A#COSTPR;
B#MPCNT;
C#MARG;
G#LISTPR;
H#DISCNT;
I#COSTPR;
C=A*(1-(B/100));
I=G*(1-(H/100));

/* -----------------------------------------------
Ohms law (E=IR);
A#I;
B#R;
C#E;
G#R;
H#E;
I#I;
C=A*B;
I=H/G;
/* -----------------------------------------------

END OF FILE!!!!!