@ -22,6 +22,13 @@ int divide(int a, int b) {
return a / b;
}
// Square root function
double squareRootFunction(double x) {
// Using the sqrt function from math.h
return sqrt(x);
//..
// Trigonometric functions
double sineFunction(double angle) {
// Convert degrees to radians for trigonometric functions
@ -9,6 +9,10 @@ int multiply(int a, int b);
int divide(int a, int b);
double squareRootFunction(double x);
double sineFunction(double angle);