Giter VIP home page Giter VIP logo

calculator's Introduction

Calculator

Project for course IVS/2022

Team: oznuk_1

The calculator app is an app for solving some basic and slightly difficult mathematical problems. The app provides standard mathematical operations and more.

Environment

  • Ubuntu 64bit
  • Windows 64bit

About

Project was developed in languages: Python. The project was developed by team oznuk_1.

This calculator has root option √ -> in this file marked as ROOT

Features

  • Standard mathematical functions
  • More functions as: SIN, COS, ROOT, POWER AND FACTORIAL
  • Decimal numbers allowed
  • The calculator disposes by history of calculations
  • The calculator remembers last answer at its 'Ans' button
  • The clear button for cleaning the whole input line
  • The calculator proceeds factorial numbers, even if the number before factorial is in closed brackets.
  • The calculator is able to proceeds integer and float numbers and operations between them infinitely and catches OverflowError and ZeroDivisionError.

All the functions

These functions can be applied on numbers in this calculator

  • Addition: +
  • Substitution: -
  • Multiplication: *
  • Division: /
  • Power: x^y
  • Sinus: sin
  • Cosine: cos
  • Root:
  • Factorial: x!

Calculator restrictions

  • The calculator rounds results in operations Addition, Substitution, Multiplication, Division, Root and Power to 9 decimal places
  • COMMA is used only to divide two expressions in ROOT function

Function notations for operations

  • ADD: <expression> + <expression>
  • SUB: <expression> - <expression>
  • MUL: <expression> * <expression>
  • DIV: <expression> / <expression>
  • POW: <expression> ^ <expression>
  • SIN: SIN ( <expression> )
  • COS: COS ( <expression> )
  • ROOT: √NUM or √( <expression> , <expression> )
    • First one is Root with base 2
    • Second one is Root with base NUM2
  • FACT: <expression>!

Installation

First download the calculator_1.0_amd64.deb package. After downloading the package unpack it by typing sudo dpkg -i calculator_1.0_amd64.deb. Install potential dependencies by running sudo apt-get -f install. Software is now installed under /opt/calculator folder and a helper script calculator is installed under /usr/bin, so you are now able to run the calculator app by just typing calculator from anywhere in the system. Uninstall the app by running sudo apt-get remove calculator.

License

Licensed under GNU GPL v3
License: GPL v3

AUTHORS

Team: oznuk_1

  • Adam Dzurilla, xdzuri00
  • Adam Ližičiar, xlizic00
  • Tomáš Hak, xhakto01
  • Jakub Vilček, xvilce00

calculator's People

Contributors

spooni01 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.