@ -44,6 +44,11 @@ double logarithmFunction(double x) {
// Logarithm with base 10
return log10(x);
}
double naturalLogarithmFunction(double x) {
// Natural logarithm (ln)
return log(x);
@ -9,14 +9,19 @@ int multiply(int a, int b);
int divide(int a, int b);
// Trigonometric functions
double sineFunction(double angle);
double cosineFunction(double angle);
double tangentFunction(double angle);
//..
// Logarithmic functions
double logarithmFunction(double x);
double naturalLogarithmFunction(double x);
int mode(int userChoice);
int displayMenu();