Skip to content

Software Usage and Notes

Jackson Huse edited this page Oct 11, 2022 · 5 revisions

The Software

In this GitHub Repository, there are several python files that are able to be executed to assist in generating Chemical Reaction Networks for a given function. Though functions are limited at the program's current state, it is a very useful tool for cross-checking any calculations.

NOTE: "How to Use" video to come, there is an outdated one in the project folder called ~/how to use.mp4. Feel free to use this, but note that some information may have changed and is incorrect or correct to a degree. To view, please download the video-- GitHub doesn't open .mp4 files. Link to ~/How to Use.mp4.

Use and Important Notes

At the moment, this program can only calculate functions whose Maclaurin series support the requirements for Horner's Rearrangement Rule and Double-NAND Expansion, as presented in the scholarly articles provided on the home page and in the footer. Rules:

  • Horner's Rule:
    • alternating signs
    • coefficients decrease as power increases
  • Double-NAND Expansion:
    • coefficients are positive
    • the sum of all coefficients is between 0 and 1

Example Functions:

e^(-x)
sin(x)
cos(x)
log(x+1)
tanh(x)
e^(x-1)
sec(x)-1
cosh(x)-1

  • You can use polynomials, but make sure to use the correct Python Lambda Syntax.

    • EXAMPLE:
      4/5 + x/15 + x^2/10 transforms into (4/5) + (1/15)*x + (1/10)*x**2
  • When utilizing the GUI, it is strongly recommended to use x as a variable, however, it has support as long as you indicate which variable will be used.

    • The GUI has support for single-variable functions, not multi-variable ones.
  • Point estimations should be 0 or 1 only, otherwise the results will be inaccurate or will throw an exception.

  • The degree field will indicate what power (n-1) the generated Maclaurin function will go to.

  • The traced value at the point will return what the function's actual value is at the point estimation given. Example: sin(x) around point 0 will equal 0, but cos(x) around point 1 will equal 1.

Clone this wiki locally