@ -126,3 +126,9 @@ float arcTangent(float x) {
float degreesToRadians(float x) {
return x * (M_PI / 180);
}
// Function to convert radians to degrees
float radiansToDegrees(float x) {
return x * (180 / M_PI);