Skip to content

linnkhant07/graphing_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphing Calculator

Introduction

The Graphing Calculator allows users to input mathematical expressions and generate corresponding graphs. With essential features like zooming, scrolling, and a history bar, it provides a smooth experience for exploring mathematical concepts. Additionally, the application stores previous functions in a text file for easy access and recall across sessions.

Features

  • Graph Visualization: Input mathematical functions and visualize their graphs.
  • Zoom and Scroll: Zoom in/out and scroll around the graph for detailed analysis.
  • History Bar: Easily access and select previous functions from the history bar.
  • Function Persistence: Store functions in a text file for easy retrieval across sessions.

Technologies Used

Our graphing calculator leverages a variety of technologies to provide its functionality:

  • RPN (Reverse Polish Notation): Used for parsing mathematical expressions efficiently.
  • Shunting Yard Algorithm: Converts infix expressions to postfix notation, facilitating evaluation.
  • SFML (Simple and Fast Multimedia Library): Provides the graphical user interface for drawing graphs.
  • Arrays, Linked Lists, Stack, Queue: Data structures used for managing history and processing expressions.
  • Tokenizer: Splits input expressions into tokens for parsing and evaluation.

Installation

To run the Graphing Calculator locally, follow these steps:

  1. Clone the GitHub repository.
  2. Navigate to the project directory:
  3. Compile the application using your preferred C++ compiler.
  4. Configure CMake and run main.cpp.

Usage

To use the Graphing Calculator, follow these steps:

  1. Enter a mathematical function in the input field.
  2. Press the "Plot" button to visualize the graph of the function.
  3. Use zoom and scroll features to navigate around the graph.
  4. Access previous functions from the history bar and select them for plotting.

Contributing

Contributions to the Graphing Calculator are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Make your changes and ensure tests pass.
  4. Open a pull request detailing your changes.

License

This project is licensed under the MIT License.

About

The Graphing Calculator allows users to input mathematical expressions and generate corresponding graphs. With essential features like zooming, scrolling, and a history bar, it provides a smooth experience for exploring mathematical concepts. Additionally, the application stores previous functions in a text file for easy access.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors