Skip to content

gspetillo/pythagorean-calculator-desktop

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Pythagorean Calculator Desktop

Simple Pythagorean Theorem Calculator Native Desktop Application
Explore the docs »
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgements

About The Project

Product Name Screen Shot

Development of a simple calculator desktop application for a job interview test.

The main features of this application are:

  • Calculation of the hypotenuse from the two sides;
  • Calculation of the side from the hypotenuse and the other side;
  • Button to copy the result to the device's clipboard;
  • Button to clear form fields;

Built With

The main technologies used for the development of this project are:

Related Repositories

Other repositories related to the development of this project:

Getting Started

To clone and run this project locally, follow these simple example steps:

Prerequisites

To run this project, you need to install:

Installation

  1. Clone the repo
    git clone https://github.com/gspetillo/pythagorean-calculator-desktop.git
  2. Install the dependencies
    npm install
  3. Run project
    npm start

Build Application

  1. Pull electron-packager dependency from npm
    npm install electron-packager -g
  2. Run packager and generate /release-builds directory
    electron-packager . --overwrite --platform=win32 --arch=ia32 --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName="Pythagorean Calculator"
  3. Run application by executing pythagorean-calculator.exe file on project directory
    start ./release-builds/pythagorean-calculator-win32-ia32/pythagorean-calculator.exe

Usage

This website can be used to perform simple calculations involving the Pythagorean theorem. The main formulas of this theorem used in this project are:



c = √(a² + b²)

a = √(c² - b²) or b = √(c² - a²)

For examples, please acess Khan Academy.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project (Fork button on Github)
start https://github.com/gspetillo/pythagorean-calculator-desktop
  1. Create your Feature Branch
git checkout -b feature/AmazingFeature
  1. Commit your Changes
git commit -m 'Add some AmazingFeature'
  1. Push to the Branch
git push origin feature/AmazingFeature
  1. Open a Pull Request (Pull Request page on Github)
start https://github.com/gspetillo/pythagorean-calculator-desktop/pulls

License

Distributed under the CC0-1.0 License. See LICENSE for more information.

Contact

Gabriel Petillo - Linkedin - Github - Medium - Email

Project Link: https://github.com/gspetillo/pythagorean-calculator-desktop

Acknowledgements

About

Aplicação Desktop de Calculadora do Teorema de Pitágoras

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published