Skip to content

abdxdev/Recurrence-Relation-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recurrence Relation Solver

alt text

This is a tool for solving recurrence relations using two popular methods:

  1. Master's Theorem - For recurrence relations of the forms:

    • T(n) = aT(n-b) + f(n) (Decreasing case)
    • T(n) = aT(n/b) + f(n) (Dividing case)
  2. Akra-Bazzi Method - For more complex recurrences with multiple terms:

    • T(n) = a₁T(n/b₁) + a₂T(n/b₂) + ... + f(n)

Here is the link of the application: Recurrence Relation Solver

Installation

pip install -r requirements.txt

Usage

Run the application using the following command:

streamlit run streamlit_app.py

The web interface will open in your browser where you can:

  • Select between Master's Theorem and Akra-Bazzi Method
  • Input the parameters for your recurrence relation
  • View the generated equation
  • Solve and get asymptotic complexity results in standard notation

Dependencies

  • Python 3.13.1
  • Streamlit

About

Tool for solving mathematical recurrence relations. :p2:s1:m

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages