Webb - all rights reserved - ©2004

modified by Bryan Monosmith on 2004-09-01 13:35:18 Integration/Summation This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. RPN.3.z\Integrate_Sum {o}CwXr#'20'Xc; [0]r2Cw5P+g1CwCb/*r3*+; [1]d12Xk2xv2-P1-V0{v1H+xs*xu+1C0Up+_v}; [2]D' Integrable singularity\ a limit point.|\OK|'d1; [3]D' Integrable singularity\ at interior point.|\OK|'d1; [b]#'100'; [w]#'1.0E-8';\Default tolerance. Abs(Log)+2 is iteration limit [x]g11*Cw*b#'1.0E60000'>; [W]0Xy0XkxuUpCx(d11Xkxu1C0Up)xtUpCx(d11Xkxt1nC0Up)+Hxtxu-g1Xs*g12Xv { 2xv2-P1-V0{v1H+xs*xu+Up+_v}Cx(C1) xs*g2+Hg1xv2+k@2Xx {4xx1-P*r2-4xx1-P1-/g1xv2+k@xx1+g1Xxxv>(B)} Vvxv2+k@xsHXsxv3> (xv1+g@-v/bg1xr }xvXx{d1_xx} xvxsv*bxv8<(91+xv8-P*)g1Lwb1+r2g291+r2P*w91+r3P/v1XyC^xkc(:C2:C3); [X]D' Choose iteration limit\ (eval. time increase)|10(std)|12(x4)|14(x16)|\last|' 91+r2c(8nPXr:91+nPXr:93+nPXr:d1)CW; [Y]0XyxuV0{vUp+vxt>(B)v1+Vvxc%(:Ud)}vUpr21XyC^; [^]#'1000'#'51'S; "Integrate_Sum" "UpperLimit"Xt; ~ "LowerLimit"Xu; ~ "Integr.: x: Integral\ y: est. error\ z: # iterations"CX; "Sum: x: Summation\ y:next term"CY; modified by Bryan Monosmith on 2004-09-02 07:49:44 Integration/Summation This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Please report any bugs to bryanmonosmith@comcast.net RPN.3.z\Integrate_Sum {o}CwXr#'20'Xc; [0]r2Cw5P+g1CwCb/*r3*+; [1]d12Xk2xv2-P1-V0{v1H+xs*xu+1C0Up+_v}; [2]D' Integrable singularity\ a limit point.|\OK|'d1; [3]D' Integrable singularity\ at interior point.|\OK|'d1; [b]#'100'; [w]#'1.0E-8';\Default tolerance. Abs(Log)+2 is iteration limit [x]g11*Cw*b#'1.0E60000'>; [W]0Xy0XkxuUpCx(d11Xkxu1C0Up)xtUpCx(d11Xkxt1nC0Up)+Hxtxu-g1Xs*g12Xv { 2xv2-P1-V0{v1H+xs*xu+Up+_v}Cx(C1) xs*g2+Hg1xv2+k@2Xx {4xx1-P*r2-4xx1-P1-/g1xv2+k@xx1+g1Xxxv>(B)} Vvxv2+k@xsHXsxv3> (xv1+g@-v/bg1xr }xvXx{d1_xx} xvxsv*bxv8<(91+xv8-P*)g1Lwb1+r2g291+r2P*w91+r3P/v1XyC^xkc(:C2:C3); [X]D' Choose iteration limit\ (eval. time increase)|10(std)|12(x4)|14(x16)|\last|' 91+r2c(8nPXr:91+nPXr:93+nPXr:d1)CW; [Y]0XyxuV0{vUp+vxt>(B)v1+Vvxc%(:Ud)}vUpr21XyC^; [^]#'1000'#'51'S; "Integrate_Sum" "UpperLimit"Xt; ~ "LowerLimit"Xu; ~ "Integr.: x: Integral\ y: est. error\ z: # iterations"CX; "Sum: x: Summation\ y:next term"CY; modified by Bryan Monosmith on 2004-09-03 13:25:46 Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Please report any bugs to bryanmonosmith@comcast.net RPN.3.z\Integrate_Sum {o}CwXr#'20'Xc; [0]r2Cw5P+g1CwCb/*r3*+; [1]d12Xk2xv2-P1-V0{v1H+xs*xu+1C0Up+_v}; [2]D' Integrable singularity\ a limit point.|\OK|'d1; [3]D' Integrable singularity\ at interior point.|\OK|'d1; [b]#'100'; [w]#'1.0E-8';\Default tolerance. Abs(Log)+2 is iteration limit [x]g11*Cw*b#'1.0E60000'>; [W]0Xy0XkxuUpCx(d11Xkxu1C0Up)xtUpCx(d11Xkxt1nC0Up)+Hxtxu-g1Xs*g12Xv { 2xv2-P1-V0{v1H+xs*xu+Up+_v}Cx(C1) xs*g2+Hg1xv2+k@2Xx {4xx1-P*r2-4xx1-P1-/g1xv2+k@xx1+g1Xxxv>(B)} Vvxv2+k@xsHXsxv3> (xv1+g@-v/bg1xr }xvXx{d1_xx} xvxsv*bxv8<(91+xv8-P*)g1Lwb1+r2g291+r2P*w91+r3P/v1XyC^xkc(:C2:C3); [X]D' Choose iteration limit\ (eval. time increase)|10(std)|12(x4)|14(x16)|\last|' 91+r2c(8nPXr:91+nPXr:93+nPXr:d1)CW; [Y]0XyxuV0{vUp+vxt>(B)v1+Vvxc%(:Ud)}vUpr21XyC^; [^]#'1000'#'51'S; "Integrate_Sum" "UpperLimit"Xt; ~ "LowerLimit"Xu; ~ "Integr.: x: Integral\ y: est. error\ z: # iterations"CX; "Sum: x: Summation\ y:next term"CY; modified by Bryan Monosmith on 2004-09-03 14:04:23 Many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat22.rpn Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn Please report any bugs in these programs to bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-09-07 11:27:22 Many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat22.rpn Roots
This routine will not only find roots of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn Complex #
This is my version of a complex number script. Go to:Complex_#.rpn Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn Please report any bugs in these programs to bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-09-07 13:26:28 Many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Nonlinear Regression (Curve Fit)
Preview- This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. This script requires more global data storage than currently exists in RPN. It will be posted upon the next release of RPN, which will expand global memory space. Please check back after the next RPN release. Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat22.rpn Roots
This routine will not only find roots of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn Complex #
This is my version of a complex number script. Go to:Complex_#.rpn Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Russ Webb on 2004-09-15 01:19:43 Many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Nonlinear Regression (Curve Fit)
Preview- This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. This script requires more global data storage than currently exists in RPN. It will be posted upon the next release of RPN, which will expand global memory space. Please check back after the next RPN release. Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat22.rpn Roots
This routine will not only find roots of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn Complex #
This is my version of a complex number script. Go to:Complex_#.rpn Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-09-17 10:28:23 Many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Nonlinear Regression (Curve Fit)
Preview- This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. This script requires more global data storage than currently exists in RPN. It will be posted upon the next release of RPN, which will expand global memory space. Please check back after the next RPN release. Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat22.rpn Roots
This routine will not only find roots of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn Complex #
This is my version of a complex number script. Go to:Complex_#.rpn Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-09-17 11:15:09 If all you want to do is download and use the scripts, and don't care about the source, simply click on the "download" link. If you want the source, be aware that many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Nonlinear Regression (Curve Fit)
Preview- This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. This script requires more global data storage than currently exists in RPN. It will be posted upon the next release of RPN, which will expand global memory space. Please check back after the next RPN release. Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn or Download:Integrate_Sum.PDB Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat22.rpn or Download:Prob_Stat.PDB Roots
This routine will not only find roots of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn or Download:Roots.PDB Complex #
This is my version of a complex number script. Go to:Complex_#.rpn or Download:Complex_#.PDB Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn or Download:Matrix.PDB Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn or Download:Number_Theory.PDB Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn or Download:UnitConverter.PDB Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn or Download:TVM.PDB Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn or Download:DewPoint.PDB Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn or Download:Syllogism.PDB Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-09-20 13:06:48 If all you want to do is download and use the scripts, and don't care about the source, simply click on the "download" link. If you want the source, be aware that many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Curve Fit (Nonlinear Regression)
This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. Documentation:CurveFitv3.txt Download the pdb file:CurveFit.PDB Numerical Integration & Summation
This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn or Download:Integrate_Sum.PDB Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat.rpn or Download:Prob_Stat.PDB Roots
This routine will not only find roots (zeros) of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn or Download:Roots.PDB Complex #
This is my version of a complex number script. Go to:Complex_#.rpn or Download:Complex_#.PDB Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn or Download:Matrix.PDB Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn or Download:Number_Theory.PDB Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn or Download:UnitConverter.PDB Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn or Download:TVM.PDB Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn or Download:DewPoint.PDB Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn or Download:Syllogism.PDB Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-10-05 08:57:59 If all you want to do is download and use the scripts, and don't care about the source, simply click on the "download" link. If you want the source, be aware that many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Curve Fit (Nonlinear Regression)
This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. Documentation:CurveFitv3.txt Download the pdb file:CurveFit.PDB Numerical Integration & Summation
Oct/2004- corrected an upper limit error in the Sum routine. (Now v1.1) Thanks Len. This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn or Download:Integrate_Sum.PDB Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat.rpn or Download:Prob_Stat.PDB Roots
This routine will not only find roots (zeros) of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn or Download:Roots.PDB Complex #
This is my version of a complex number script. Go to:Complex_#.rpn or Download:Complex_#.PDB Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn or Download:Matrix.PDB Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn or Download:Number_Theory.PDB Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn or Download:UnitConverter.PDB Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn or Download:TVM.PDB Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn or Download:DewPoint.PDB Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn or Download:Syllogism.PDB Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2004-10-05 11:46:09 If all you want to do is download and use the scripts, and don't care about the source, simply click on the "download" link. If you want the source, be aware that many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have on older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Curve Fit (Nonlinear Regression)
This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. Documentation:CurveFitv3.txt Download the pdb file:CurveFit.PDB Numerical Integration & Summation
Oct. 5, 2004- corrected an upper limit error in the Sum routine. (Now v1.2) Thanks Len. This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn or Download:Integrate_Sum.PDB Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat.rpn or Download:Prob_Stat.PDB Roots
This routine will not only find roots (zeros) of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn or Download:Roots.PDB Complex #
This is my version of a complex number script. Go to:Complex_#.rpn or Download:Complex_#.PDB Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn or Download:Matrix.PDB Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn or Download:Number_Theory.PDB Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn or Download:UnitConverter.PDB Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn or Download:TVM.PDB Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn or Download:DewPoint.PDB Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn or Download:Syllogism.PDB Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2005-04-05 09:12:45 If all you want to do is download and use the scripts, and don't care about the source, simply click on the "download" link. If you want the source, be aware that many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have an older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Curve Fit (Nonlinear Regression)
This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. Documentation:CurveFitv3.txt Download the pdb file:CurveFit.PDB Numerical Integration & Summation
Oct. 5, 2004- corrected an upper limit error in the Sum routine. (Now v1.2) Thanks Len. This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn or Download:Integrate_Sum.PDB Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat.rpn or Download:Prob_Stat.PDB Roots
This routine will not only find roots (zeros) of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn or Download:Roots.PDB Complex #
This is my version of a complex number script. Go to:Complex_#.rpn or Download:Complex_#.PDB Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn or Download:Matrix.PDB Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn or Download:Number_Theory.PDB Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn or Download:UnitConverter.PDB Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, buts everything back to it's common, default setting. Go to:TVM.rpn or Download:TVM.PDB Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn or Download:DewPoint.PDB Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn or Download:Syllogism.PDB Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net modified by Bryan Monosmith on 2005-06-06 08:15:00 If all you want to do is download and use the scripts, and don't care about the source, simply click on the "download" link. If you want the source, be aware that many of my scripts are over 1 kbyte in size and will not fit in the Palm OS cut & paste buffer. If you have an older Palm, there are Hacks to increase the buffer size. If you have one of the newer machines, hacks don't work. Instead I highly recommend the latest version of "Clip PRO". It works very well. Note: If you have RPN 3.50 or later you can paste scripts in to RPN's script editor part by part provided you make sure the script is always valid (by having a dummy title and button at the end). --Russ Webb Curve Fit (Nonlinear Regression)
This script will perform a general iterative nonlinear fit of a data set to virtually any single variable function stored as a macro. Up to 9 fit parameters can be specified in the function, and up to 114 data points entered. Documentation:CurveFitv3.txt Download the pdb file:CurveFit.PDB Numerical Integration & Summation
Oct. 5, 2004- corrected an upper limit error in the Sum routine. (Now v1.2) Thanks Len. This is a small script that will do a numerical integration, or a term by term summation, of the function stored as a macro. The upper and lower limits are specified by the user. The integration is a closed Romberg algorithm, but modified to explicitely treat integrable singularities found not only at the end points, but within the specified limits. Go to:IntegrateSum.rpn or Download:Integrate_Sum.PDB Probability & Statistics
I have collected a few useful routines here. They are: Binomial coefficients Combinations & Permutations Sigma to integrated upper tail normal distribution (& the inverse) Factorial & double factorial 3 type of means 3 type of deviations Go to:Prob_Stat.rpn or Download:Prob_Stat.PDB Roots
This routine will not only find roots (zeros) of functions numerically (to about 10 significant digit accuracy), it will also find local maxima and minima. Finally, it will extract roots of cubic and quadratic polynomials, including complex roots. Go to:Roots.rpn or Download:Roots.PDB Complex #
This is my version of a complex number script. Go to:Complex_#.rpn or Download:Complex_#.PDB Matrix
RPN does not handle vectors and matrices as a data type, but this script can do simple operations, including inversion, on matrices. Perhaps more useful, it can solve a system of linear equations. Enter data as shown in Help mode for the "solve" button. Go to:matrix.rpn or Download:Matrix.PDB Number Theory functions
This script is a collection of various number theoretical functions, including: -least common multiple -greatest common divisor -prime factor extraction -list all divisors -modulo The modulo function built into RPN is NOT designed to work with really big numbers. Try 123456789012345678 modulo 123456189012345678 for example. I have rewritten this function to give accurate results with 18 digits. "lcm" and "gcd" will also work correctly with 18 digit numbers. Note: the prime factor function will take a very long time to run on huge numbers when the next factor is also large, and divisor will choke on even smaller numbers. These are brute force routines, nothing fancy. Just be aware that execution times will vary acording to your specific machine. Go to:Number_Theory.rpn or Download:Number_Theory.PDB Unit Converter
This is my version of a unit converter. Go to:UnitConverter.rpn or Download:UnitConverter.PDB Time Value of Money
I like to have total control of as many financial options as possible, which is why I wrote this script. It allows the user to separately set the compounding period and the payment period. For example, you can set coumpounding to daily and payments to every two weeks. The initialize button, puts everything back to it's common, default setting. Go to:TVM.rpn or Download:TVM.PDB Dew Point
This is an odd script that takes any combination of air temperature, relative humidity, heat index, or dew point, and computes other values, where it is possible to do so. I wrote it because many weather forcasters don't give dew point in their current conditions. Go to:DewPoint.rpn or Download:DewPoint.PDB Syllogism
This is a nearly useless script that I wrote when I had nothing to do on a weekend. It can determine if a logical syllogism, ie "all wargs are buffors, some shronks are wargs, therefore ...", and tell you if the syllogism form is valid or invalid, and what can be said regarding it's truth value. Warning: Do not use this as a way to impress girls at a party! Trust me! Go to:Syllogism.rpn or Download:Syllogism.PDB Please contact me with questions or to report any bugs in these programs: bryanmonosmith@comcast.net |