Code Monkey home page Code Monkey logo

mohesmail143 / root-finder Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 323 KB

A Python application that implements a root finder program which takes as an input the equation, the numerical technique to use and its required parameters.

License: MIT License

Python 74.54% Jupyter Notebook 25.46%
bisection bisection-method false-position fixed-point newton-raphson numerical-analysis numerical-methods python secant-method sympy sympy-expressions tkinter tkinter-gui

root-finder's Introduction

Root Finder

A Python-based root finder application, made with the GUI framework Tkinter, that allows a user to input an algebraic expression (or load via a .txt file) and evaluate its roots using any one of 5 numerical methods (Bisection, False-Position, Fixed Point, Newton-Raphson and Secant), along with their respective parameters, to solve the expression.

This project was developed as part of the course Numerical Analysis in the Spring 2022 semester at the Faculty of Engineering, Alexandria University, under the Computer and Communications Engineering department, supervised by Dr. Zeinab Eid.

Features

The program contains the following features:

  • An interactive GUI that enables the user to enter equations containing different functions such as: {poly, exp, cos, sin}. Reading from files is available as well.
  • A dropdown menu to choose a method to solve the given equation.
  • Textboxes to enter the precision and the max number of iterations otherwise default values are used: Default Max Iterations = 50, Default Epsilon = 0.00001;
  • The answer for the chosen method indicates the number of iterations, execution time, all iterations, approximate root, and precision.
  • Compute the theoretical bound of the error for the methods.

Prerequisites

This project was developed in the following environment:

  • PyCharm Community 2023.3.4
  • Miniconda
  • Python 3.11.5
  • SymPy 1.12

Installing

1- Clone the repository to your local machine:

git clone https://github.com/MohEsmail143/root-finder.git

2- Open PyCharm Community.

3- Click on Run 'main' button for the file main.py. The following window should appear:

Opening Screen of Root Finder

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

root-finder's People

Contributors

mohesmail143 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.