SELECT ACOS(0);// Output 1.5707963267948966 SELECT ACOS(1); // Output is 0 SELECT ACOS(-2); // Output is NULL
SELECT ROUND(ACOS(0),2);// Output is 1.57Syntax
SELECT ACOS( X )
The output is arc cos of X or the value for which COS() is X SELECT DEGREES(ACOS(0)); // Output is 90 SELECT DEGREES(ACOS(0)); // Output is 90 SELECT DEGREES(ACOS(-1)); // Output is 180
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.