Skip to content

Polynomials Calculator and Graph Drawing

Haim Adrian edited this page Jan 25, 2020 · 7 revisions

Welcome to the OOP-CPP-Polynomials wiki!

This page created in order to explain how to use the application.

Main Window

Application seems like a regular calculator, where you have a list of polynomials at the left margin, and a console displaying actions/results at the bottom.

Main Window

Commands

Application supports up to 1500 edit commands for undo / redo.

Shortcuts

  • Ctrl+S: Save As
  • Ctrl+O: Open a saved file
  • Ctrl+Z: Undo last edit command
  • Ctrl+Y: Redo last undone command
  • Ctrl+I: Insert polynomial from input text to the list of polynomials
  • Ctrl+E: Evaluate value of selected polynomial from list of polynomials, based on X value requested by a dialog
  • Ctrl+G: Open the Graph dialog, where we draw a graph representing the selected polynomial
  • Ctrl+C: Copy text from input edit / console to the clipboard
  • Ctrl+V: Paste text from clipboard to the input edit

Graph Images

x^2 x^3 X^-3

Arithmetic Actions

You can choose to perform arithmetic actions using the Edit toolbar. This will pop-up a window asking to input the row number of two polynomials that involve in the arithmetic actions, from the polynomials list.

You can also perform regular calculations using the input edit. e.g.: 2*3 or 2+2+2+x Please note that parentheses are not supported, so if you enter x^2+x^3*2, the result will be 2x^2+2x^3

Long division is not supported. That means you cannot divide a polynomial by another, unless it has one x only. e.g. x^5/x^3 is supported, but x^5 / x+1 is not supported.

Clone this wiki locally