CLI Swiss-Knife Math Tool for Middle to High School Students.
Written in C as well as Python.
As of v3 , MathHack Performs :
-
Regular calculation ( + - * / ^ and % (Modulo Division) , | (Root of LHS w.r.t RHS)) [CAL]
-
Factorisation - Outputs all factors of entered whole number [FACT]
-
Average - Calculates average of list of entered Integers (max 99) [AVG]
-
Checking if entered whole number is prime [PRIME]
-
Outputting all unique prime factors of entered whole numbers [PMFACT]
-
Generating multiplication tables from x * 2 to x * 19 for any whole number [TAB]
-
Calculates factorial of whole number [FCTRL]
-
Calculates roots and discriminant of quadratic equation [EQ]
-
Outputs HCF/GCD of two whole numbers [HCF]
-
Simplifies a ration/fraction [SMP]
-
Trigonometric calculator for any trig. func. and rad/deg [TCAL]
-
Generates trigonometric table for entered rad/deg value [TTAB]
With all input takes as CLI arguments , for example : ./MathHack-v3 cal 4x2
returns Result = 12.000000
in the terminal.