Architected a modular C++ application using object-oriented design with inheritance hierarchies. The system uses a custom infix-to-postfix conversion algorithm (similar to Shunting Yard) that converts mathematical expressions (like 'x^2-cos(x)+3*sin(x)') into postfix notation for efficient stack-based evaluation. The core architecture centers around a CommonFunctions base class that handles expression preprocessing (converting function names to single-character tokens), infix-to-postfix conversion with operator precedence rules for arithmetic, trigonometric, logarithmic, and power operations, postfix evaluation using stack-based algorithms that handle multi-digit numbers, variables (x, y), and 13 mathematical functions, and multi-digit number handling with special encoding using global vectors to store numbers >9 and negative values. The inheritance hierarchy includes CommonFunctions (base class for parsing and evaluation), Differentiation (symbolic differentiation engine), BisectionMethod (root finding via bisection with 1e-7 tolerance), jacobianMethod (systems of equations solver using 2x2 matrix inversion), newtonthodMethod (Newton-Raphson with max 20 iterations), NumericalIntegration (Trapezoidal and Simpson's Rule with error estimation using higher-order derivatives, default n=50), NumericalDifferentiation (numerical differentiation formulas), and standalone classes for leastSquavesCurveFitting (linear regression solving for coefficients a and b, parabolic fitting displaying table with x, x², x³, x⁴ terms without coefficient solving, exponential fitting using logarithmic transformation, power law fitting using log-log transformation), Lagrange (up to 1,000 data points with formatted table display), and divDifference (up to 100 data points with difference table output). The symbolic differentiation engine implements calculus rules (product, quotient, chain rule) and handles composite functions (e.g., cos(cos(x)) → -sin(cos(x)) * -sin(x)), power functions with variable bases and exponents, trigonometric and inverse trigonometric functions (sin, cos, tan, sec, csc, cot, arcsin, arccos, arctan), and logarithmic functions with arbitrary bases (ln, log). Designed a hierarchical CLI menu system with input validation, optional step-by-step solution display, and formatted ASCII table output for iterative methods with configurable precision (4, 6, 9, or 10 decimal places depending on the method).