Skip to content

A command line tool to expand expressions using the binomial expansion formula, written in python

Notifications You must be signed in to change notification settings

dev-xero/binomial-expansion-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binomial Expansion CLI Tool

This script expands upto n = 18 of an expression using the binomial expansion formula.

The Binomial Theorem

In essence, any valid expression of the form $(a + b)^n$ can be expanded using the formula: $\sum\limits_{k=0}^{n} \binom{n}{k} (a)^{n-k} (b)^{k}$

Usage

python main.py --exp (a + b)^k

--exp, is a flag telling the CLI the expression to expand

About

A command line tool to expand expressions using the binomial expansion formula, written in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages