https://github.com/abhrankan-chakrabarti/sum-of-squares-calculator
A Python tool for calculating the sum of squares of integers, useful for mathematical computations and analysis.
https://github.com/abhrankan-chakrabarti/sum-of-squares-calculator
math numerical-calculations python sum-of-squares
Last synced: 3 months ago
JSON representation
A Python tool for calculating the sum of squares of integers, useful for mathematical computations and analysis.
- Host: GitHub
- URL: https://github.com/abhrankan-chakrabarti/sum-of-squares-calculator
- Owner: Abhrankan-Chakrabarti
- License: mit
- Created: 2024-05-11T01:59:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-11T02:13:54.000Z (over 1 year ago)
- Last Synced: 2025-05-21T16:15:13.597Z (5 months ago)
- Topics: math, numerical-calculations, python, sum-of-squares
- Language: Python
- Homepage: https://abhrankan-chakrabarti.github.io/sum-of-squares-calculator/
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sum of Squares Calculator
This repository contains a simple Python script for calculating the sum of squares of consecutive integers. The script takes an input value `n` and computes the sum of the squares of the first `n` natural numbers.
## Usage
To use the calculator, clone the repository to your local machine and run the Python script `sum_of_squares.py` with the desired value of `n` as an argument.
```bash
git clone https://github.com/Abhrankan-Chakrabarti/sum-of-squares-calculator.git
cd sum-of-squares-calculator
python sum_of_squares.py n
```Replace `n` with the desired number of consecutive integers.
## Example
For example, to calculate the sum of squares of the first 5 natural numbers, run:
```bash
python sum_of_squares.py 5
```The script will output:
```
The sum of the squares of the first 5 natural numbers is: 55
```## Contributing
If you have ideas for improving the calculator or want to report a bug, feel free to open an issue or submit a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.