Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discrete_math_helper-1.1.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

discrete_math_helper-1.1.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page