Skip to content

A graphical application that symbolically derives a given function, solves first and second degree equations, and presents the solutions. The function is transformed into postfix form, a binary tree is created, and the derivative tree is simplified.

Notifications You must be signed in to change notification settings

laurabondor/FormalDerivation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Formal Derivation - "Introduction to programming" course

Formal Derivation is a graphical application developed as part of the "Introduction to Programming" course. This program facilitates the symbolic derivation of a given function, solving first and second-degree equations, and presenting the solutions in a visually accessible manner.

Video Link

Features

  1. Symbolic Derivation:
  • The application accepts a function as input in the form of a character string.
  • The expression is transformed into postfix notation to facilitate further processing.
  1. Binary Tree Representation:
  • The program creates a binary tree associated with the given function expression.
  • This binary tree serves as the foundation for subsequent derivation operations.

arbore

  1. Derivation Process:
  • The application derives the function symbolically by operating on the binary tree.
  • The derivative tree is generated, and several simplifications are applied to enhance readability.
  1. Equation Solving:

  2. The program is equipped to solve both first and second-degree equations.

  • Solutions to the equations are presented, offering a comprehensive overview.
  1. Graphical Presentation:
  • Utilizing the WinBGIm graphics library, the application provides a graphical representation of the derived function and equation solutions.

derivata

How to Run

  1. Compile the Source Code:
  • Ensure that you have a C/C++ compiler installed.
  • Compile the source code using the appropriate compilation commands.
  1. Run the Application:
  • Before running, make sure that you have installed the "graphics.h" library
  • Execute the compiled program to launch the Formal Derivation application.

About

A graphical application that symbolically derives a given function, solves first and second degree equations, and presents the solutions. The function is transformed into postfix form, a binary tree is created, and the derivative tree is simplified.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages