Skip to content

A Python program that estimates the square root of a number using three numerical methods: Bisection, Simple Iteration, and Newton's Method. It demonstrates iterative algorithms and compares the number of iterations required for each method.

License

Notifications You must be signed in to change notification settings

Svaveop/SquareRootSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SquareRootSolver

A short and concise Python program that estimates the square root of a number using three numerical methods:

  • Bisection Method
  • Simple Iteration
  • Newton's Method

This program demonstrates iterative algorithms and shows the number of iterations required for each method. Despite its brevity, it is fully functional and easy to understand, making it ideal for educational purposes or quick experimentation.

Features

  • Finds square roots of numbers numerically.
  • Compares multiple root-finding methods.
  • Minimal and readable code.
  • Highly customizable (change the target number, precision, or maximum iterations).

Bisection method, simple iteration, and Newton's method applied to x^2 - 17

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it freely.

About

A Python program that estimates the square root of a number using three numerical methods: Bisection, Simple Iteration, and Newton's Method. It demonstrates iterative algorithms and compares the number of iterations required for each method.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages