About

Graphing Calculator is a tool capable of processing advanced functions and visualizing areas and certain volumes. Simply type a function and get an answer. Interchange between the 2D and 3D view of the graph, or even pull back the curtain to see the implementation of the binary tree.

The creation of this program originated from an interest in math and programming. It incorporates binary trees and tokens to create order of operations for advanced functions. It was programmed in C++ and then converted to C# to be visualized in the Unity Engine.

Instructions:

  • Type function into input box. 
  • If using a variable in the function, use the lowercase letter “x”. 
  • If computing area or volume, enter “begin” and “end” indices (Default is 1 and 5, respectively). 
  • If evaluating a single value, use the “begin” index (Default is 0).
  • If “2D” is checked, area will be computed using approximating rectangles.
  • If “3D” is checked, volume of solid of revolution will be computed using discs.
  • If “Tree” is checked, the function will be evaluated at “begin” index and output binary tree.
  • Press main “Enter” on keyboard to calculate. 
  • Press "Delete" to clear function and generated shapes.

Essentially, input works the same as on a standard graphing calculator. Integer and decimal numbers are accepted. For different inputs back to back involving letters, separate with operator or parenthesis (episin(3pi) -> e*pi*sin(3pi) or (e)pi(sin(3pi))). If numbers are involved in adjacent operations, separate them in the same way (2root43log9 -> 2root4 * 3log9).

Command List: 

  • e, pi : outputs corresponding approximate value
  • +, -, *, / : plus, minus, multiplication, division operations
  • sin(arg), cos(arg) : outputs corresponding trig operations on provided argument
  • arootb : outputs ath root of argument b
  • alogb : outputs logarithm with base a of argument b
  • a^b : outputs a raised to b power
  • neg(arg) : outputs negative of provided argument
  • ( arg ) : parenthesis group members of argument together

Instead of typing the entire input, the following have shortcuts:

  • pi -> P
  • sin -> S
  • cos -> C
  • root -> R
  • log -> L
  • neg -> N

Development log

Leave a comment

Log in with itch.io to leave a comment.