Return the arccos of num in radians.
|Read a line from the user, print its arccos in radians, then in degrees.|
local num = math.acos(tonumber(read())) print(num) print(math.deg(num))
|Output||Depends on what the user wrote. For instance, if they were to enter
Retrieved from ‘https://wiki.computercraft.cc/index.php?title=Math.acos&oldid=3673’