discrete-math-helper

Simple calculator for solving problems realted to discrete mathmatics, such as combinations, probabilities, truth-tables, and more.


License
MIT
Install
pip install discrete-math-helper==1.1.3

Documentation

1. Introduction

Simple calculator for solving problems related to discrete mathmatics, such as combinations, probabilities, truth-tables, and more.

2. How to Install

  • pip install discrete-math-helper
  • pip install --upgrade discrete-math-helper

3. How to Run

  • from discrete_math_helper import calc
  • calc = calc.Calculator()
  • #Combination Example: calc.combination(6, 2)
  • #Truth Table Example: calc.truthtable("p and q")

4. Available Arguments

  • Combinations: calc.combination(n,r)
  • Permutations: calc.permutation(n,r)
  • Truth Table: calc.truthtable("statement containing variables: p, q")
  • Bayes' Probability: calc.bayes(P(T|A), P(A), P(T))
  • Big O Calculator: calc.bigo(a,b,d)

5. Creater Contact Information

6. Contributors