Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 740 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 740 Bytes

Binomial_expansion-solver

Program that expands a binomial usign Pascal's triangle.

Method

The Pascal's triangle is a number pattern, represented as a triangular array, where each number is the sum of two numbers directly above it, creating rows that are numerated from zero to inifinity, top to bottom.

Each row of the Pascal's triangle represents the coeficients of an expanded binomial with degree equivalent to the row's index, in the same order.

Therefore, using a program, we can correlate each row to its respective binomial degree, expanding the binomial.