Skip to content

Anto4K/Polynomial-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Polynomial Calculator in Java

This project is a Polynomial Calculator implemented in Java, featuring an interactive GUI built with Java Swing. The application enables users to perform various algebraic operations on polynomials such as addition, subtraction, multiplication, division, derivation, and integration.

This project was developed during the Object-Oriented Programming (POO) course. The graphical interface (GUI) was created as the final project for the course exam.

✨ Features

  • Polynomial parsing and display
  • Support for:
    • Addition
    • Subtraction
    • Multiplication
    • Division (with quotient and remainder)
    • Derivation
    • Indefinite Integration
  • Interactive GUI with Java Swing components
  • Modular and extensible architecture
  • Input validation and error handling

πŸ› οΈ Technologies

  • Java
  • Java Swing

πŸ“ Project Structure

polinomi/
β”œβ”€β”€ InputPolinomio.java       # Handles polynomial input parsing
β”œβ”€β”€ Monomio.java              # Defines monomial structure
β”œβ”€β”€ Polinomio.java            # Interface or base class for polynomials
β”œβ”€β”€ PolinomioAL.java          # ArrayList implementation of polynomial
β”œβ”€β”€ PolinomioAstratto.java    # Abstract class for shared behavior
β”œβ”€β”€ PolinomioGUI.java         # Main GUI class using Swing
β”œβ”€β”€ PolinomioLC.java          # Linked list implementation
β”œβ”€β”€ PolinomioLL.java          # Another linked list-based polynomial
β”œβ”€β”€ PolinomioMap.java         # Map-based polynomial implementation
β”œβ”€β”€ PolinomioSet.java         # Set-based polynomial implementation

πŸš€ How to Run

  1. Clone the repository:

    git clone https://github.com/yourusername/polynomial-calculator.git
    cd polynomial-calculator
  2. Compile the Java files:

    javac polinomi/*.java
  3. Run the application:

    java polinomi.PolinomioGUI

Make sure Java is installed and configured in your environment (preferably Java 17 or newer).

πŸ“š Educational Context

This project was developed as part of the Object-Oriented Programming (POO) course. The GUI and polynomial engine demonstrate the application of principles such as inheritance, abstraction, and modularity, culminating in this graphical calculator as the final assessment.

πŸ“„ License

This project is distributed under the MIT License. You are free to use, modify, and distribute it for educational or personal use.


Developed with ❀️ using Java and Swing.

About

A Java-based Polynomial Calculator with a user-friendly Swing GUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages